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 / sunita
set obj=description.create()
obj(micclass).value="webcheckbox"
set checkboxobj=Browser("micclass:=Browser").page("micclass:=page").childobject("obj")
msgbox checkboxobj.count
checkboxobj(i).set "on"
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why do we use breakpoints in QTP?
how to post xml data from QTP scripts to any application?
Write a script to customize the test results in PDF and HTML format.
how to evalute defects in QTP script?
what is error and fault in terms of software quality?
Output values? i want a practical example
who QTP recognizes the object stored in object repository?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
How many types of actions are there in quicktest professional?
What is text/text area checkpoint?
what is actually contain test report? can anybody post the test report
what is meant by Implicit and explicit requirements?
Whether qtp 9.0 supports Test director8.0
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.