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 to add check point?

2 Answers  


What are Add-ins availble in licensed version QTP8.2

1 Answers   TCS,


Explain in brief about the QTP Automation Object Model.

1 Answers   Crea,


How to save your test using quicktest professional (qtp)?

0 Answers  


What is a Run-Time Data Table? Where can I find and view this table?

4 Answers  


Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions

4 Answers   Livetek,


why you have standardized functions? plzzz guys with real time exp. do answer

0 Answers  


what is Entry Criteria and Exit Criteria?

2 Answers  


Should have experience in framework means?

0 Answers  


Synchronizing test

3 Answers   Wipro,


how will you check how many members visited the website www.infosys.com?

0 Answers   Logica CMG,


draw the qtp frame work?

0 Answers  


Categories