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 / pravati
set obj=Description.create()
obj("micclass").value="Webcheckbox"
set checkboxobj=Browser("micclass:=Browser").page("micclass:=page").childobjects(obj)
msgbox checkboxobj.count
for i=0 to checkboxobj.count -1
checkboxobj(i).set "on"
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How you know that a test case is a regression test case
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
What is the difference between a Function and Action in QTP?
When and why to use descriptive programming?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
how to acess a test in RSA?
What are some test assets and related extensions of qtp?
In qtp, how you can remove the spaces from string?
Diff b/w test scenario's and test Procedures?
How to modify the text checkpoint?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
Where we use data driver in qtp?
How many tabs are available to view your test in a test pane and what are they?
Can we Test Welcome Screens and Process Images with QTP