My bot is not wanting to perform a very simple task that I also have earlier in a sequence, and it is to select an item after having switched to another window. It just stops there. Would anyone know if I have to add another function / option ?
You were actually right with the activity buddy , the name of the activity is
Attach window activity
I think there is some problem in selecting the item, use click item to select or send hotkeys to select from the drop dow.
If you dont mind can i have a view on your xaml and it would be very helpful to sort this issue, because i would like confirm whether the problem is with select item activity or with attach windows selectors, once
And the issue is with attach window activity, i.e here in the image
attach window ‘Tasklistt’, you have a different selector,
Hope you are using click activity to get back to another window, so now the window gets changed and the full selector will get mismatched with the point1(attach window - full selector)
to solve this add another attach window inside this attach window ‘Tasklistt’ and then place the select item ‘Select’ - activity inside this attach window…
like this
@Michelle8
Buddy…!Kindly try the above method that was the issue,
I have some other suggestions for you to take into consideration while switching between different screens while executing the process
Kindly don’t use Click activity to switch to another window by clicking on the window list in task, It might lead to error at any time, instead use send hotkey activity with alt tab as value that can switch to another window, to make sure you have switched to the right window keep that activity in retry scrope and use a element exist activity as a condition to check with an element in the needed window to be switched, try until you get to the correct window…
Hi ! Ok, this actually worked ! But I also had to go in “Edit selector”. And just by trial-and-error, I realized that I had to remove a portion and then I got the green “Validate” button !
Thank you also for the other suggestions which I will have to try for sure.