Question

3
Replies
680
Views
StefanB9953 Member since 2016 1 post
GE
Posted: 3 years ago
Last activity: 3 years 3 months ago
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");
Low-Code App Development Testing Applications
Moderation Team has archived post
Share this page LinkedIn