If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / ayushi saxena
set ocheck=description.create
ocheck("micclass").Value="WebCheckBox"
set checkcol=browser("micClass:=Browser").page("micClass:=Page").childobjects(ocheck)
for i=0 to checkcol.count -1
if i=9 OR i=10 OR i=13 then
checkcol(i).set "ON"
end if
next
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
Explain quicktest professional (qtp) testing process?
Sql questions to find second max salary and how to use joins
How many types of run modes are there in qtp?
What are the disadvantages of recording test cases in qtp?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
How is UFT 11.5 version different from UFT 12.0?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Can we run test with out adding object in object repository? How it is possible?
unique properties of button,edit box, radio button,check box?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
How do Parameterization and Data-Driving relate to each other in QTP?