Compare values in two dropdowns

Is there any existing feature in test project to compare values from two dropdowns. In selenium we can use getoptions() and compare two dropdowns, can it be done in test project is there any existing addon.

Hi @sravani.

To achieve that, you can use the action “Get text” to retrieve the dropdown values and store it into a parameter.
Then, you do the same with the other dropdown.
FInally, you can compare than using the actio “Compare two strings”.

Like this:

This topic was automatically closed after 180 days. New replies are no longer allowed.