Share
Go down
mgharikrishnan
Active particpant
Active particpant
Posts : 10
Join date : 2011-06-20

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

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...
Ashelywen
Active particpant
Active particpant
Posts : 12
Join date : 2011-05-05

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

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.
mgharikrishnan
Active particpant
Active particpant
Posts : 10
Join date : 2011-06-20

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

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...
Sponsored content

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

Back to top
Permissions in this forum:
You cannot reply to topics in this forum