Micro Focus QTP (UFT) Forums
how to create checks to merge two scripts - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: how to create checks to merge two scripts (/Thread-how-to-create-checks-to-merge-two-scripts)



how to create checks to merge two scripts - Shama Ahsan - 04-13-2011

Hi Basanth,

problem is still there... actually i merged the scripts but it dint work as according to my knowledge the first test script is the pre req of the second test script.
my first test script is User has logged in successfully with valid credentials.
now the second test script is to Login with the blank ID and valid Password.

now here QTP is considering as it is already logged in so the second script cannot b merged bcz its already logged in...
there is a way to create checks to merge such different scripts... i need to know how to do this as i my boss need these scripts at one place...
em trying at this since yesterday but all in vain...
please help...


RE: how to create checks to merge two scripts - Jay - 04-13-2011

add logout script in between..if its avilable or write code logout code after first script