Feature request: Validate.Attribute should return result
Posted: Fri Apr 29, 2011 9:17 pm
Currently Validate.Attribute return void
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.
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.
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:
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.