philhayes16 years agoWhat's the exact syntax for checking that a step has failed?// issue SOAP message def result = testRunner.runTestStepByName( "TEST Purchase" )// I know this syntax is wrong!if ( FAILED = result.getStatus() ){ // tell me the result log.error( "step failed" )}
1 ReplyReplies sorted by Most LikedSort ByMost LikedOldestNewestSmartBear_SuppoAlumni16 years agoHi!try if( "FAILED" == result.getStatus().toString() ){...}regards,/Oleeviware.com
SmartBear_SuppoAlumni16 years agoHi!try if( "FAILED" == result.getStatus().toString() ){...}regards,/Oleeviware.com
Recent DiscussionsSoapui equivalent for curl -F (multipart/form-data)REST MockService: mockRequest.requestContent is null for PATCHShared workspace
Related ContentTestComplete property check failed even after match!!!At What Frequency Does WaitProperty Checks For PropertyWhat happens when I failed an exam twice