Robot Framework와 관련하여 질문이 있습니다. 그것은 꽤 괜찮 작동특정 로봇 키워드를 실패하지만 테스트 실행을 계속하는 방법은 무엇입니까?
Run Keyword Unless '${Value}'=='49' Fail Incorrect counter value
하지만, 테스트 실행을 중지 Fail
키워드 :이 같은 코드가 있습니다. 위의 구문이 중첩되어 있지만 테스트에서 키워드를 실행하는 특정 키워드를 어떻게 실패합니까?
Robot Framework와 관련하여 질문이 있습니다. 그것은 꽤 괜찮 작동특정 로봇 키워드를 실패하지만 테스트 실행을 계속하는 방법은 무엇입니까?
Run Keyword Unless '${Value}'=='49' Fail Incorrect counter value
하지만, 테스트 실행을 중지 Fail
키워드 :이 같은 코드가 있습니다. 위의 구문이 중첩되어 있지만 테스트에서 키워드를 실행하는 특정 키워드를 어떻게 실패합니까?
당신은 아래에 그것을 할 수 있습니다 : 이것은 당신이이 단계가 실패한 경우에도 실행을 계속하게됩니다
Run Keyword And Continue On Failure Run Keyword Unless '${Value}'=='49' Fail Incorrect counter value
은 내장에 세 가지 키워드를 사용할 수 있습니다
Run Keyword And Continue On Failure
Run Keyword And Expect Error
Run Keyword And Ignore Error
이 목적에 가장 적합한 하나를 사용하는 것이 좋습니다. http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Run%20Keyword%20And%20Continue%20On%20Failure