12 years ago
Identify Page Object using Title
Hi All,
I want to add Page to NameMapping using some unique property like Title. For my application URL keeps changing and even Regular Expression won't Work.
There is LocationName property in IE which shows Title value, but same is not present in other browsers.
I want to use NameMapping option instead of using Find Methods as runtime.
Also there are mutiple pages to be opened in my test.
Is there any way we can use Title of Page to add it to NameMapping ?
Thanks & Regards,
Pritish SHha
I want to add Page to NameMapping using some unique property like Title. For my application URL keeps changing and even Regular Expression won't Work.
There is LocationName property in IE which shows Title value, but same is not present in other browsers.
I want to use NameMapping option instead of using Find Methods as runtime.
Also there are mutiple pages to be opened in my test.
Is there any way we can use Title of Page to add it to NameMapping ?
Thanks & Regards,
Pritish SHha