Check activity and mouse scroll down activity is not working.
Upon running, the item is not checked at “Description” and the mouse scroll activity is not scrolling down to the required element “Group Members (All)”.
Here using check/uncheck and mouse scroll is not a good process here.
Check the below steps,
→ Create a List of String datatype variable called List_Items.
→ Store all the values in this variable which you want to check.
- Assign -> List_Items = New List(Of String) from {"Description","Notes","Parent Container"
→ Use for each UI element activity and indicate the one of the exact check box. Then it will automatically extract all the check boxes in that list.
→ In for each UI element window click on add label and indicate the values beside the check box.
→ The output of Foreach UI element is CurrentElement and CurrentLabel_1.
→ Inside for each insert an if condition and give the below condition,
Then you are better to go with Dynamic selectors… @Moshin_Ali_Khan
As I said first store the select item data in a list of String variable as below,
- Assign -> List_Items = New List(Of String) from {"Description","Notes","Parent Container"
→ Use for each activity to iterate the each item in the List_Items variable. Output of Foreach is CurrentItem.
→ Inside for each insert an assign activity and create a variable called SelectItem and store CurrentItem to it.
- Assign -> SelectItem = CurrentItem.toString
→ after assign activity, insert Check\Uncheck activity and indicate the first check box.
→ When indicating the Elements in the selector options window, check the strict selector and uncheck the Fuzzy, image and Computer vision.
→ Validate the selector and come back to studio and open the properties of Check\uncheck activity.
→ Find for the Strict selector under the Target option, open the selectors in UI Explorer.
→ Find any of the attribute which contains the Check element value.
→ Select the text and pass the SelectItem variable to it.
→ Then click on validate.
@mkankatala if you have an example xmal, please do share. I’m abit lost with this approach. just wondering why the options available in the studio do not work.