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
What is system testing and what are the different types of tests you perform in system testing?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
How many types of run modes are there in qtp?
What is Cross browser testing? Does UFT support it?
what are the mandatory properties for a tex boxc (scenario?)
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
What is 'sleep' in sync point?
How you can make an action as re-usable action?
What is the script for database check point, bitmapchek point, regular expression ?
What is meant by Output Value in UFT?
what is output value in QTP and how it can be used in automation testing
How to add synchronisation points in qtp?
What is recovery scenario in qtp?
Explain runtime dynamic settings?