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
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
can any one say that where we can download the QTP trail version ??????????
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What Folder Structure following in Keyword Driven Frame work?
Hi All, How to Compare two strings character by character in QTP
What is the difference between per-action and shared?
How will you report the bug and explain the defect tracking sheet you handled?
Explain sub procedure of vbscript.
Hybrid framework supports Descriptive programming. Is it true?
what is run-time data?
What is Unicode Compatibility?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What is the difference between Keyword Driven test and Data Driven test?