Micro Focus QTP (UFT) Forums
action status in QTP test - main action - 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: action status in QTP test - main action (/Thread-action-status-in-QTP-test-main-action)



action status in QTP test - main action - vanilla - 02-12-2012

Hi everyone, I am a newbie in QTP and here in the forum.
I would like to check in my main action the status of earlier executed actions. For example here is a fragment of my main action:
[Image: actionstatusquestion.jpg]
My other actions (that i want to check) do not use the ExitAction statement. However, QTP Results Report still has the status of each action. How in my QTP test I can have actions status?
Thank you in advance,
V.


RE: action status in QTP test - main action - rajpes - 02-12-2012

use action parameters. return back values to from actions based on if/else conditions
eg:create_account action should have an output parameter which you should use in "main" action