Q:

Selenium testing category

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.

A:

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.

