我如何选择仅显示失败的结果,并且结果必须为失败且不通过

时间:2019-01-09 10:37:35

标签: robotframework

两个表上都有22条记录。在记录1-21上是正确的,但是在两个表的记录22上都无法比较,因为它不相等。我想只显示无法比较的失败记录,让结果失败。

connect to database using custom params  cx_Oracle    ${DB_CONNECT_STRING}
@{queryResults1}=   Query  Select * from QA_USER.SealTest_Security_A Order by SECURITY_ID
Log  ${queryResults1}

@{queryResults2}=   Query  Select * from QA_USER.SealTest_Security_B Order by SECURITY_ID
Log  ${queryResults2}

should be equal   ${queryResults1}  ${queryResults2}



Disconnect From Database

0 个答案:

没有答案