Dropdown selection issue for ng-select


#1

Hi Team,

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


#2

Hello @Kumar_Tumkur_Nagendr
Please , you can look below link

regards


#3

Thank you Emine.


#4

Hi Team,

Select with option groups section does not work for me.please advice.


#5

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.