Micro Focus QTP (UFT) Forums
QTP Test results will return exit codes - 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: QTP Test results will return exit codes (/Thread-QTP-Test-results-will-return-exit-codes)

Pages: 1 2


RE: QTP Test results will return exit codes - asrivastava - 07-07-2011

Now it is working ..... Thank you so much for this great help...


RE: QTP Test results will return exit codes - rajpes - 07-07-2011

you are welcome


RE: QTP Test results will return exit codes - asrivastava - 07-08-2011

I am becoming little more demanding now ...

is it possible to get test action's result status also in .xls file ?

as I am having multiple test actions within the test suite. right now i am getting result status for test suite only but it would be better if get status in .xls file for actions also.


RE: QTP Test results will return exit codes - rajpes - 07-08-2011

As the test execution happens, each action is executed one by one.So anywhere in any action if problem occurred, the LastRunResults.status just reflects the same. Qtp doesnt have option to give status of individual action's run status as far as i know but you can use Environment("ActionName") method wherever you suspect your script to go wrong but what is preferred in frameworks is that, after you perform any operation like clicking a button, a log must be generated on that indicating it was success or not ( micpass, micfail).
After execution is over, you can just check corresponding action scripts based on that.