Prepared Test case & run Test case in QASE
Published: 2022-11-16 06:02:51

QASE is a tool that helps Test suites can assist in grouping all of test cases into logical groups. Comprehensive test case features enable to define test case severity and priority, as well as to describe pre-conditions, post-conditions, and steps to reproduce the test case.
So First go to https://app.qase.io/login and login in to the system but if you are a new user just simply Sign up into the system.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/us7e297msz30gbczpf82.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oa9t5ag34z2whls5walo.png)
 
After login it redirect into [Projects Screen](https://app.qase.io/projects). Top of the Screen here is 4 tabs.
1. Project
2. Workspace
3. Dashboards
4. Queries
In project here is an option to create new project (Test case). In Workspace here you can add your group members and can view the existing group members list. And for Dashboard and Queries you need Upgrade subscription.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r82hdwy67gv1e9tz2cfe.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ca57hnex9kr53zbdmp18.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8vxi5dgomlloi0ar5bcl.png)


So after that we create a project "Login Module". set Project access type is "Public" so that every one can access that project. but if you select "Private" then you can define the members access on that project.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zb0ur6nl6jv5xtsdce5q.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qg0zewqi9jsiq4hi91q3.png)
After we finished create the project it will redirect us in [Login Module project](https://app.qase.io/project/LMFT?view=1) screen. So you can create a suit and under the suit you can write test case or can write test case directly. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6yrbme39exi4a33nol1z.png)
So here i create a Test suit called "Sign in", set parent shoot as "project root". Mention test description and pre condition (This two is not mandatory), If you test case has pre conditions then you can mention it otherwise skip it.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zki6tlx3dvsthwa6t0p6.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9w08pg3r35xma4nxjs7p.png)

So create a test case under Sign in suit and mention necessary step under this test case. I am write 4 test cases here two is functional and two of them is non-functional. To fill all the section is very time consuming so i clone the test cases and update necessary field against the test cases.
The most interesting things is it automatic help to convert your Test script in "Gherkin" Script. All the steps in given below


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/leeorapmyay3e3yxa49h.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5qna9x9211i345wk6y4b.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bcn3skduy0g4ewc9zihj.png)

Here i set status is 'Actual, Severity "normal" and Priority "high" ( can set according to test case Severity and Priority). Test type is Functional so set as "Functional" and  can set other type dependences on Test case. Set Layer "E2E" can also set E2E (End to end testing) and Api testing. Set milestone according to Sprint value. This a positive Behavior so set it according to test case type. For automation status i will define it as "To be automated" you can select "Not automated or Automation done". 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dzos1maku1sikeypcxmk.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4jx4rl20a6np7kjgmjil.png)



Also mention Pre condition and post condition. Can add related Attachment (Like related UI File) and can also add params (I used this field for API Test case). I add Steps and if you want you can convert it Gherkin or classic.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nea7bjehh4mdft9rq7oe.png)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/unrtqtjq2pvs1j94o5wb.png)




How to set milestone

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u5ugxdg0gqx5tv7bk35k.png)

And finally save the test case.

After That its time to RUN our test case. This process it manual not automated. User have to select each and every Test case status Passed/Failed/Blocked/Skipped. For each Failed Test case Tester can create Defect report and assign Developer. After that Developer Change the Defect report Status.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ix68f8tsqd2i2si3cnq3.png)

Left side of the project you find an Option called "Test Runs". Click on "Test Runs" and it will redirect into Test Run screen. Click on "Start New testcase"

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rdhrextfbi0bbdq6pyuk.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/up6dthx4ucb7qa1g6llu.png)

Named your Run title, Add a description (not mandatory). Select Plan , Environment, Tags as i have no plan, Environment, Tags so i can't select any of them. Select Milestone