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 )

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of the qtp local repository?

563


How to test background color and dynamic images during run time can you put the check point for moving objects?

1445


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1576


What is the difference between per-action and shared?

588


What are the features of quick test pro(qtp)?

529






What is text/text area checkpoint?

564


What is quick test pro?

588


How to associate shared object repository to test in qtp?

503


What is difference between Recording time object identification and Run time (Execution) time.

1003


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

1477


what is the difference between IE & Netscape in web testing on a log in page

1788


What are the different types of recording modes in qtp? Which will be used when?

561


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1763


How do you capture tooltip using QTP?

628


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1389