Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Test results will return exit codes
#11
Solved: 10 Years, 9 Months ago
Now it is working ..... Thank you so much for this great help...
Reply
#12
Solved: 10 Years, 9 Months ago
you are welcome
Reply
#13
Solved: 10 Years, 9 Months ago
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.
Reply
#14
Solved: 10 Years, 9 Months ago
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Code to run all QTP scripts and see all results Pkapoor 11 16,857 08-15-2017, 02:58 AM
Last Post: Ravi
  To send the QTP Results to mail using Thunderbird Naresh 0 2,134 04-03-2015, 03:19 PM
Last Post: Naresh
  Error while opening test run results vkalyankar 3 3,984 11-12-2014, 09:49 AM
Last Post: vinod123
  Function return value is not passed during the 3rd iteration premanand1979 0 2,026 10-16-2014, 09:40 PM
Last Post: premanand1979
  How to send QTP status results to mobile Naresh 0 2,938 09-02-2014, 03:50 PM
Last Post: Naresh

Forum Jump:


Users browsing this thread: 1 Guest(s)