1 / 13

Software testing techniques Graphical user interface testing

Software testing techniques Graphical user interface testing. Presentation on the seminar Kaunas University of Technology. What is it?. graphical user interface (GUI) testing is the process of testing a product's graphical user interface to ensure it meets its written specifications.

Download Presentation

Software testing techniques Graphical user interface testing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Software testing techniquesGraphical user interface testing Presentation on the seminar Kaunas University of Technology

  2. What is it? graphical user interface (GUI) testing is the process of testing a product's graphical user interface to ensure it meets its written specifications

  3. Problems • Size • WordPad – 325 possible GUI operations • Sequence • Opening a file in Word application • Regression testing • Significant changes in GUI

  4. Problems 2 • Error localization • Complexity of GUI • Custom application style • Correctness of result • Test coverage

  5. Coverage GUI states tested Code functionality covered

  6. How to cover everything? Split application into test components (component = window) Test each component thoroughly Test integration of components Plan

  7. Planning and AI • Determining • Operations • Initial state • Goal • Plan (how to achieve goal from initial state)

  8. Problems again... • Expert users • Path is pretty predictable and straight-forward • Novice users • Path is pretty much random • How to simulate novice users?

  9. Solution • Genetic algorithms • Novice paths are not random paths • A novice user will learn over time and generally won’t make the same mistakes repeatedly • A novice user is following a plan and probably has some domain or system knowledge.

  10. Tools Selenium (Web UI) Robotium (Android OS) SWTBot (SWT applications) AutoHotKey Tellurium White (SWT, WPF, Silverlight, win32, winForms) And many many others

  11. Robotium example solo.clickOnText("More");solo.clickOnText("Preferences");solo.clickOnText("Edit File Extensions");Assert.assertTrue(solo.searchText("rtf"));

  12. Questions

  13. Questions for audience Why is GUI testing so hard? How to measure GUI test coverage? Name 2-3 GUI testing tools What are the advantages/disadvantages of automated GUI testing?

More Related