Please, make it return Boolean result of validation.
If you need use case, here is my scenario:
- I do not want my script to stop, when test case fails, so i use:
- However, when test case fails (and only then), i want to save Screenshot to report. If method would return Boolean result i can do it.
Code: Select all
Validate.Attribute (repo.FormSelect.RowN, "RawText", "220", "Record displayed", false);
I know, i can use TRY ... CATCH construct now, but it would be MUCH simpler and elegant, if i can do it using Boolean value.