Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Tâche d'Exécution de Cas de Test | Tests Logiciels en Pratique
Introduction aux Tests Manuels et à l'Assurance Qualité dans le Développement Web

book
Tâche d'Exécution de Cas de Test

Votre tâche consiste à ajouter les trois cas de test suivants à votre projet Testiny et à les exécuter dans un test run. Vous devrez les exécuter sur l'application de chat. La priorité de chaque cas de test peut être définie à tout niveau approprié.

python
- Test Case ID: TC-01
- Title: Registration with Existing Email
- Precondition:
1. The user is on the registration page.
2. An account is already registered using the email "testuser1@example.com".
- Test Steps:
1. Enter "testuser2" in the "Username" field.
2. Enter "testuser1@example.com" in the "Email" field.
3. Enter "examplePassword123" in the "Password" field.
5. Click the "Register" button.
- Expected Result (Postcondition):
1. The message "User already exists" should be displayed on the screen.


- Test Case ID: TC-02
- Title: Successful Login
- Precondition:
1. The user is on the login page.
2. An account with the username "testuser1" is already registered.
- Test Steps:
1. Enter a "testuser1" in the "Username" field.
2. Enter "examplePassword123" in the "Password" field.
3. Click the "Login" button.
- Expected Result (Postcondition):
1. The user should be successfully logged in.
2. The user should be redirected to the chat page where they can see the Chat Box.


- Test Case ID: TC-03
- Title: Sending an empty message in the Chat
- Precondition:
1. The user is already logged in and is on the chat page.
- Test Steps:
1. Make sure the chatbox input field is empty.
2. Click "Send"
- Expected Result (Postcondition):
1. No message is sent in the chatbox.

Après avoir exécuté les cas de test, écrivez leurs résultats comme "Passed" ou "Failed" dans la case.

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4

Demandez à l'IA

expand
ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

We use cookies to make your experience better!
some-alt