Sunday 25 June 2017

Advanced Xpath:

Advanced Xpath Notes:
click on this link to download basic notes on advanced xpath.
 
Task Url: http://testingmasters.weebly.com/webtables.html


Tasks:

Write the selenium code for the below tasks using the advanced xpath concepts and url above.
1)      Print the employee ID's of the candiates whose designation is Analyst.
2)      Print the Mail Id's of the candidates who have applied for less than or equal to 5 days.
3)      Click on the checkboxes of the records whose Designation is Manager.
4)      Click on the checkboxes of the records whose applied days are more than 8 days.
5)      Reject the leaves applied by Analyst.
6)      Print the employee Id's of the approved candidates.
7)      Click on the checkboxes of the records whose username is Vinod and Designation is analyst.
8)      Click on checkboxes of first five records.
9)      Clik on checkboxes of last 4 records.
10)  Click on checkboxes whose email id starts with 'demo'.

No comments:

Post a Comment