User Interface Testing

Advertisements


What is User Interface Testing?

User interface testing, a testing technique used to identify the presence of defects is a product/software under test by using Graphical user interface [GUI].

GUI Testing - Characteristics:

  • GUI is a hierarchical, graphical front end to the application, contains graphical objects with a set of properties.

  • During execution, the values of the properties of each objects of a GUI define the GUI state.

  • It has capabilities to exercise GUI events like key press/mouse click.

  • Able to provide inputs to the GUI Objects.

  • To check the GUI representations to see if they are consistent with the expected ones.

  • It strongly depends on the used technology.

GUI Testing - Approaches:

  • Manual Based - Based on the domain and application knowledge of the tester.

  • Capture and Replay - Based on capture and replay of user actions.

  • Model-based testing - Based on the execution of user sessions based on a GUI model. Various GUI models are briefly discussed below.

Model Based Testing - In Brief:

  • Event-based model - Based on all events of the GUI need to be executed at least once.

  • State-based model - "all states" of the GUI are to be exercised at least once.

  • Domain model - Based on the application domain and its functionality.

GUI Testing Checklist:

  • Check Screen Validations

  • Verify All Navigations

  • Check usability Conditions

  • Verify Data Integrity

  • Verify the object states

  • Verify the date Field and Numeric Field Formats

GUI Automation Tools

Following are some of the open source GUI automation tools in the market:

ProductLicensed UnderURL
AutoHotkeyGPLhttp://www.autohotkey.com/
SeleniumApachehttp://docs.seleniumhq.org/
SikuliMIThttp://sikuli.org
Robot FrameworkApachewww.robotframework.org
watirBSDhttp://www.watir.com/
Dojo ToolkitBSDhttp://dojotoolkit.org/

Following are some of the Commercial GUI automation tools in the market.

ProductVendorURL
AutoITAutoIThttp://www.autoitscript.com/site/autoit/
EggPlantTestPlantwww.testplant.com
QTPHphttp://www8.hp.com/us/en/software-solutions/
Rational Functional TesterIBMhttp://www-03.ibm.com/software/products/us/en/functional
InfragisticsInfragisticswww.infragistics.com
iMacrosiOpushttp://www.iopus.com/iMacros/
CodedUIMicrosofthttp://www.microsoft.com/visualstudio/
SikuliMicro Focus Internationalhttp://www.microfocus.com/


Advertisements
Advertisements