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
How to get Traceability matrix from TD?
explain structured testing? plz guys with exp. do answer
what is impact analysis on regression testing?
What is the virtual object?
what is the diffrence bw qtp architectute and qtp framework?
What are the major/ important methods, functions in QTP we use realtime testing
What is quick test pro?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What are the types of object repository?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
please any one can explain the keyword driven framework. with gmail example.
Explain how Selenium is different from UFT?
How to find array size in qtp?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com