er_amitgupta198
11 years agoOccasional Contributor
GridList Checkbox
Dear All
I am B.E. Student and also try to learn test complete tool as better way .
I am facing some problem to click on Check box in given Grid list .If I found many check box in particular grid list for window or web application but i am unable to fetch property value of individual check box for doing some click operation.
During recording , I am not getting any property value or hierarchy of check box in name mapping or object browser window .So I have used some method as wstate, item(row,column) for performing some click operation But i am failed.
I don't believe in coordinate system if you put some coordinate in click method then some time its work but this is not correct solution Because some time script is failed .
So please share some good idea or solution for clicking check box in grid list if we are unable to fetch object property of check box..
please help
Thanks for giving some valuable time
I am B.E. Student and also try to learn test complete tool as better way .
I am facing some problem to click on Check box in given Grid list .If I found many check box in particular grid list for window or web application but i am unable to fetch property value of individual check box for doing some click operation.
During recording , I am not getting any property value or hierarchy of check box in name mapping or object browser window .So I have used some method as wstate, item(row,column) for performing some click operation But i am failed.
I don't believe in coordinate system if you put some coordinate in click method then some time its work but this is not correct solution Because some time script is failed .
So please share some good idea or solution for clicking check box in grid list if we are unable to fetch object property of check box..
please help
Thanks for giving some valuable time
- Dear,
Try below code, it may help you to find and Select check boxes
Sub Test
Set CheckBoxs = Sys.Browser("iexplore").Page("your URL").FindChild("ObjectType", "Checkbox", 300)
For each checkbox in CheckBoxs
checkbox.Click
Next
End Sub