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
Did the scripts need lot of maintenance? If yes, why?
How did you resolve conflicts present in Object Repository?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
Explain QTP using different development techniques ?
What are the main differences of qtp and win runner?
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
What is the parameterization?
what is the diffrence bw qtp architectute and qtp framework?
What is file database?
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 ,
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
How to creating an output value using quicktest professional?
How will you check a web application for broken links using qtp?
How to interact tool & application build in QTP?
How QA specialist can identify when programmatic descriptions are useful?