Prompt Title: Book a car.

Created 1 year ago
Votes 0
Views 110 times
0
Human: Generate a prompt. Goal: Write Test scenarios Prompt context: Open the browser Enter the url https://www.eduvidya.com/ Click on "Schools" link in the Menu bar Click on "Course-Type" dropdown and select “CBSE” from the list Click on "City" dropdown and select “Pune” from the list Click on "Search" button Verify Search results is displayed or not Close the browser Writing style and tone: Professional,, Write in English (India) i need atleast 4 scenarios like one for opening website, one for accessing the school page , one for filling the dropdown with the correct values and last to verify search results for the above Template of test scenario Epic User Story User Story title User role SC_ID Scenario_Name Scenario Description Test case count Comments
ChatGPT:

Epic: Test Scenarios for Searching Schools on Eduvidya.com User Story: As a user, I want to search for CBSE schools in Pune on Eduvidya.com, so that I can find relevant schools for my child. User Story title: Search CBSE schools in Pune on Eduvidya.com User role: User

SC_ID: TS001 Scenario_Name: Open website and access Schools page Scenario Description:

  1. User opens a browser and enters the URL https://www.eduvidya.com/
  2. The homepage of Eduvidya.com is displayed.
  3. User clicks on the "Schools" link in the menu bar.
  4. The user is directed to the "Schools" page.
  5. Verify that the "Schools" page is displayed. Test case count: 1

SC_ID: TS002 Scenario_Name: Fill the "Course-Type" dropdown with correct value Scenario Description:

  1. User follows the steps in TS001 to access the "Schools" page.
  2. User clicks on the "Course-Type" dropdown.
  3. User selects "CBSE" from the dropdown list.
  4. Verify that "CBSE" is selected in the "Course-Type" dropdown. Test case count: 1

SC_ID: TS003 Scenario_Name: Fill the "City" dropdown with correct value Scenario Description:

  1. User follows the steps in TS002 to fill the "Course-Type" dropdown with "CBSE".
  2. User clicks on the "City" dropdown.
  3. User selects "Pune" from the dropdown list.
  4. Verify that "Pune" is selected in the "City" dropdown. Test case count: 1

SC_ID: TS004 Scenario_Name: Verify Search results are displayed Scenario Description:

  1. User follows the steps in TS003 to fill the "City" dropdown with "Pune".
  2. User clicks on the "Search" button.
  3. The search results page is displayed.
  4. Verify that the search results are displayed. Test case count: 1

Note: Additional test cases can be added to each scenario to cover various edge cases and error scenarios.

Human: give test cases for the scenarios test case template Test Name ,,Description, Step no, Step Description, Expected Result, Actual Result and Scenario_ID
ChatGPT:

Test Name: Verify the website opens successfully Description: This test case checks if the website opens successfully on entering the URL. Step no. Step Description Expected Result Actual Result Scenario_ID 1 Open a browser - - TS001 2 Enter the URL https://www.eduvidya.com/ Website should open successfully. - TS001

Test Name: Access the Schools page Description: This test case checks if the user is able to access the Schools page. Step no. Step Description Expected Result Actual Result Scenario_ID 1 Follow steps in TS001 - - TS001 2 Click on the "Schools" link in the menu bar The user should be directed to the Schools page. - TS001 3 Verify that the "Schools" page is displayed The Schools page should be displayed. - TS001

Test Name: Fill the "Course-Type" dropdown with correct value Description: This test case checks if the user is able to select "CBSE" in the "Course-Type" dropdown. Step no. Step Description Expected Result Actual Result Scenario_ID 1 Follow steps in TS001 and TS002 - - TS002 2 Click on the "Course-Type" dropdown - - TS002 3 Select "CBSE" from the dropdown list "CBSE" should be selected in the "Course-Type" dropdown. - TS002

Test Name: Fill the "City" dropdown with correct value Description: This test case checks if the user is able to select "Pune" in the "City" dropdown. Step no. Step Description Expected Result Actual Result Scenario_ID 1 Follow steps in TS001, TS002 and TS003 - - TS003 2 Click on the "City" dropdown - - TS003 3 Select "Pune" from the dropdown list "Pune" should be selected in the "City" dropdown. - TS003

Test Name: Verify Search results are displayed Description: This test case checks if the search results are displayed after clicking the "Search" button. Step no. Step Description Expected Result Actual Result Scenario_ID 1 Follow steps in TS001, TS002, TS003 and TS004 - - TS004 2 Click on the "Search" button - - TS004 3 Verify that the search results are displayed The search results should be displayed. - TS004

Note: Actual results can be filled during the execution of the test cases. Additional test cases can be added to each scenario to cover various edge cases and error scenarios.

avatar
Teja
Shared 3 prompts
Created 1 year ago

Leave a Comment