Forum Discussion
Unless your post stated to allow the EVENT to trigger and wrap it with an "If" statement for WebAccessibility.
This was exactly my point: to verify whether error message is posted by WebAccessibility Checkpoint and send additional text of the error to the text file in this case.
I have never used WebAccessibility checkpoint, but when I decided to answer your question I made a simple investigation and found out that this looks like the simplest solution, since there is no specific event handler for WebAccessibility Checkpoint. During this investigation I have also found that for some reason if checkpoint fails, than even OnLogCheckpoint doesn't trigger, that's why I suggested using OnLogError.
BTW, you can ask Smartbear to add your suggestion to their database and after a while it will be implemented (though nobody can predict when exactly). Just note, that there are many customers and a lot of them have their vision of how the product should work, however it is not always reachable. That's what we are doing here on the forum: helping others finding solutions for their problems. Sometimes they are easy and obvious, sometimes they are workarounds :)
Thank you.
I will use the technique (EventControl1_OnLogError) that was suggested and wrap an "if" around it so to only use the code when the Additional Text is needed.
Again Thank you
Andrew
- karkadil7 years agoValued Contributor
If you find a better solution - please let us know here :)