i try to explain myself better.
my testsuite has some test that need to share information between those. For example, my website permits to create user , so, testing my website, i need to share the same ID in order to CREATE, LOCATE and DELETE the same created user.
i want to split CREATE , LOCATE and DELETE in three test case
In my case, the ID is generated by datetime
${id}= Get Current Date result_format=%d-%m-%Y-%H:%M
*** test cases
| Create user
| | Input Text | myLocator | ${id}
| User should be created
| | Page Should Contains | ${id}
| Delete Created User
| |
how to create ${id} and share between test?
i cannot use resource file becasue if i put
${id}= Get Current Date result_format=%d-%m-%Y-%H:%M
in *** variables *** area, Get Current Date result_format=%d-%m-%Y-%H:%M will be considered as a String
i can put
${id}= Get Current Date result_format=%d-%m-%Y-%H:%M
at the first phase of the first test, but the other test will now view ${id}
some advice?