Tuesday, 20 October 2015

#20. How to check mark a particular text box corresponding to a given mail on GMail Inbox?

#20. How to check mark a particular text box corresponding to a given mail on GMail Inbox?

Ans.
Create 2 description objects.
Using first object, collect all the check boxes.
Using second object, collect all the mails. See, if all the mails are being collected as links, if not, then they can be collected as webelements (each of the webelements will correspond to a particular class).

Find the index of the webelement which corresponds to the given mail.
Click on that index of the check box.

This will check mark the required check box.

Q. Count number of google search results

Ans.
Create description object
Define its micClass as Link and define its class and height to make it unique.
Thru this, we can count objects, that is the number of google search results

No comments:

Post a Comment