Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
rajina
Posts : 1
Join date : 2011-02-17

Selenium test for Gmail compose mail Empty Selenium test for Gmail compose mail

Tue Mar 01, 2011 5:11 pm
Hello,

Can anyone help me execute test for gmail compose mail. I tried many xpaths but no luck.

Thanks
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

Selenium test for Gmail compose mail Empty Re: Selenium test for Gmail compose mail

Tue Mar 01, 2011 8:53 pm
Hi,

In Gmail they used lots of ajax control and frames in which element is embedded. so you have to find which element is present in which frame.

After that set focus on that frame and then click on that element.This will give you lots of challenges.

use the selectFrame commands and see will they work or not, probably you have to use fireEvent also if select frame will not work.

try both of the options and let's see. Best of luck.

Bye
avatar
mckiranlieutenant007@gmai
Posts : 4
Join date : 2013-04-22

Selenium test for Gmail compose mail Empty Re: Selenium test for Gmail compose mail

Wed May 08, 2013 2:34 pm
This is the simple selenese code:

Code:
open | /mail/u/0/?shva=1#inbox?compose=new |
click | class=aoD hl |
type | //table/tbody/tr[1]/td[2]/div/div/textarea | McKiran@example.com
type | name=subjectbox | Test
type | class=editable LW-avf |Hi All<br/>Hope the test is successful. <br/><br/><i> Lovingly, </i></br><b>McKiran.</b>
click | class=T-I J-J5-Ji aoO T-I-atl L3 |
Detailed post can be found at http://www.seleniumhq.in/2013/04/automatically-login-to-gmail-and-send.html
Sponsored content

Selenium test for Gmail compose mail Empty Re: Selenium test for Gmail compose mail

Back to top
Permissions in this forum:
You cannot reply to topics in this forum