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

The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

View previous topic View next topic Go down

The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Post by mgharikrishnan on Mon Jun 20, 2011 11:20 pm

Dear All,

I am facing a very peculiar issue in my Selenium automation script. I am writing Selenium RC scripts with Java and run it using TestNG framework in Eclipse IDE. The script goes like this. Once a radio button is clicked, a dropdown menu should display. Once we select a value in the dropdown, a button should display. The code is diven below,

selenium.click("editFI"); //editFI is the radio button
selenium.select("fiListing", "label=2344"); //selecting the option "2344" from the dropdown "fiListing"
selenium.click("fiSelecting"); //clicking the submit button which will display after selecting the option

This code works fine in Firefox 3, Firefox 4, Google chrome, Mac Safari browsers. But it is not working in IE7, IE8 & IE9 browsers. The problem I face in IE browsers is given below.

In IE7 & IE8 browsers, after the radio button is clicked, the dropdown is not displaying.
In IE 9 browser, the dropdown is displaying after clicking the radio button. But the button is not displaying after selecting any value in the dropdown.

Its not working, even if I give some sleep time between the commands. When I do this manually, the functionality works fine in all IE browsers. Please help me in finding a solution for this IE specific problem.

Thanks in advance!!!

~ Harri...

mgharikrishnan
Active particpant
Active particpant

Posts : 10
Join date : 2011-06-20

Back to top Go down

Re: The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Post by Ashelywen on Tue Jun 21, 2011 11:20 am

My program can run in IE8.
The code was recorded like:

selenium.select("form:edit_serverType", "label=2344");
selenium.click("//option[@value='0']"); ////selecting the option "2344" and "2344" is first list.

Ashelywen
Active particpant
Active particpant

Posts : 12
Join date : 2011-05-05

Back to top Go down

Re: The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Post by mgharikrishnan on Thu Jul 07, 2011 4:15 pm

Hi Ashelywen,

Thanks for your comment. But this is not working for me. The problem is that, I am able to click the radio button ("editFI"), but as soon as the radio button is clicked, dropdown list ("fiListing") should display. But it is not displaying in IE browsers.

~ Harri...

mgharikrishnan
Active particpant
Active particpant

Posts : 10
Join date : 2011-06-20

Back to top Go down

Re: The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Post by Sponsored content Today at 3:24 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