Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
abhinavgarg17
Posts : 2
Join date : 2011-03-25

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

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
avatar
auto_ashish1
Active particpant
Active particpant
Posts : 21
Join date : 2011-03-10

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

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
Back to top
Permissions in this forum:
You cannot reply to topics in this forum