- abhinavgarg17
- Posts : 2
Join date : 2011-03-25
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
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
- auto_ashish1Active particpant
- Posts : 21
Join date : 2011-03-10
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
It can give you a more correct and accurate xpath.
Regards
Ashish
For online Selenium training go to my website- www.sejsoft.com
- my Script working fine in Firefox but not working in IE7 through Selenium RC
- In Firefox 3.6 selenium.click("Login")/All buttons are not triggering
- When Xpath not working...
- xpath obtained thro Mozilla not working
- Selenium Script which contain waitForPopUp command working in firefox not in Internet Explorer.
Permissions in this forum:
You cannot reply to topics in this forum
|
|