Successful Registration
Search ${productname}
Select in Stock Product
Select any available size
Add to Cart
Go to Cart Page
Proceed to Checkout
Register from Checkout
Enter First Name ${registration_firstname}
Enter Last Name ${registration_lastname}
${dummyEmail}= Generate Dummy Email
Enter Email Address ${dummyEmail}
Enter Password ${registration_password}
Enter Confirmed Password ${registration_password}
Register
Welcome Message should appear
[Teardown] Log out
Blank Phonetic First Name
[Documentation] Test should only run if it is an AJP site
[Tags] test
[Setup] Pass Execution if '${COUNTRY}' !== 'JP' This is not an JP test
Search 0010248198.7393
Select in Stock Product
Select any available size
Add to Cart
Go to Cart Page
Proceed to checkout
Register from Checkout
Enter Phonetic Last Name ${EMPTY}
Enter Phonetic First Name ${registration_phonetic_firstname}
Register
Registration Error Message should appear id=register.phoneticLastNameEvaluating expression ''AOP' !== 'AJP'' failed: SyntaxError: invalid syntax (<string>, line 1)
So currently the country is set to "AU" so ideally it should fail. But this is what I get in the logs:Evaluating expression ''AOP' !== 'AJP'' failed: SyntaxError: invalid syntax (<string>, line 1)
Having that step in the [Setup] won't avoid running the test. Better try to have as the first test step.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.