How to select a value from a list box by using Selenium
web-driver?
Answer Posted / elite
We need to get all options using String[] options = Selenium.getSelectOptions
and use selenium.select(options[2]) which will select second option
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Mention the environments where vbscript could be run?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
What is the difference between VBScript and JavaScript?
How can constants be declared in the vbscript language?
Explain about constants in vb script?
Illustrate briefly about the different types of statement
Mention what is the difference between vbscript and vba?
How should i Create Email invite with server-side Coding?
Which operator can be used to change the value of the operand or change the state of the condition?
filter the array values without using filter function?
How will you compare two strings in vbscript?
What is the output of a + b in vbscript if a = 5 and b = 10?
Description.Create
Explain the support of asp for vb script functionality?
Mention what is byref and byval parameters in vbscript?