Share
Go down
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

webdriver command to select lightbox

on Tue May 08, 2012 1:05 pm
hi any body can tell me the command for following action in webdriver

click on a button would open a lighbox and select an option from the lightbox i could not able to do , plzlet me know any command to get the options
ashish_techie
Amateur
Amateur
Posts : 73
Join date : 2011-08-09

Re: webdriver command to select lightbox

on Mon May 14, 2012 11:18 pm
There is no command for lightbox. Its part of same page unless its not in a frame.

Regards
Ashish
For selenium videos visit:
http://qtpselenium.com/selenium-tutorial

anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

Re: webdriver command to select lightbox

on Tue May 15, 2012 2:41 pm
i assume we are using frame
ashish_techie
Amateur
Amateur
Posts : 73
Join date : 2011-08-09

Re: webdriver command to select lightbox

on Sat May 19, 2012 9:56 am
Generally implementation of a lightbox is done using a frame.
You will have to switch frame using command driver.switchto().frame(ID o NAME of frame)

After that you will be able to use it

Regards
Ashish
For selenium training visit:
http://qtpselenium.com/selenium-training

anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

Re: webdriver command to select lightbox

on Sat May 19, 2012 1:01 pm
i used .... after that i need to select an option button with its id .. please advice
ashish_techie
Amateur
Amateur
Posts : 73
Join date : 2011-08-09

Re: webdriver command to select lightbox

on Sat May 19, 2012 1:08 pm
Can you paste the src code of the button here?

Regards
Ashish
For selenium training visit:
http://qtpselenium.com/selenium-training
anbarasi
Amateur
Amateur
Posts : 49
Join date : 2012-04-30
Age : 30
Location : chennai

Re: webdriver command to select lightbox

on Sat May 19, 2012 2:04 pm
input id="70973" class="SELECTME" type="radio" value="70973"
Sponsored content

Re: webdriver command to select lightbox

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