12-21-2011, 07:44 PM
Hello,
I have a problem with the object identification.
I am working working with a shared object repository and I am adding the object manual via object spy.
First, let me explain the webapplication which i want to test. I have a login:
After the login I am going on with clicking a link:
The result is, that a new browser window appears, now I have two open ie browser with an unique title.
Up to this point everything works fine and in the test result all steps are marked as passed. Now I want to click a link in the new browser window, I think QTP has a problem to handle with popup window. QTP dont found the corresponding object allthough it is located in the shared repository. And all properties are correct. I have checked it multiple times!
In Tools->Object Identification I have the following settings for Web-> Browser:
Mandatory Properties: name,openurl,title,visible,openendbytestingtool
ordinal idetifier: creation time
It would be grateful if anybody can help me with my problem.
I have a problem with the object identification.
I am working working with a shared object repository and I am adding the object manual via object spy.
First, let me explain the webapplication which i want to test. I have a login:
Code:
SystemUtil.Run "iexplore.exe",exampleurl
With Browser("XY").Page("XY")
.WebEdit("USER").Set user
.WebEdit("PASSWORD").SetSecure password
.WebButton("Sign-in »").Click
End With
After the login I am going on with clicking a link:
Code:
Browser("XY").Page("XY").Link("ZZ").Click
The result is, that a new browser window appears, now I have two open ie browser with an unique title.
Up to this point everything works fine and in the test result all steps are marked as passed. Now I want to click a link in the new browser window, I think QTP has a problem to handle with popup window. QTP dont found the corresponding object allthough it is located in the shared repository. And all properties are correct. I have checked it multiple times!
In Tools->Object Identification I have the following settings for Web-> Browser:
Mandatory Properties: name,openurl,title,visible,openendbytestingtool
ordinal idetifier: creation time
It would be grateful if anybody can help me with my problem.