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
How to use transactions in qtp?
How to test results for qtp ?
after initiating one project for testing, when exacltly QTP tester role starts?
Dis advantages of XML checkpoint ?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
please post the interview questions for QA position in FACTSET
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How to delete an object from the object repository?
unique properties of button,edit box, radio button,check box?
What are benefits of qtp?
Can we create user defined functions in qtp?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Your roles and responsibilities and daily tasks? (As automation tester)
wht type of User defined functions or Java Releated functions do we write in VB scripting
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.