how to Handle dropdown?
Answers were Sorted based on User's Feedback
Answer / pratik mehta
Drop downs can be handled using Select class.
It depends however on the requirement and can be classified into three units:-
1. By value.
2. By VisibleText.
3. By Index
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shardul negi
Drop downs can be handled using Select class.
It depends however on the requirement and can be classified into three units
1: By Value
2: by Visible Text and
3: by serial number
Is This Answer Correct ? | 1 Yes | 1 No |
How do you identify an object using selenium?
List out different types of locators?
How to pause a test execution for 5 seconds at a specific point?
How can we find the value of different attributes like name, class, value of an element?
Explain what are the junits annotation linked with selenium?
Tell me could cookies be deleted in selenium?
Explain the difference between assert and verify commands?
Is webelement an interface or a class?
What are the different types of locators in Selenium?
How does one capture a page title in selenium 2.0?
Explain me how to handle alerts in selenium webdriver?
what are the four parameters that have to be passed to selenium?