12-11-2008, 07:57 PM
Hi Ankur and all,
I am trying to use DP to check all checkboxes on a particular page.
Depending on my product selection on earlier pages 3 or 4 checkboxes are visible remaining are hidden. when I count
The result is I get 12 checkboxes since only 3 or 4 are visible at a time and others are hidden. How to solve this problem.
I am trying to use DP to check all checkboxes on a particular page.
Depending on my product selection on earlier pages 3 or 4 checkboxes are visible remaining are hidden. when I count
Code:
Set ParentW=Browser("abc").Page("xyz")
Set objdesc=Description.Create()
objdesc("type")="checkbox"
Set objparent=ParentW.ChildObjects(objdesc)
ckboxcount=objparent.count()
msgbox ckboxcount
The result is I get 12 checkboxes since only 3 or 4 are visible at a time and others are hidden. How to solve this problem.