Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Help With Radio Button Select

View previous topic View next topic Go down

Help With Radio Button Select

Post by sel_user42 on Thu May 30, 2013 8:00 am

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
Element cannot be scrolled into view:[object HTMLInputElement] error.

I'm running the test on MAC OS and using firefox driver. Can anyone help please...

sel_user42

Posts : 1
Join date : 2013-05-30

Back to top Go down

Re: Help With Radio Button Select

Post by Shyama on Tue Sep 24, 2013 11:08 pm

Try to select using Id

Shyama

Posts : 2
Join date : 2013-09-24

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