gui testing chapter 19 gui characteristic
play

GUI Testing Chapter 19 GUI characteristic Figure 19.1 What is the - PowerPoint PPT Presentation

GUI Testing Chapter 19 GUI characteristic Figure 19.1 What is the main characteristic of GUIs? GUI2 GUI characteristic 2 What is the main characteristic of GUIs? Event driven GUI3 Levels of testing What are the


  1. GUI Testing Chapter 19

  2. GUI characteristic Figure 19.1  What is the main characteristic of GUIs? GUI–2

  3. GUI characteristic – 2  What is the main characteristic of GUIs?  Event driven GUI–3

  4. Levels of testing  What are the levels of testing? GUI–4

  5. Levels of testing  For GUIs what are the levels of testing?  Unit testing  Integration testing  System level testing GUI–5

  6. Unit testing – what  For GUIs what are the levels of testing?  Unit testing  What do we test? GUI–6

  7. Unit testing – what – 2  For GUIs what are the levels of testing?  Unit testing – what do we test?  Button level  Text box level GUI–7

  8. Unit testing – how  How do we do unit testing? GUI–8

  9. Unit testing – how – 2  How do we do unit testing?  Try clicking buttons and using text boxes  Visually compare with expected results GUI–9

  10. Unit testing – difficulties  What are the difficulties of unit testing? GUI–10

  11. Unit testing – difficulties – 2  What are the difficulties of unit testing?  Distinguishing  Output errors  Computation errors  What else? GUI–11

  12. Unit testing – difficulties – 3  What are the difficulties of unit testing?  Distinguishing  Output errors  Computation errors  Not easily repeatable  Seat of the pants testing  User input and observation errors GUI–12

  13. Unit testing – overcome difficulties  How do we overcome the difficulties? GUI–13

  14. Unit testing – overcome difficulties – 2  How do we overcome the difficulties?  Automate with special drivers GUI–14

  15. Unit testing – other considerations  Other considerations? GUI–15

  16. Unit testing – other considerations – 2  Other considerations?  Mode of implementation  What does this mean? GUI–16

  17. Unit testing – other considerations – 3  Other considerations?  Mode of implementation  Using GUI tools – Visual Basic  E.g. do not need to test input/output at text box level  Text is stored correctly  Writing custom Java classes  E.g. need to test input/output at text box level  Is text stored correctly? GUI–17

  18. Integration testing – what  What are the levels of testing?  Unit testing  Integration testing  What do we do? GUI–18

  19. Integration testing – what – 2  What are the levels of testing?  Unit testing  Integration testing  Little to do for GUIs GUI–19

  20. System testing – what  What are the levels of testing?  Unit testing  Integration testing  System testing  What do we do? GUI–20

  21. System testing – what – 2  What are the levels of testing?  Unit testing  Integration testing  System testing  Exercise event paths GUI–21

  22. Event paths  How do we find event paths? GUI–22

  23. Event paths – 2  How do we find event paths?  Build EDPNs GUI–23

  24. EDPN build  How do we build EDPNs? GUI–24

  25. EDPN build – 2 Figure 19.2  How do we build EDPNs?  First build for atomic system functions GUI–25

  26. EDPN build – 3  How do we build EDPNs?  First build for atomic system functions  Then? GUI–26

  27. EDPN build – 4 Figure 19.3  How do we build EDPNs?  First build for atomic system functions  Combine into one GUI–27

  28. EDPN use  How do we use EDPNs? GUI–28

  29. EDPN use – 2  How do we use EDPNs?  Look for coverage GUI–29

  30. EDPN use – 3  How do we use EDPNs?  Look for coverage  What types of coverage do we look for? GUI–30

  31. EDPN use – 4  How do we use EDPNs?  Look for coverage  Every atomic system function  Every input port  Every output port  Explore common threads  Explore abnormal user behaviour threads GUI–31

  32. Atomic system function  What are the problems with ASFs? GUI–32

  33. Atomic system function – 2  What are the problems with ASFs?  Some do not have visible system-level output  E.g. store US dollar amount GUI–33

  34. Atomic system function – 3  What are the problems with ASFs?  Some do not have visible system-level output  E.g. store US dollar amount  What else? GUI–34

  35. Atomic system function – 4  What are the problems with ASFs?  Determining what is an atomic system function  Copy needs to have select first  Is select an atomic function?  Is copy an atomic function?  Complicating / simplifying factor? GUI–35

  36. Atomic system function – 5 What are the problems?   Determining what is an atomic system function  Copy needs to have select first  Is select an atomic function?  Is copy an atomic function?  Complicating/simplifying factor?  Grey out invalid buttons  E.g. un-grey-out is an output of select  Un-greyed-out is a precondition of copy  Forced navigation simplifies GUI use and testing GUI–36

  37. Common threads  Explore common threads  What are the problems? GUI–37

  38. Common threads – 2  Explore common threads  What are the problems?  Determining what is common GUI–38

  39. Common threads – 3  Explore common threads  What are the problems?  Determining what is common  How can it be done? GUI–39

  40. Common threads – 4  Explore common threads  What are the problems?  Determining what is common  How can it be done?  Gather usage patterns GUI–40

  41. Abnormal behaviour  Explore abnormal user behaviour threads  What are the problems? GUI–41

  42. Abnormal behaviour – 2  Explore abnormal user behaviour  Threads could be infinitely long and/or silly  E.g. toggle between countries and then quit  What else? GUI–42

  43. Abnormal behaviour – 3  Explore abnormal user behaviour  Threads could be infinitely long and/or silly  E.g. toggle between countries and then quit  Interaction with other processes GUI–43

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend