Graphical User Interface Testing (GUI) Testing is the process for ensuring proper functionality of the graphical user interface (GUI) for a specific application.GUI testing generally evaluates a design of elements such as layout, colors and also fonts, font sizes, labels, text boxes, text formatting, captions, buttons, lists, icons, links and content. GUI testing processes may be either manual or automatic and are often performed by third -party companies, rather than developers or end users.
Feature of Graphical User Interface Testing (GUI):
There are some feature of GUI which are given below:
- It is provide customizable test report.
- It is run tests in parallel or distribute on a Selenium Grid with built-in Selenium Webdriver.
- It allows you to test the functionality from a user’s perspective.
- Sometimes the internal functions of the system work correctly but the user interface doesn’t then GUI testing is good to have in addition to the other types.
- It provide reliable object identification, even for web elements with dynamic IDs.
Types of Graphical User Interface Testing (GUI) Testing:
There are two types of GUI testing which are given below: Analog Recording, and Object based recording. These are explained as following below.
- Analog Recording:
This is always what people associate with GUI testing tools by analog recording, the testing tool basically captures specific mouse clicks, keyboard presses and other user actions and then simply stores them in a file for playback. For example, it might record that a user left-clicked at position X = 500 pixels, Y = 400 pixels or typed the word “Search” in a box and pressed the [ENTER] key on their keyboard.
- Object based Recording:
In object based recording, the testing tool is able to connect programmatically to the application being tested and “see” each of the individual user interface components (a button, a text box, a hyperlink) as separate entities and is able to perform operations (click, enter text) and read the state (is it enabled, what is the label text, what is the current value) reliably regardless of where that object is on the screen.
Challenges with Graphical User Interface Testing (GUI) Testing:
There are some challenge which is occure during Graphical user interface testing. These are given below.
- Technology Support
- Stability of Objects
- Difference between System Integration Testing (SIT) and User Acceptance Testing (UAT)
- Differences between Interface and Integration Testing
- Software Engineering | Differences between Sanity Testing and Smoke Testing
- Software Engineering | Comparison between Regression Testing and Re-Testing
- Difference between Unit Testing and Sandwich Testing
- Difference between Unit Testing and System Testing
- Difference between Load Testing and Stress Testing
- Difference between Performance Testing and Load Testing
- Differences between White Box Testing and Gray Box Testing
- Difference between Black Box Testing and Gray Box Testing
- Difference between Unit Testing and Integration Testing
- Differences between Black Box Testing vs White Box Testing
- Difference between System Testing and Acceptance Testing
- Difference between Volume Testing and Load Testing
- Difference between System Testing and Integration Testing
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.