If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / veeru
Below code saves sometime
set ocheck=description.create
ocheck("micclass").value="WebCheckbox"
set objCheckboxes = browser("Creationtime:=0").page("micclass:=page").childobjects(ocheck)
objCheckboxes(9).Set "ON"
objCheckboxes(10).Set "ON"
objCheckboxes(13).Set "ON"
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you configure QTP AND Test director?
when to start the automation?
What is an object repository?
What is the latest version of qtp?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Can U Explain about QTP tool from older version to latest version also its differences?
How does qtp identify gui object?
Can we create user defined functions in qtp?
Explain the concept of how quicktest professional (qtp) identifies object?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
in a web page How to check and display a particular word from a paragraph?
Whats the realtime QTP testing process
Explain calling sub procedure.
explain how to write vb script in qtp?when will you write own script?