Hi
I need to create generic keyword
Keywords
Login and Update page
${current_test}= Set Variable Current test case: ${TEST NAME}
Log ${current_test}
…Common logic
…
Some logic
If ${currentTest} == 'Login'
to do business logic
Else IF ${currentTest} == 'Update Name'
to do business logic
But both if else condition is executing in both Login and Update Name test.