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
How to suppress warnings from the test results page?
How to import a test case present in ".xls" file to TD under a Test set?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
Explain how qtp identifies object?
How many types of trigger events are there in qtp?
How may types of defects identify application or your currently working application?pls give me answer..
Explain about business process component? types and usage?
What is the parameterization?
Where we can use the synchronization?
Describe the differences between functions and actions in UFT?
What is contained in the object repository?
Brief the process of testing with UFT?
What is quicktest professional (qtp)?
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
How do we handle run-time errors?