Posts: 2
Threads: 1
Joined: Jan 2008
Reputation:
0
01-22-2008, 02:28 PM
Can someone help me with a QTP script that would help read web pages dynamically, identify browser name and page name without writing script for each page with the respective names. So that i can call the same script wherever required.
Any help on this would be great!
Anj
Posts: 83
Threads: 16
Joined: Jan 2008
Reputation:
0
01-22-2008, 02:53 PM
Hi Anj,
I am not clear with ur question,
as per my exp if the web page properties are same the we can use the properies for wherever required.
For example if the page name is
Browser("name:=google").Page(title:=goolge")
This u can used repatively wherever required provided the page is name has not changed.
If page propery changed then we need to use the respected browser and Page properties.
Regards
Raj
Posts: 2
Threads: 1
Joined: Jan 2008
Reputation:
0
01-22-2008, 03:35 PM
Thx Raj, but let me explain my problem her
It is an application with web pages having different names(Browser and page names), so currently i have a script to check a logo name in each page. I have pasted this script on each page since each page has a different Browser/page name. I want a single script which can dynamically get the Browser/page name of the page i am on. And paste the script at one location and call it on every page.
There is a continue button on each page to move to next page.
Hope my question is clear.
Thx,Anj