Question
3
Replies
847
Views
GE
Posted: April 10, 2017
Last activity: June 13, 2017
Closed
Unable to select dropdown WebElement with Selenium
Hi all,
I'm currently facing an issue when attempting to select a value from a dropdown in our Pega application using Selenium. It appears to select the correct value, but then immediately reverts to the default and therefore the pop up which is supposed to appear does not.
Has anyone faced this issue before? I'm using the following code to select:
Select updateDropdown = new Select(driver.findElement(By.id("DropdownID")));
updateDropdown.selectByValue("Update");
Hi,
Can you try selecting the values in dropdown with inbuilt mouse events/methods of selenium instead.