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 / brahma.quality

systemutil.Run "iexplore","http://www.computerhope.com/jargon/c/checkbox.htm"
Set odesc=description.Create
odesc("micclass").value="webcheckbox"
Set Child= Browser("title:=What.*").Page("title:=What.*").ChildObjects(odesc)
CheckboxesCount= Child.count
For i=0 to CheckboxesCount-1
Child(i).set "on"
Next

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you configure QTP AND Test director?

1499


what type of automation is follwed in the project?

1486


Why we load add-ins in qtp?

626


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1415


When should I use smart identification?

604






What is the use of text output value in quicktest professional (qtp)?

602


If I change the property value at runtime is it effect is object repository?

609


What are the steps involved in the recovery scenario wizard?

559


Why is action split used by qtp?

561


how to test Web application using QTP software

1570


How to find the difference between 2 dates in qtp?

583


what testplan contents and what test strategy contents,what is the diff b/w them

1651


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1360


Should have experience in framework means?

1417


Does quicktest professional is unicode compatible?

527