Software testing techniquesSoftware testing techniques
Graphical user interface testing
Presentation on the seminar
Kaunas University of Technology
• graphical user interface (GUI) testing is the process of testing a product's graphical user interface to ensure it meets its written specifications
• Size– WordPad – 325 possible GUI operations
• Sequence– Opening a file in Word application
• Regression testing– Significant changes in GUI
• Error localization• Complexity of GUI
– Custom application style
• Correctness of result• Test coverage
• Split application into test components (component = window)
• Test each component thoroughly• Test integration of components• Plan
• Expert users– Path is pretty predictable and straight-forward
• Novice users– Path is pretty much random
• How to simulate novice users?
• 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.
• Selenium (Web UI)• Robotium (Android OS)• SWTBot (SWT applications)• AutoHotKey• Tellurium• White (SWT, WPF, Silverlight, win32, winForms)• And many many others
solo.clickOnText("More");solo.clickOnText("Preferences");solo.clickOnText("Edit File Extensions");Assert.assertTrue(solo.searchText("rtf"));
Top Related