Skip to main content

Advertisement

Table 1 Test cases generated from the model in Figure 1

From: Revealing influence of model structure and test case profile on the prioritization of test cases in the context of model-based testing

Label Steps
TC1 - Show the login/password screen - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [match] - Show the main screen of the application
TC2 - Show the login/password screen - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [do not match ] - Show error message: “Login and password do not match” - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [match] - Show the main screen of the application
TC3 - Show the login/password screen - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [do not match ] - Show error message: “Login and password do not match” - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [do not match ] - Show error message: “Login and password do not match”
TC4 - Show the login/password screen - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [do not match ] - Show error message: “Login and password do not match” - Fill the login field - Check if the login is valid - [invalid login ] - Show error message: “Login not found”
TC5 - Show the login/password screen - Fill the login field - Check if the login is valid - [invalid login ] - Show error message: “Login not found” - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [match] - Show the main screen of the application
TC6 - Show the login/password screen - Fill the login field - Check if the login is valid - [invalid login ] - Show error message: “Login not found” - Fill the login field - Check if the login is valid - [valid login ] - Fill the password field - Check if the login and password match - [do not match ] - Show error message: “Login and password do not match”
TC7 - Show the login/password screen - Fill the login field - Check if the login is valid - [invalid login ] - Show error message: “Login not found” - Fill the login field - Check if the login is valid - [invalid login ] - Show error message: “Login not found”