How to check multiple checkbox's on a page?

Hey all, Bit of a newbie looking for help.

First time playing with such a great tool like this, Is there a more effecient way to select multiple checkboxes on a webpage rather then adding a new step in the studio each time for each “Click Target” or "Check Checkbox? As you can see I have a lot and will need to do up to approx 100 Boxes each time. As per the screen shot I have to select multiple box’s in each category with dozens per each.

Thanks for any help given!

Hi @Wakey543

Use for each Ui element activity and indicate the checkboxes. It will iterate the each Ui element inside for each insert the Check\uncheck activity to check the elements. Pass the CurrentElement in the Input element option of Check\Uncheck activity properties.

Hope it helps!!

Sorry for being a bit dumb around this, Are you reffering to Ui Automations activity “Check Element”


?

Yes @Wakey543

You are right

Thanks for the help!

Ill have a play and see If I can figure it out

Cheers Mate

It’s my pleasure… @Wakey543

If you have any further doubts let me know.

My apologies for not being very good at this,

In studio I select check element

  • Select the target Page
  • indicate target on screen
  • Select A checkbox
  • Hit Confirm

Then

  • Show addition Options
  • Is enabled output has “Is Enabled”
  • Input element I type in CurrentElement and it comes up with output element
  • Output Element has Output Element

Have you used for each ui element activity before the check\uncheck activity. @Wakey543

I would say not because im not sure what that means Sorry

I believe Ive found what your talking about, What options should I have in the "


For Each"

I am not talking about for each activity, I am trying to say use the For each Ui element activity.

Sorry I just realised this is a dekstop activity hence why i couldnt find it!

@Wakey543

Unfortunately on studio web you dont have such a capability to use for each ui element

But one thing you can do is…if you know what all checkboxes to check…you can create an array of those names and then pass the array to for loop…

And inside for loop indicate one of the element and generally in the selector of the element you will get the name or the value of it…use the currentitem variable in that name field…so that the selector dynamically changes for each iteration as the value changes and you can click on each check box

Check about selectors to understand more

Eg: <webctrl tag='checkbox' name='{{currentitem}}' />

The above is an example …this is how the selector looks and you can add variables to make them dynamic

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.