My question is more theoretical rather than code related. I am implementing a test through Selenium and my approach is to test the visual parts of my application(for ex. if all pages are visible, or if a specific element is placed in a page etc).

I am not sure in which category this test belong. In my mind it is not Unit Test because does not exam code behaviour. Neither Integration Test. I wonder if I can call this test Acceptance Test or User Acceptance Test.

  • Why not categorize it with something more meaningful? Visual tests or something of the sort? – ernie Aug 14 '17 at 20:57
  • What do you mean by that? Categories are fixed: Unit Tests - Integration Tests - User Acceptance Tests (and after those are coming the manual tests). In other words I am asking if GUI tests are under the umbrella of UAT – GeorgeD Aug 15 '17 at 20:20
  • Depends on what you're talking about? While there are plenty of test categories and definitions out there, if you're trying to build a vocabulary to use at your company, there's nothing wrong with having a category called "Visual tests". There are plenty of types of tests beyond the ones you listed . . . – ernie Aug 15 '17 at 20:59

If you are only testing the GUI of your application, then it is usually referred to as GUI testing, which is often mistaken with GUI-based system testing.

Let's say you have a simple form with fields for first name, last name, address etc. In GUI testing, you would check if, for instance, the layout looks correctly throughout different browser or whether the validation of the form works as expected. GUI-based system testing aims to test the whole system via the GUI. For example, you would verify what the client sends to the server after the submit button is being pressed and how the latter responds.

The Galen Framework is an example for GUI testing, whereas Selenium is typically used for GUI-based system testing.

Please bear in mind that the exact definition may vary from company to company.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.