Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
manudua
Posts : 1
Join date : 2012-03-16

How to chose dropdown values in Selenium IDE? Empty How to chose dropdown values in Selenium IDE?

Fri Mar 16, 2012 7:19 pm
Hi,


I have to slect values in dropdown using datadriven.
for e.g
$var1="Abc"

Select name=$var1

I have used this code and while running encounetring error label with $var1 is not found.

Can anyone help.
avatar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

How to chose dropdown values in Selenium IDE? Empty Re: How to chose dropdown values in Selenium IDE?

Mon Mar 26, 2012 6:19 pm
maybe the path of your dropdown value is not right. i haven't used data driver, but when i locate the drop down value, i used xpath
rohit13
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 38
Location : INDIA
http://radical-qa.blogspot.in/

How to chose dropdown values in Selenium IDE? Empty Re: How to chose dropdown values in Selenium IDE?

Thu Mar 29, 2012 1:24 pm
Try to go with below code

//select[@id='x']/option[${var}]
Sponsored content

How to chose dropdown values in Selenium IDE? Empty Re: How to chose dropdown values in Selenium IDE?

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