Hi,
I know there are two OOTB when conditions to check the status (ex. after running Obj-Open method) - hasMessages and StepStatusFail. Both reside @baseclass but are these any different or is one better practice to use over the other?
Thanks,
Hi,
I know there are two OOTB when conditions to check the status (ex. after running Obj-Open method) - hasMessages and StepStatusFail. Both reside @baseclass but are these any different or is one better practice to use over the other?
Thanks,
hasmessages will just be checking if you have a message on your step page. Nothing else. Where StepStatusFail is checking if your used method on that step has failed or not.
I don’t know if this helps sorry.
Thank you for the response. If I want to check if Obj-Open method succeeded or failed, then does that mean I should be using StepStatusFail over hasMessages, correct?