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
what QTP Options do you know?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
How to creating an output value using quicktest professional (qtp)?
What is Cross browser testing? Does UFT support it?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
How many add-ins comes by default with quicktest professional (qtp)?
When should I use smart identification?
How does you test a weblink which is changing dynamically?
What are the views available in quicktest professional?
What are the benefits of qtp?
How you can make an action as re-usable action?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?