Forum Discussion
TanyaYatskovska
SmartBear Alumni (Retired)
Hi Bhagya,
As far as I understand, you need to identify the email by its subject on the list of all emails and click it, right? You can call the Find method for this. Here is an example:
//JScript
var page = Sys.Browser("chrome").Page("https://mail.google.com/mail/u/0/#inbox");
var email = page.Find("contentText", "<SUBJECT>", 100);
if (email.Exists)
email.Click();
As far as I understand, you need to identify the email by its subject on the list of all emails and click it, right? You can call the Find method for this. Here is an example:
//JScript
var page = Sys.Browser("chrome").Page("https://mail.google.com/mail/u/0/#inbox");
var email = page.Find("contentText", "<SUBJECT>", 100);
if (email.Exists)
email.Click();
hhagay
8 years agoContributor
This does not work with Chrom and / or Firefox.
Thank you
Related Content
- 2 years agojuliemorris
- 3 years agojoaosaidel