mercredi 10 octobre 2018

Can't pass a Test Execution result to a variable in Robo Framework

I am posting the results of automated tests to an offline forum. It would be nice to include PASS/FAIL in the forum post title but I'm having some difficulties retrieving the ${TEST STATUS} value - (obviously a hard-coded value works fine) .

I've defined the following in common-variables.robot as:

${FORUM_TEST_RESULT}....${TEST STATUS}

then on publish-results.robot

Input Text....//*[@id="title"]....${FORUM_TEST_RESULT}

The error I get is: ElementNotVisible Exception: Message: element not visible

Aucun commentaire:

Enregistrer un commentaire