hello…i want to select checkbox according to value match with excel and web. i have to use click activity for that because there is image in checkbox. so how match excel checkbox value and excel checkbox value in if condition. value include TRUE/FALSE.
@Srini84 i think you see this problem in worng way. i want to click on checkbox which is in web but input value for check box is in excel so if in excel there is TRUE so i want to click on checkbox if it is FALSE than uncheck that…
Use a excel application scope and pass the file path as input and get the output as a datatable named dt with read range activity
Now use a for each row activity and pass dt as input
And inside the loop use a IF condition like this
CurrentRow(“DND”).ToString.ToUpper.Equals(“TRUE”)
If true it goes to then block where you can use attach browser activity
within that attach browser use a CLICK or CLICK IMAGE ACTIVITY to check that box in web site
Use For Each row activity and use IF condition inside that
Now write Row(“ColumnName”).ToString = “TRUE”
Here you can add another step in Then
Use Get Attribute activity Checked and check it is checked on that later you can place your logic