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

Answers were Sorted based on User's Feedback



how to write code for to select all the checkboxs in the gmail i wrote code for my question but i..

Answer / 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

how to write code for to select all the checkboxs in the gmail i wrote code for my question but i..

Answer / chinmay

It is correct.No need to change the code

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Which environments does qtp support?

0 Answers  


How may types of defects identify application or your currently working application?pls give me answer..

0 Answers   Cap Gemini,


how do u plan test automation?

0 Answers  


How u perform Batch Program in QTP?

3 Answers  


What is User defined function in QTP

6 Answers   Bank Of America,






RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

0 Answers  


What is the architecture of framework

0 Answers  


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

0 Answers  


What is Object Spy?

8 Answers  


Explain how qtp identifies object?

0 Answers  


diff between winrunner and qtp

1 Answers   Wipro,


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

0 Answers   Satyam,


Categories