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


Please Help Members By Posting Answers For Below Questions

what QTP Options do you know?

2922


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1456


How to creating an output value using quicktest professional (qtp)?

566


What is Cross browser testing? Does UFT support it?

617


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?

1504






On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

580


How many add-ins comes by default with quicktest professional (qtp)?

558


When should I use smart identification?

600


How does you test a weblink which is changing dynamically?

548


What are the views available in quicktest professional?

558


What are the benefits of qtp?

550


How you can make an action as re-usable action?

649


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

633


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.

1781


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

694