Spokalyالإنجليزية تبدأ من السمع
Job interviews · QA / software tester · Intermediate

QA Tester: Explaining a Test Script and a Logمقابلة مختبِر برمجيات: شرح سكريبت اختبار وقراءة سجل

  • Hatem
  • Reem
0:00 / 4:24
The coloured strip is split by speaker, so you can see who talks and when.

Transcript

  1. Hatem
    Hi, Reem. Can you hear me, and can you see the script on my screen?
  2. Reem
    Yes, I can hear you, and I can see the script. Thank you for the call.
  3. Hatem
    I am Hatem, from the automation team. First I want to hear about your experience, and then we will look at this short script together.
  4. Reem
    Sure. I have worked as a manual tester for four years. I have tested web and mobile apps for an online school.
  5. Hatem
    Have you written any automated tests before?
  6. Reem
    Yes, a few. I have written about ten small checks for a login page, and I have run them every night for three months.
  7. Hatem
    What have you learned from that?
  8. Reem
    I have learned that a good check is short and has one clear purpose. I have also learned to keep the names clear.
  9. Hatem
    Good. Now look at the script. Can you explain it in plain words?
  10. Reem
    Of course. First, the script opens the login page. Then it types a user name and a password and clicks the button. At the end it checks that the welcome message is on the page.
  11. Hatem
    What happens if the message is not there?
  12. Reem
    The test stops and says failed. It also writes a line in the log, so we can see which step went wrong.
  13. Hatem
    Here is the log of the last run. Please read the steps to me.
  14. Reem
    Step one, open the page, passed in about one second. Step two, type the name, passed. Step three, click the button, passed. Step four failed: the message was not found after five seconds.
  15. Hatem
    Why do you think step four failed?
  16. Reem
    I am not sure yet. I have seen two reasons before. Maybe the message is really missing, or maybe the page was slow and the test looked too early.
  17. Hatem
    How would you check which one it is?
  18. Reem
    First I will open the page by hand and do the same steps. If I see the message, then it is probably not missing, and the test may need a better wait. I will also check how long the message takes to appear.
  19. Hatem
    What do you mean by a better wait?
  20. Reem
    Instead of waiting a fixed time, the test can wait until the message appears, with a maximum time, for example ten seconds.
  21. Hatem
    Have you used that idea before?
  22. Reem
    Yes, I have. I have changed a fixed wait to a smarter wait in two of my checks, and the failures from slow pages have stopped.
  23. Hatem
    Tell me about a time an automated test gave you a wrong result.
  24. Reem
    Last spring, one of my night checks failed every Monday. I thought the app was broken, so I opened a report. Then I looked at the log and saw the date of the test data. The data was old on Mondays, because a weekend job had not finished. I told the team, we moved the job earlier, and the Monday failures stopped. Since then, I have always checked the data first.
  25. Hatem
    What did you do to stop it happening again?
  26. Reem
    I added one line to my notes: check the test data before you blame the app. I have also asked the team to tell me when a data job changes.
  27. Hatem
    Have you worked with developers on test code?
  28. Reem
    Yes, I have. I have asked a developer to review my checks, and he has shown me how to make them shorter.
  29. Hatem
    What do you want to improve?
  30. Reem
    I want to write clearer messages when a test fails. Sometimes I write a short message, and it is not enough for other people.
  31. Hatem
    How do you write a test summary after a run?
  32. Reem
    I write three short lines: what I ran, what failed, and what I will do next.
  33. Hatem
    Do you have any questions for me?
  34. Reem
    Yes. How does your team decide which manual tests to automate first?
  35. Hatem
    We start with the checks that we repeat every day and that are easy to describe, like a login page.
  36. Reem
    That makes sense. Thank you for the call, Hatem.