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

Did the scripts need lot of maintenance? If yes, why?

3302


How did you resolve conflicts present in Object Repository?

1617


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1323


Explain QTP using different development techniques ?

542


What are the main differences of qtp and win runner?

597






i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1497


What is the parameterization?

581


what is the diffrence bw qtp architectute and qtp framework?

1544


What is file database?

1696


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1382


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3281


How to creating an output value using quicktest professional?

542


How will you check a web application for broken links using qtp?

554


How to interact tool & application build in QTP?

1465


How QA specialist can identify when programmatic descriptions are useful?

1974