08-21-2009, 06:37 PM
Hi Ramesh,
You can also proceed with the below way too...
Example:
You can parameterize user name field(i.e Expected_User=Datatable("UserName",dtGlobalSheet))
and one by one you can select the checkboxes accordingly.
You can also proceed with the below way too...
Example:
Code:
Expected_User="Donald"
RC=Browser("...").Page("...").WebTable("ActiveUsers").Rowcount
for i=1 to RC
Current_user=Browser("...").Page("...").WebTable("ActiveUsers").GetCellData(i,2)
if (Expected_User=Current_user) then
Set obj=Browser("...").Page("...").WebTable("ActiveUsers").childItem(i,2,"WebCheckBox",0)
obj.Set "ON"
Exit For
End if
Next
You can parameterize user name field(i.e Expected_User=Datatable("UserName",dtGlobalSheet))
and one by one you can select the checkboxes accordingly.