Test Run Case Step Data Object Type

Q

What is a simple data object type for test run case steps to support a test case?

✍: FYIcenter.com

A

A test run case step is an execution instance of a test step. A test run case step should contain information about how the test step were executed, what were the actual inputs used, and what were the results of assertions performed.

Here is a simple data object type for test run case steps.

Test_Run_Case_Step data type, in TestMan version 1.00, properties:

  • ID - Identification of this test run case step.
  • Test_Run_Case_ID - Reference to the test run case data object.
  • Test_Case_Step_ID - Reference to the test case step object.
  • Name - A short name for this test case step, copied from test case step.
  • Success - A Boolean flag indicating if this test step was successful or not.
  • Timestamp - A timestamp of when this test step was started.
  • Duration - The duration to measure how long it took to finish this test step.
  • Output - An ouput value generated from the execution of this step.
  • Description - A long description for this test run case step, copied from test case step.
  • Inputs - Child object for a list of input data actually used to perform this test step.
  • Assertions - Child object for a list assertions evaluated while performing this test step.

Examples of Test_Run_Case_Step object:

Test_Run_Case_Step
	ID: 444
	Test_Run_Case_ID: 333
	Test_Case_Step_ID: 333
	Name: Loading login page in browser
	Success: Yes (or No)
	Timestamp: 2022-12-22 00:00:00
    Duration: 200 Millisecond
	Output: Login page loaded
	Description: Sent a HTTP GET request to retrieve the login page.
    Inputs: [Test_Run_Step_Input]
	Assertions: [Test_Run_Step_Assertion]

	ID: 445
	Test_Run_Case_ID: 333
	Test_Case_Step_ID: 334
	Name: Submit username and password
	Success: Yes (or No)
	Timestamp: 2022-12-22 00:00:00
    Duration: 200 Millisecond
	Output: Got the user home page
	Description: Send a HTTP POST to submit login information.
    Inputs: [Test_Run_Step_Input]
	Assertions: [Test_Run_Step_Assertion]

 

Designing Test Run Data Model

⇒⇒Test Management Tutorials

2018-07-22, 333👍, 0💬