Top Banner
Software testing techniques Software testing techniques Graphical user interface testing Presentation on the seminar Kaunas University of Technology
13

Software testing techniques Graphical user interface testing

Jan 02, 2016

Download

Documents

jelani-mcfadden

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
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Software testing techniques Graphical user interface  testing

Software testing techniquesSoftware testing techniques

Graphical user interface testing

Presentation on the seminar

Kaunas University of Technology

Page 2: Software testing techniques Graphical user interface  testing

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

Page 3: Software testing techniques Graphical user interface  testing

• Size– WordPad – 325 possible GUI operations

• Sequence– Opening a file in Word application

• Regression testing– Significant changes in GUI

Page 4: Software testing techniques Graphical user interface  testing

• Error localization• Complexity of GUI

– Custom application style

• Correctness of result• Test coverage

Page 5: Software testing techniques Graphical user interface  testing

• GUI states tested• Code functionality covered

Page 6: Software testing techniques Graphical user interface  testing

• Split application into test components (component = window)

• Test each component thoroughly• Test integration of components• Plan

Page 7: Software testing techniques Graphical user interface  testing

• Determining– Operations– Initial state– Goal– Plan (how to achieve goal from initial state)

Page 8: Software testing techniques Graphical user interface  testing

• Expert users– Path is pretty predictable and straight-forward

• Novice users– Path is pretty much random

• How to simulate novice users?

Page 9: Software testing techniques Graphical user interface  testing

• 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.

Page 10: Software testing techniques Graphical user interface  testing

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

Page 11: Software testing techniques Graphical user interface  testing

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

Page 12: Software testing techniques Graphical user interface  testing
Page 13: Software testing techniques Graphical user interface  testing

• 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?