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 LikedSmartBear_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 DiscussionsSignature\Encryption tags missing in Security HeaderCVE-2024-7565 and CVE-2017-16670 vulnabilitiesVulnerabilities found in SoapUI 5.9.1
Related ContentTestComplete property check failed even after match!!!Checking API Status in TestCompleteAt What Frequency Does WaitProperty Checks For Property