If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / brahma.quality
systemutil.Run "iexplore","http://www.computerhope.com/jargon/c/checkbox.htm"
Set odesc=description.Create
odesc("micclass").value="webcheckbox"
Set Child= Browser("title:=What.*").Page("title:=What.*").ChildObjects(odesc)
CheckboxesCount= Child.count
For i=0 to CheckboxesCount-1
Child(i).set "on" ' clicks all checkboxes in the given page
Next
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Discuss quicktest professional (qtp) environment?
Explain the difference between call to action and copy action?
How many types of actions are there in quicktest professional (qtp)?
How can I import environment from a file on disk?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
How the exception handling can be done using quicktest professional?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
What is business process testing(bpt) in qtp?
How to analyzing test results using quicktest professional?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Without using gui map editor we can recognize the application in winrunner ?
Why qtp always start action1 and does not start action?
Explain sub procedure of vbscript.