how to write code for to select all the checkboxs in the
gmail
i wrote code for my question but it didn't works any body
suggest what wrong my code my code is Set
chkboxDesc=Description.Create()
chkboxDesc("type").value="chekbox"
Set chboxcollection=Browser("name:=Gmail
.*").Page("title:=Gmail .*").ChildObjects(chkboxDesc)
For i=0 To chboxcollection.count-1
chboxcollection(i).set "ON"
Next
i was getting general run time error pls help me i am in
learing stage
Answer Posted / udham singh
chkboxDesc("type").value="chekbox"
replace this line with
chkboxDesc("miclass").value="webchekbox"
in ur code spelling of checkbox is also wrong
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the file extension of the code file in qtp?
How to use setroproperty?
How to customize checkpoints with parameters?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How to define array in qtp?
How to creating an output value using quicktest professional?
Approach for Installation,comaptibility,system testing
What is meant by Output Value in UFT?
what is review
what is the difference btn risks & Therads in the Test plan documentation?
What is the extension of the recovery scenario file in qtp?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
Explain hybrid framework with advantages and disadvantages?
What is the Difference between copy to action and call to action?