Hi,
I have tests written in python functions. I am calling these functions from the robot file. i need to run some specific test only if return value is not empty . How do i do this ?
for ex:
below is how my robot file , where payment_with_creditcard ,manage_booking_page and verify_confirmation_page my python test method which i need to call. i want to do something similar to below
i want to do something like below
*** Settings ***
Documentation endtoend Test suite
Library pythontestlibrary
Test Setup test set up
Test Teardown test tear down
Suite Teardown suite tear down
*** Variables ***
*** Test Cases ***
test1
${confirmation_no} payment_with_creditcard arg1 arg2 arg2
RUN BELOW TESTS ONLY IF ${confirmation_no} IS NOT EMPTY
*** Test Cases ***
verify_confirmation_page verify confirmation page arg1 arg2
manage_booking_page manage booking page confirmation_no email