Micro Focus QTP (UFT) Forums
detecting page navigation from 1 script and then triggering another script... - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: detecting page navigation from 1 script and then triggering another script... (/Thread-detecting-page-navigation-from-1-script-and-then-triggering-another-script)



detecting page navigation from 1 script and then triggering another script... - jitender - 12-02-2011

I am working on a script which catches exploratory defects on a webpage.We have a conroller
script which calls exploratory testing script when page changes in our regression testing script.

plz tell me:

1) How can i know when regression script is causing a page navigation to a new page since the
explortory script should only be invoked on a page navigation or when a new page opens.

2) Since the explortory script should be only invoked as soon as page
changes, ( for every new page this script needs to run).
plz suggest me a way to track when the url or page wil
be changed so that the exploratory script can be triggered .?
or is there any built-in functionality in QTP ?

please suggest all the alternatives...