09-02-2008, 09:55 PM
Hello,
I have a problem with the generic object.
I have a web page => URL : http://.../rechercher.do
In this page I have 3 fields : Name, Type and Road
When I navigate parameters add in end URL : http://.../rechercher.do?param1=¶m2=...
It is not always the same parameters.
In Tools > Object identification for the Web class "Page", I have properties :
Mandatory properties : url
Enable smart identification : disabled
Ordinal identifier : location
In Object Repository, I add manualy the fields and the URL of my Page is an regular Expression :
http://.../rechercher.*
In QTP, I clic on "Recorded" and I navigate in page recherche.do?param1...
In Object Repository a new Object Page is created
How to make for that all fields of my page "rechercher.do" are one Page Object ?
I have a problem with the generic object.
I have a web page => URL : http://.../rechercher.do
In this page I have 3 fields : Name, Type and Road
When I navigate parameters add in end URL : http://.../rechercher.do?param1=¶m2=...
It is not always the same parameters.
In Tools > Object identification for the Web class "Page", I have properties :
Mandatory properties : url
Enable smart identification : disabled
Ordinal identifier : location
In Object Repository, I add manualy the fields and the URL of my Page is an regular Expression :
http://.../rechercher.*
In QTP, I clic on "Recorded" and I navigate in page recherche.do?param1...
In Object Repository a new Object Page is created
How to make for that all fields of my page "rechercher.do" are one Page Object ?