Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium test for Gmail compose mail

View previous topic View next topic Go down

Selenium test for Gmail compose mail

Post by rajina on 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

rajina

Posts : 1
Join date : 2011-02-17

Back to top Go down

Re: Selenium test for Gmail compose mail

Post by Adviser on 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: Selenium test for Gmail compose mail

Post by mckiranlieutenant007@gmai on 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

mckiranlieutenant007@gmai

Posts : 4
Join date : 2013-04-22

Back to top Go down

Re: Selenium test for Gmail compose mail

Post by Sponsored content Today at 6:33 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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