Hello guys,
I have to click on check box shown above image :- but there is an condition
If in the column ( Erro no ) there is found anything like (data,number) in this column that row will be skip/don’t click on check box and click those all check box.
if in column ( Error no ) all rows are blank it will click on mark all
And move to next step
Reference sheet
trialfile.xlsx (949.2 KB)
Thanks
ashokkarale
(Ashok Karale)
February 14, 2024, 10:15am
2
Hi @suraj_gaikwad ,
Using VBA macro for this would be more reliable and feasible.
Thanks,
Ashok
But that table coming from desktop application.
Please let me know in more details
@ashokkarale
ashokkarale
(Ashok Karale)
February 14, 2024, 10:33am
4
Ohh! my bad. I thought the application is built in Excel. VBA macro is out in this case.
I’m not sure about the desktop application you are using but you will have to use Find children .
Configure it to get only Error no cells by using Filter
property.
It will return List<UiElements>
.
Iterate trough all the UiElements
, check for value for anything like (data,number) if it’s true
check the checkbox by index number of iteration.
Use the index number to create dynamic selector for the checkbox.
Use Click Activity to check the box
We can export that that in CSV excel file please refer the excel file which I have provided
@ashokkarale
ashokkarale
(Ashok Karale)
February 14, 2024, 10:48am
6
You shouldn’t exporting the data. Use Find Children because it will give you the relevant selector and index of the checkbox row to check.