Automating Gmail

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Automating Gmail

Pratibha Chaurasia
Hi, I am trying to automate the gmail test case for sending mail and not able to automate compose button.

Please help.

Thanks

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c9ebd4b7-d9fe-4225-8b4f-1ffe0f2d8113%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Automating Gmail

Shawn McCarthy-2
Do you work for Google? If not, then you probably don't need to automate gmail. You can use the mail libraries for your language to read and send emails.

On Saturday, January 20, 2018 at 6:23:05 AM UTC-7, Pratibha Chaurasia wrote:
Hi, I am trying to automate the gmail test case for sending mail and not able to automate compose button.

Please help.

Thanks

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/19fbd5e3-158d-49fb-8a92-13d2fb798c43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Automating Gmail

riponalwasim
You can use the following java code to click COMPOSE:

driver.findElement(By.xpath("//div[@id=':hl']/div/div")).click();

OR,

driver.findElement(By.xpath("//div[@class='T-I J-J5-Ji T-I-KE L3 T-I-JW T-I-JO']"));

On Sat, Jan 20, 2018 at 10:26 PM, Shawn McCarthy <[hidden email]> wrote:
Do you work for Google? If not, then you probably don't need to automate gmail. You can use the mail libraries for your language to read and send emails.

On Saturday, January 20, 2018 at 6:23:05 AM UTC-7, Pratibha Chaurasia wrote:
Hi, I am trying to automate the gmail test case for sending mail and not able to automate compose button.

Please help.

Thanks

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/19fbd5e3-158d-49fb-8a92-13d2fb798c43%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADrmqWU%3DLnLtWO1os7mKSNKRa%2B4%2BxdH3brumh3o%3DqYT_W18eEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Automating Gmail

riponalwasim
driver.findElement(By.xpath("//div[@class='T-I J-J5-Ji T-I-KE L3 T-I-JW T-I-JO']")).click();

On Mon, Jan 22, 2018 at 12:02 PM, Ripon Al Wasim <[hidden email]> wrote:
You can use the following java code to click COMPOSE:

driver.findElement(By.xpath("//div[@id=':hl']/div/div")).click();

OR,

driver.findElement(By.xpath("//div[@class='T-I J-J5-Ji T-I-KE L3 T-I-JW T-I-JO']"));

On Sat, Jan 20, 2018 at 10:26 PM, Shawn McCarthy <[hidden email]> wrote:
Do you work for Google? If not, then you probably don't need to automate gmail. You can use the mail libraries for your language to read and send emails.

On Saturday, January 20, 2018 at 6:23:05 AM UTC-7, Pratibha Chaurasia wrote:
Hi, I am trying to automate the gmail test case for sending mail and not able to automate compose button.

Please help.

Thanks

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/19fbd5e3-158d-49fb-8a92-13d2fb798c43%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CADrmqWUEX5_HqiQ9n6XxNBhCpsRQh%2BDdgEUtuZR5zAgPU8sVaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.