I wish to select a value in a variable based on the arguments in my test case. I believe I have a syntax or keyword error but I am unable to resolve. Does the error mean I am not using the correct syntax or does it mean I am not using the correct keyword? Let me know if more information is required in order to better assist. I am very new to auto testing so I am sure it could be a variety of issues.
Select Organization
[Arguments] ${org[0]}
click element //[@id=“mat-select-value-11”]
sleep 2s
mouse over //[@id=“mat-option-33”]
sleep 2s
click element ${org[0]}
My desire in this case is that value A is selected. I assume if I used click element ${org[1]} then B is selected etc…
${ORGANIZATIONS}= A B C D E F
Error:
Element with locator ‘A B C D E F’ not found.