newbie
8 years agoNew Contributor
Test Step Pass Individually but fails when run in Test Case
I created a test case that's testing for some business rules.
1st step is to run the application which returns the workid
2nd step use the workid as a property then property transfer
3rd created a datasource and connected to the database
4th created a JDBC request
The problem I'm facing is that the JDBC request always fails when I run the test case. However, when I run the test step individually then it passes without any problem.
The failed result:
- The XPathContains assertion failed for the following path: [//Results[1]/ResultSet[1]/Row[1]/RULE[1]]. Expected value: [BACKPM]; Actual value: [].