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

The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


Can we call a parameter from an action to other action?

4 Answers  


what is the general issues faced while using automation tool Qtp9.0

1 Answers   TCS,


Dear Friend, I am New in QTP 10 so can any one tell me how to do QTP testing on WEB APPLICATION while writing VBScript. If Possible then Give Example how to write vbscript in QTP to test WEB Apllication. Vishal Patil

2 Answers  


How qtp identifies objects?

0 Answers  






How do we retrieve the content from a text box in a web page

2 Answers  


how do u prepare Test Environment ?

1 Answers  


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


How do you check ticket cost and ticket number in flight application?

0 Answers  


What is the method for maximize the application while we using Decriptive programming in QTP?

3 Answers  


What is Step generator in qtp? wt is the use? can u any body explain me? plz

1 Answers  


How to create a standard checkpoint ?

0 Answers  


Categories