for example one window is there, the window contains how
many edit box's i want script? i know the script but that is
not exact answer....
The script is like this ..........

set a=description.creation()
a("Native class")="WinEdit"
b=window("Flight Reservation").childobject(a).count
msgbox b

if u found exact answer please getback to me?
raju.ippali@gmail.com
9823257761



for example one window is there, the window contains how many edit box's i want script? i know..

Answer / rayudu

Your script is right but need to do some modifications

set a=description.create()
a("micclass").value="WinEdit"
b=window("Flight Reservation").childobjects(a).count
msgbox b


Now you can get the results
Before going to execute you have to add the Flight
reservation Properties to the repository

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

0 Answers   Mannar Company, Wipro,


How does qtp identify the object in the application?

0 Answers  


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

0 Answers  


How you are developing the script? Using record and play back or manual?

0 Answers  


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

0 Answers   TCS,






hi i have one doubt i have 4 yrs exp in testing and iam working one mnc in north but i have completed my degree correspodene is the companies are accept in south side some people are tellig they won't agree but i need correct answer plz let me know which companies are taking and not taking thanks in advance

8 Answers  


How u perform exception handling in QTp,what is other name for ths?

2 Answers  


Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated

2 Answers   McAfee,


what is framework in QTP? any one give me answer

4 Answers   Wipro,


I am testing a Website thelancet and create a description for searching "health" in search edit box.But my description failed on last two lines.Can anybody solve this

1 Answers  


What is checkpoints for quicktest professional?

0 Answers  


What does SPLIT and JOIN commands do in Vbscript?

6 Answers   Ordain Solutions, UBC,


Categories