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

How many ways return more then one value from function?

2 Answers   Ingram Micro,


How can you merge two Object Repositories?

3 Answers  


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

0 Answers  


Can anybody help me by sharing the code for checkbox in qtp using vbscript.

2 Answers  


How to record & run on Japanese language application using english version of QTP ???

4 Answers   ABC,






What is the Command used to start the QTP

0 Answers   HCL,


why use Description programming? what is advantages and disadvantage of this methods?

2 Answers  


How to handle run time errors?

9 Answers  


Now it appears to be more than enough... I have learn entire QTP, I did whatever I could do but still facing lots of problem and those problems could be removed only after working in professional atmosphere. But still unable to expose myself as professionaly. It is becoming panic, It has been two years I am in manual testing and looking for the change but all the recruiters ask for QTP, but my problem is I don't have working experience with QTP. Kindly suggest me I really need effective suggestions. I dont have more caliber to work with present organization cause of salary reasons...boo.. hooo...hooo. My email address is alkaa.dugaal@gmail.com

0 Answers  


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

0 Answers   Hewitt,


Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.

3 Answers  


How will you check that your test cases covered all the requirements?

0 Answers  


Categories