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

Xpath for buttons not working in IE but working perfectly in firefox

View previous topic View next topic Go down

Xpath for buttons not working in IE but working perfectly in firefox

Post by abhinavgarg17 on Fri Mar 25, 2011 10:56 am

I am clicking a button using selenium in firefox and it is working
prefectly fine but in Internet Explorer it is not working properly.
xpath for button is //div[2]/span/button[1]
complete xpath is /html/body/div[3]/div/div[2]/span/button
css is html.dj_gecko body.yui-skin-sam div#dialog1_c.yui-panel-
container div#dialog1.yui-module div.ft span.button-group button

I had used all these combinations but it is not working in IE
Selenium rc was not able to find button using css but it is giving no
error in xpath. Selenium finds a element corresponding to the xpath
but still button is not clicked in IE.
I don't know what to do as it is working fine in firefox

I am using selenium GRID

abhinavgarg17

Posts : 2
Join date : 2011-03-25

Back to top Go down

Re: Xpath for buttons not working in IE but working perfectly in firefox

Post by auto_ashish1 on Tue Apr 05, 2011 11:44 pm

You can try installing 'xpather' addon in mozilla.
It can give you a more correct and accurate xpath.


Regards
Ashish


For online Selenium training go to my website- www.sejsoft.com

auto_ashish1
Active particpant
Active particpant

Posts : 21
Join date : 2011-03-10

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