I am having problem with getting the Verify() function to behave correctly in SilkTest 6.0.
I called the Verify() function in a testcase like this:
Verify (bActual, bExpected, sMsg)
where bExpected and bActual and BOOLEAN types and sMsg is a string type.
In the debugger, I certified that my 2 arguments, actual and expected are different but SilkTest does not log any errors in the result. In fact, the result does not show any errors no matter what I do with the Verify function.
However, when I used Verify in main() like this:
[ ] Verify(TRUE, FALSE, "message")
I received the correct message that says: "*** Error: Verify message failed - got TRUE, expected FALSE".
I searched around the Help Topics and saw the following sample demonstrating 4Test Exception Handling:
Sorry to throw the "It works on my machine" at you, but....
I tried the following:
And I got this for a result:
Seems to be working properly here. Same version of SilkTest running on Win2K. When you upgraded did you uninstall the old version first?