How to select a value from a WebElement’s dropdown list.
Question ID: 108389
0
0

I am using object.innerText method, it is selecting the value from dropdown list but it is not unable as the next field still grey out.

Browser("Example").Page("Example").WebElement("Select category").Object.innerText = "XYZ"

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on May 9, 2018 6:52 pm
94 views
Answers (1)
0
Private answer

Do you need to navigate to the next field to commit the value? I've done the following before to make a field become enabled. After selecting the value, try following up with a key input, such as a keyboard Tab to the next object:

Browser(''Example'').Page(''Example'').WebElement(''Select category'').Type micTab

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on October 29, 2018 1:54 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top