reporter object problem
I have two rows in my datasheet which contain data independent of each other.
i have two actions:
Action 2 (needs action1 to pass before executing action2)
I'm using the following code in Action2
if reporter.runstatus = "Fail" then
if action 1 fails in ITERATION 1 then Iteration two fails automatically since reporter.runstatus is set to fail. Is there anyway to reset the reporter object on each iteration? or any other solutions?
Re: reporter object problem
Well there could have been one possible solution to use a error handler
For now you can use a on error resume next in your action and move all the action code into a function then call the function. After the function call check for err.number and if it is non-zero then create a environment variable to provide the status. This way every time your action fails or pass the environment variable will be updated and your next action you can refer to the environment variable