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
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 |
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 |
your doing one project testing then how u know itis wheather web based application or windows based application?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
What is Object Spy in QTP?
What is the basic concept of qtp?
How qtp recognizes the object?
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
how do you remove object repository at runtime and load object repository and verify it
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.
How can i use Ordinal identifiers and Smart identification methods suppose i want to know the index no of check box
What are the recording modes and executing modes avialble in QTP?