Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select multiple and/or all check boxes?
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Use this code to select all check boxes in a page.
Code:
Set myObj=Description.Create
myObj("micclass").value="WebCheckBox"
Set allObjs=Browser("...").Page("....").ChildObjects(myObj)
For i=0 to allObjs.count
    allObjs(i).Set "ON"
Next
You can customize the above code to select all or few checkboxes as you need.
Reply


Messages In This Thread
RE: How to select multiple and/or all check boxes? - by ravi.gajul - 04-09-2013, 09:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 11.52 - How to select multiple rows in webtable UFT_Tester 0 6,237 09-12-2013, 09:36 PM
Last Post: UFT_Tester
  Dialog Boxes mv8167 5 4,858 07-11-2011, 08:48 PM
Last Post: mv8167
Smile to select a single check box at runtime. karthikhw 1 2,908 03-25-2010, 02:00 PM
Last Post: manishbhalshankar
  How to select multiple items from a combobox/listbox prasadworld321 4 13,104 08-26-2009, 02:07 PM
Last Post: prasadworld321
  How to select the check box from the table (only scripts, no recording) Maheswaran 2 3,356 07-28-2009, 05:36 PM
Last Post: QTPian

Forum Jump:


Users browsing this thread: 1 Guest(s)