Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


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


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



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


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.


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

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:

open | /mail/u/0/?shva=1#inbox?compose=new |
click | class=aoD hl |
type | //table/tbody/tr[1]/td[2]/div/div/textarea |
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


Posts : 4
Join date : 2013-04-22

Back to top Go down

Re: Selenium test for Gmail compose mail

Post by Sponsored content

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