Explain about test data value in If statement

I am not clear about test data value in IF statement. For example: TC for login has 4 data suite:
1. User: True, Pass: True
2. User: True, Pass: False
3. User: False, Pass: True
4. User: False, Pass: False
Now I want to use Test data value in if statement with this TC, is it ok?
Please explain about it.
Thanks

I am not clear about test data value in IF statement. For example: TC for login has 4 data suite:
1. User: True, Pass: True
2. User: True, Pass: False
3. User: False, Pass: True
4. User: False, Pass: False
Now I want to use Test data value in if statement with this TC, is it ok?
Please explain about it.
Thanks

Hi there,

I’m not sure about your question. If else statement is a standard control statement, it just compares your expression with expected results and then decides what next steps it should follow.
https://docs.katalon.com/display/KD/Control+Statements#ControlStatements-Decision-makingstatements

So you can use any kind of comparison in If Else statement you want. If you wish to know how to use it, please refer to above article.

Thanks

____________________
Thank you for choosing Katalon Studio as your automation solution.
Your feedback is needed to make Katalon Studio a better tool, take the survey at: https://goo.gl/S25NVO

The topic is closed due to inactiveness. Feel free to open a new one if you have any concerns.