Switch Activity for UiElements

How would I use a switch activity to compare two strings obtained with a dynamic uielement?

The uielement1 looks for < text =’’ /> and one string is for instance Major league Soccer and uielement2 is <text =’’ /> for abbreviation such as MLS.

Case1: Major league Soccer
is the same as MLS
Case2: National Football League
is the same as NFL
How would I handle if element1 is not equal to the abbreviated element2?

Hi @mbaur3
You need to check the aaname in the uiexplorer in which you have stored the Uielement variable

And you need to pass that variable in get attribute and select aaname in drop-down and store the result

And now you can pass this result variable into switch

Regards
Sudharsan