Dear Community,
I could use some support on how to best approach this situation:
We have four software packages with a similar structure. The users are prompted to select the packages (1,2,3 or 4) by using the Get Selections From User -option to trigger the check. The steps (keywords) will be the same across packages, but the checks need to adapt based on the selected package.
So for example we have the options for: Word, Excel, Paint & Photoshop and i have defined the login, check and logout in my keywords. How do i need to define my testcases??? IF/Else or TAGs or…
What I have now:
IF any(*'word'* (' in url for url in [${url1}, ${url2}, ${url3}, ${url4}])
[keyword] login
+ Change the generic/random value to "Word" so we can validate and log that we are checking the right program. *[Get Title matches Word]*
[keyword] do your check
[keyword] done, please logout
ELSE
Log Nothing found
END
(repeat this code for the 4 options)
Thank you in advanced