Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to get Element id or Xpath in selenium rc

View previous topic View next topic Go down

How to get Element id or Xpath in selenium rc

Post by MohamedAzharudeen on Wed Nov 02, 2011 5:10 pm

Hi All,

Am new to selenium rc, i need to know how to get xpath or css selectors for an Element, i tried using xpather and i passed xpath value for username textfield in gmail site as id('Email'),

Element not found Error is displayed, anyone help me to find the xpath for Element id...


Regards,
Azhar

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

Re: How to get Element id or Xpath in selenium rc

Post by faramka on Wed Nov 02, 2011 5:39 pm

If you want to determine XPath of an element, you can use Firebug to Firefox.
For username textfield in Gmail I get:
Code:
//*[@id="Email"]
You can also write:
Code:
//input[@id="Email"]

faramka
Professional
Professional

Posts : 143
Join date : 2011-09-15
Location : Poland

Back to top Go down

Re: How to get Element id or Xpath in selenium rc

Post by MohamedAzharudeen on Wed Nov 02, 2011 7:05 pm

Thanks for your Reply faramka...

it's helps me to find the xpath of an Element...

MohamedAzharudeen
Active particpant
Active particpant

Posts : 16
Join date : 2011-10-19

Back to top Go down

Re: How to get Element id or Xpath in selenium rc

Post by include85 on Sun Nov 06, 2011 12:32 am

In firefox there is firepath another plugin very good for to take xpath element. Wink

include85
Regular Participant
Regular Participant

Posts : 27
Join date : 2011-09-22
Age : 31
Location : Italia, Sicily

Back to top Go down

Re: How to get Element id or Xpath in selenium rc

Post by JoffreMota on Tue Nov 08, 2011 7:10 pm

Another good firefox add-on is 'XPath Checker'.

JoffreMota

Posts : 3
Join date : 2011-11-01

Back to top Go down

Re: How to get Element id or Xpath in selenium rc

Post by lalkota on Tue Dec 06, 2011 5:29 pm

Hello,

Visit this link

http://online-selenium-trainings.webs.com
http://seleniumtraining.in
http://seleniumtraining.blogspot.com/

lalkota
Active particpant
Active particpant

Posts : 21
Join date : 2011-06-02

Back to top Go down

Re: How to get Element id or Xpath in selenium rc

Post by Sponsored content Today at 11:56 am


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