I am having an issue selecting a value from dropdown. The application is built using Angular 6. and dropdown tag is ng-select instead of select. So when I am trying to select a value from dropdown using selectOptionByLabel (), I am getting the below error.
(Root cause: org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been “select” but was “ng-select”
Kindly help how to select a dropdown value if tag is ng-select
hello, try recording by right-clicking on the corresponding options during the registration phase.
Then click right cilick to update.
If it doesn’t, find the object in the object repostory and update the path to the relative one.
The link above explains how to update the path.