Software testing techniques Graphical user interface testing

  • Published on
    02-Jan-2016

  • View
    29

  • Download
    3

DESCRIPTION

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. - PowerPoint PPT Presentation

Transcript

  • Software testing techniques

    Graphical user interface testing Presentation on the seminar

    Kaunas University of Technology

    Introduction to Software testing techniques

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

    Introduction to Software testing techniques

  • SizeWordPad 325 possible GUI operationsSequenceOpening a file in Word applicationRegression testingSignificant changes in GUI

    Introduction to Software testing techniques

  • Error localizationComplexity of GUICustom application styleCorrectness of resultTest coverage

    Introduction to Software testing techniques

  • GUI states testedCode functionality covered

    Introduction to Software testing techniques

  • Split application into test components (component = window)Test each component thoroughlyTest integration of componentsPlan

    Introduction to Software testing techniques

  • DeterminingOperationsInitial stateGoalPlan (how to achieve goal from initial state)

    Introduction to Software testing techniques

  • Expert usersPath is pretty predictable and straight-forwardNovice usersPath is pretty much random

    How to simulate novice users?

    Introduction to Software testing techniques

  • Genetic algorithmsNovice paths are not random paths A novice user will learn over time and generally wont make the same mistakes repeatedlyA novice user is following a plan and probably has some domain or system knowledge.

    Introduction to Software testing techniques

  • Selenium (Web UI)Robotium (Android OS)SWTBot (SWT applications)AutoHotKeyTelluriumWhite (SWT, WPF, Silverlight, win32, winForms)And many many others

    Introduction to Software testing techniques

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

    Introduction to Software testing techniques

  • Introduction to Software testing techniques

  • Why is GUI testing so hard?How to measure GUI test coverage?Name 2-3 GUI testing toolsWhat are the advantages/disadvantages of automated GUI testing?

    Introduction to Software testing techniques

    Size. Unlike a command line interface system, a GUI has many operations that need to be tested. A relatively small program such as Microsoft WordPad has 325 possible GUI operations. In a large program, the number of operations can easily be an order of magnitude larger.

    *Complexity of GUI ssajos sudtingumas (kakokie nestandartiniai komponentai, kiti nestandartiniai sprendimai).**

Recommended

View more >