Add BDD Test steps for below case • In addition, Customer will be receiving the…
- User
Add BDD Test steps for below case • In addition, Customer will be receiving the certificate as pdf, password protected (Civil Id for individuals and commercial registration number for Business) in email. taking steps from below Given I set the language as “” and login to the app And I initiate a request for Salary Certificate And I click on “SHOW DOCUMENT” button in the success screen When I’m Click on “ENGLISH” tab Then the document should be displayed in English When I’m Click on “ARABIC” tab
- Assistant
Below are the BDD (Behavior-Driven Development) test steps added to your existing scenario to include the requirement for the customer to receive a password-protected PDF certificate via email:
gherkinFeature: Salary Certificate Request Scenario: Requesting a Salary Certificate and receiving it via email Given I set the language as "<lang>" and login to the app And I initiate a request for Salary Certificate And I click on "SHOW DOCUMENT" button in the success screen When I click on "ENGLISH" tab Then the document should be displayed in English When I click on "ARABIC" tab Then the document should be displayed in Arabic When I check my email Then I should receive an email with the Salary Certificate as PDF And the PDF should be password protected And the password should be "<CivilId or CommercialRegistrationNumber>" - User
Write BDD cases for the below Requirement 2.3.2 Document History
• Customers can view the documents generated in the past six months from the document history screen. • Customers can view the document in both Arabic and English instantly when he selects any of the document generated in past.
- Assistant
Below are the BDD (Behavior-Driven Development) test cases for the requirement regarding Document History: