S
S
ShinShil2020-06-03 08:39:42
Software testing
ShinShil, 2020-06-03 08:39:42

How do you test cases when you have many different users?

I participate in the development of a web project. There are many different users on the job and there are scenarios where they all interact. Now, to test the feature, I have 6 windows open:
1. Edge, Edge Incognito
2. Google Chrome, Google Chrome Incognito
3. Firefox, Firefox Incognito (private)

because I need to be logged in for 6 different users, authorization is through a token , which is stored in local storage.

Maybe you know if it is possible to somehow simplify such a test case? The first thing I thought about: split the browser window into 6 parts and each part has its own local storage :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jazzus, 2020-06-03
@ShinShil

Write tests. For example PHPUnit for php . There are many different solutions for each language. You can check for errors, access rights for different users, what he sees or does not see on the page, checking logic, etc. Testing by hand with every sneeze is tinny and ineffective. Tests are very helpful, they catch a lot of small nuances related to logic and access rights. Therefore, it is better to write tests before development, during development, and after development.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question