Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Yesterday at 1:06 pm by azharuddin

» 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

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