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

I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

582


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1635


what is description object?

1590


What is 'sleep' in sync point?

619


How to define array in qtp?

570






when to start the automation?

1473


Which environments does qtp support?

671


How can I change object description or check point values in qtp?

552


Diff b/w Health care domain and Banking Domain?

4211


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1433


Explain sub procedure of vbscript.

586


How will you compare keyword and expert view?

524


what is output value in QTP and how it can be used in automation testing

1433


How does qtp recognize objects in aut?

580


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1643