- rajina
- Posts : 1
Join date : 2011-02-17
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
Can anyone help me execute test for gmail compose mail. I tried many xpaths but no luck.
Thanks
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
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
- mckiranlieutenant007@gmai
- Posts : 4
Join date : 2013-04-22
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 |
- How to locate message in inbox of Gmail in Selenium RC
- selenium test workflows, what about my way to develop and perform test?
- How to open a mail from the yahoo mail inbox using selenium IDE
- How do I open a particular email from Gmail using Selenium IDE?
- What is the use of Selenium Core and Selenium Test Manager ? (N-Unit Procedures in VS 2010)
Permissions in this forum:
You cannot reply to topics in this forum