problem in selecting radio button in selenium RC

jitin singh at 09h25
30
Mar
2012
problem in selecting radio button in selenium RC

Hi, I am new bee to Selenium RC. In my current app i am using below code to slelect a radio button:

selenium.click("//table[@id='tblEventType']/tbody/tr/td");

during run time selenium RC/NUnit executed the command but in application radio button is not getting select.
I have also used:

selenium.Click("css=td.textcenter > input[type="radio"]");

but both are not working...Please replied if anyone has the solution.
About
This topic belongs to the forum
  • Numbers of topics : 2330
  • Numbers of messages : 6044
  • Numbers of users : 5007
  • Numbers of points : 243
Similar topics
Hi, There are some radio buttons on a form. The HTML code for it is below. I am writing the selenium in C# Visual Studio. I want to click this button, to do this i need to use xpath so it can click the right button. I would need xpath to find the
Hi all, Currently I am learing about selenium IDE. I have problem with a testcase please help me! In my screen has list of checkboxes. User can select more than one checkbox. I record all steps of this testcase but when playback it I want to select
Hi,. We have started usng Selenium but running into problems selecting a new window and closing it. It simple does not recongnize it at all,. I have tried various opton like getallwindows name/id etc but it still seems to pick up the main windiow. I
Hello Folks, In a webpage there are 2 radio buttons. Using Selenium 2 webdriver for Java I'm trying to select one of the radio buttons. But when I use the following code: webDriver.findElement(By.cssSelector("input[value=UPS]")).click() gives me
Hi, i want to unclick checkbox if it is selected using if method in selenium
Forums from same category