[go: up one dir, main page]

0% found this document useful (0 votes)
134 views4 pages

Software Quality Engineering Lab 10

Uploaded by

Ayma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views4 pages

Software Quality Engineering Lab 10

Uploaded by

Ayma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Usman Institute of Technology

Department of Computer Science


Course Code: SE419
Course Title: Software Quality Engineering FALL 2024
Lab 10

Objective:

Scenario outlines and Python Step implementation using Python Behave.

Student Information

Student Name

Student ID

Date

Assessment

Marks Obtained

Remarks

Signature

Instructions
• Come to the lab in time. Students who are late more than 10 minutes, will not be allowed to attend
the lab.
• Students have to perform the examples and exercises by themselves.
• Raise your hand if you face any difficulty in understanding and solving the examples or exercises.
• Lab work must be submitted on or before the submission date.
• Do not copy the work of other students otherwise both will get zero marks.

Experiment # 10: Scenario outlines and Python Step implementation using Python Behave.

Objective:

Scenario outlines and Python Step implementation using Python Behave.

Scenario Outlines

Sometimes a scenario should be run with a number of variables giving a set of known states, actions
to take and expected outcomes, all using the same basic actions. You may use a Scenario Outline to
achieve this:

A Scenario Outline provides a parametrized scenario script (or template) for the feature file writer.
The Scenario Outline is executed for each example row in the Examples section below the Scenario
Outline.

Provide the Test Automation


Provide the Domain Model

Run the Feature Test

Task:
Create a scenario outline just like above, but this time there must be atleast Three categories and in
each category there must atleast 5 items..

Category 1: User Id – Password

Category 2: Product Name – Price

Category 3: Course – Pre-Requisite

You also may need to re-configure Class blender ..

You might also like