difference between test scenario test case and test script code example
Example 1: test case vs test scenario
-Scenario is high level descripton of
what are we going to test.
-Test case is step by step off the test.
For example
Test scenario is
Login to the application with valid credentials
Test Case is
Login as a seller
Given valid credentials for a moderator role
When I enter user name and password
And I click login button etc
Test scenario can have multiple test cases.
Example 2: test script vs test scenario
• A test script in software testing is
a set of instructions that will be performed
on the system under test to test that the
system functions as expected.
Scenario testing is a software testing
technique that is based on a scenario.
Basically It involves converting business
requirements to test scenarios for better
understanding and to achieve an end to end testing.
For Examle :
As test scenario – “Verify that the user is not
able to login with incorrect credentials”.
Now, we can brake down into test scenario
to multiple test cases like-