Im testing an AngularJS project and using md-menu. Im using assert text to check the selected value on the drop down box but it will pass this step if the value is any value within the drop down, i only want to test against the selected value? any suggestions would be great, thanks.
Have you tried assertSelectedValue or verifySelectedValue?
According to the commands reference, https://docs.katalon.com/display/KD/Selenese+%28Selenium+IDE%29+Commands+Reference , both of these commands “Returns: the selected option value in the specified select drop-down”
Mark Gibson said:
Have you tried assertSelectedValue or verifySelectedValue?
According to the commands reference, https://docs.katalon.com/display/KD/Selenese+%28Selenium+IDE%29+Commands+Reference , both of these commands “Returns: the selected option value in the specified select drop-down”
I should also add that there are several other assertSelected and verifySelected commands for Id, Index, and Label if the Value command is not what is wanted.
Thanks Mark, i kept getting “[error] Specified element is not a Select (has no option)” This was due to the element having a button inside the menu so no select value was recognised, anyway i used VerifyText and it works well, thanks for your help!
Hello guys,
Can you explain the process please ? I’m facing the same issue and I can’t find he solution.
Thanks !
how did you do that man…i’m using Katalon recorder and i keep getting this “no select” error…
Can you explain how to?
Hi there,
Selecting options in drop-down menus aren’t currently supported by Katalon Recorder. We’re working on it and will definitely let you know once it’s available.
Thanks for using Katalon Recorder!