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

Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

0 Answers  


How to compare 2 excel files using QTP? How to compare 2 PDF files using QTP?

1 Answers  


explain qtp framework by taking an example?

3 Answers  


In QTP for .net application which plug in is used? For Java Application which plug in is used ?

2 Answers   AppLabs, Fraze Tech,


What type of framework you are using in your company and explain it?

4 Answers   CTS,






what are the disadvantages of descriptiveprograming

5 Answers   GE,


Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a web application, i want to click some 5,13 & 17th links. So please....can anybody give the answer....??? -->Hani<--

4 Answers  


what is automation(qtp)bug pls giv me one ex?

1 Answers  


examples of user definied functions? how to write user defined functions in qtp9.2?

3 Answers   IBM,


Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..

5 Answers  


When it be decided to go for either Per - Action or Shared?

2 Answers  


Pls explain me the difference between ........ Description.Create and CreateObject

5 Answers  


Categories