script to check all checkboxes in a webpage.
Set a=Description.Create
a("html tag").value="input"
a("type").value="checkbox"
Set b=Browser("name:=").Page("title:=").childobjects(a)
c=b.count
msgbox c
For i=0 to c-1
b(i).set "on"
Next
QTP Faqs
Manual Faqs
Testing Faqs Resources
Descriptive Programming for Yahoo Login Page
D.P for getting checkbox checked status
Descriptive Programming to check all checkboxes in a webpage
Subscribe to:
Post Comments (Atom)




1 comments:
Very useful code and information about QTP Testing
Post a Comment