Openelis Qa Framework Report
Home > Patient Information
Report generated 24-07-2023 09:57

Add Order

 Order (tag)

Patient Information

Scenario Outline

When User Expands Patient information form by clicking the + button next to Patient
And User Clicks New Patient Button
And User Enters Subject Number "<subjectNumber>"
And User Enters National ID "<nationalId>"
And User Enters Patient Last Name "<pLastName>"
And User Enters Patient First Name "<pFirstName>"
And User Enters Contact Last Name "<cLastName>"
And User Enters Contact First Name "<cFirstName>"
And User Enters Contact Email "<cEmail>"
Then Field validates "<status>" Contact Email
And User Enters Contact Phone "<cPhone>"
And User Enters Patient Street "<street>"
And User Enters Patient Commune "<commune>"
And User Enters Patient Town "<town>"
And User Enters Patient Phone "<pPhone>"
Then Field validates "<status>" Patient Phone
And User Enters Patient Email "<pEmail>"
Then Field validates "<status>" Patient Email
And User Selects Patient Health Region
And User Selects Patient Health District from the drop down
And User Enters Patient Date of Birth "<dateOfBirth>"
Then Field validates "<status>" Patient Date Of Birth
When User Enters Patient Date of Birth in future
Then Alert appears if Date is in the Future
When Date of Birth is left blank and Age "<age>" is filled
Then Field generates Date of Birth with correct year for the Age "<age>"
And Alert Appears if Age entered is -1 , 100 and >100
And User Selects Patient Gender
And User Selects Patient Education
And User Selects Patient Marital Status
And User Enters Patient Other Nationality "<nationality>"

Examples: 

# Subject Number National P Last Name P First Name C Last Name C First Name C Email C Phone Street Commune Town P Phone P Email Date Of Birth Nationality Age Status
1 202307D9P 201507D35 Aliou SADIO musa mutes wrongEmail +23063458788 New York city, street 3334 Grand yoff Dakar ff223377 wrongEmail 09/02/dd American 20 invalid
2 202307D9P 201507D35 Aliou SADIO musa mutes contact@gmail.com +23063458788 New York city, street 3334 Grand yoff Dakar +23063458788 pat@gmail.com 09/02/2019 American 20 valid
Steps Outcome
SUCCESS 1m 12s
SUCCESS 1m 12s
SUCCESS 144.55s
Serenity BDD version 2.5.7