12-09-2011 08:16 AM
Hi
I got a message popup with a user input.
In the post exspression i tried the following an it does not work :
Step.Result.Status=Step.Result.Response,
Step.Result.Status == "" ? "Not Entered" : Step.Result.Response
Does anyone know why it is not working?
12-09-2011 09:14 AM - edited 12-09-2011 09:16 AM
All you are doing in that statement is setting the Step.Result.Status.
The second line is doing absolutely nothing. What you want to do is this:
Step.Result.Status = (Step.Result.Response == "" ? "Not Entered" : Step.Result.Response)
You do not need the 2 lines if you do that.
12-12-2011 12:51 AM
Thanks i always get confused with these statements.