How to identify the child window.
In my case while recording, When i open new window and
give checkpoint for some control and when i run that script
QTP give error like" can not identify the object"
Is there any method or solution to handle child window
issue
Note: In my apllication i have to check child window of
child window also ( multiple windows open )

Answers were Sorted based on User's Feedback



How to identify the child window. In my case while recording, When i open new window and give c..

Answer / murali raju

whatever window u was open in recording time..that window
will must open at runtime..observe the record and run
settings and verify the object repository settings..and
verify the test settings for default synchorization time
out..ok..na..

Is This Answer Correct ?    2 Yes 1 No

How to identify the child window. In my case while recording, When i open new window and give c..

Answer / ragasudha

If you are scripitng then Child window can be identified by
index.
Ex: Set objPag = Browser(strBrow).Page
("micClass:=Page","index:=1")
Index of child window of the CHild window, would be 2

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.

3 Answers  


How many ways to configure the application in QTP,Explain

2 Answers   CTS,


How to see the screens after running test in QTP?

1 Answers  


What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.

1 Answers  


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  






how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

0 Answers   Synergy,


how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.

5 Answers   IGT, Microsoft,


How many tabs are available to view your test in a test pane and what are they?

0 Answers  


What are the views available in qtp?

0 Answers  


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

0 Answers   TCS,


How to change the Default synchronization method time and where?

4 Answers  


HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST

8 Answers  


Categories