I’m very new to UI path but getting more comfortable. I am trying to view work items on a website and all have different commands (create, add, delete, remove) and it looks something like this:
I am using “element exists” to view the work item and when i click on the word “create,” I came up with this selector and named the variable “workItem.”
It was suggested that i use nested if/else statements to go down my 4 different paths but i need to differentiate between create, add delete and remove and perform a different operation for each. So the only thing that would be different for each selector would be the aaname. Is there code that would allow you to do that? i think the issue is turning the Boolean variable and have it look for string. I came up with something like this and tested, it did not work.
Thanks,
Deaser59