Lecture 07 - UI_UX and GUI testing. WEB testing
Lecture 07 - UI_UX and GUI testing. WEB testing
www.andersenlab.com
Lecture plan
UI (user interface - user interface) - is the point of interaction between a person and a product. Design of buttons, input
fields, etc. is where the user interacts with the system.
User Experience is the feelings experienced by the user whilst using the product, while the UI is a tool that allows
interaction between the user and the web resource.
Basic GUI elements
Windows:
● browser window
● dialogue window
● modal window
● pop-up window
Basic GUI elements
Menu:
● main menu
● pop-up menu
● context menu
● system menu
Basic GUI elements
● accordion
● button
● radio button
● checkbox
● icon
● list
● toolbar
● scroll bar
● slider
● status bar
● tooltip
Basic GUI elements
Standard mouse pointer Appears when the object cannot be clicked. It is rarely used,
for example, if it is impossible to cancel the current process.
Indicates that you can perform any actions with the object:
scrolling, selection, resizing. The most popular pointer type. Text Pointer
Link pointer This pointer type shows that text information can be selected
for later copying to the clipboard.
Appears only if the object can be clicked. Appears on buttons
and links.
Basic GUI elements
"Hourglass" pointer
Help Pointer
The question mark indicates there is some helpful information Indicates that the current program is performing some action
to be shared with the user. and clicking on items is not available. You need to wait a while
When using a help pointer, you will often have links to show until the process goes through and the Hourglass cursor
you other areas of useful information. changes to a standard arrow.
Basic GUI elements
Browser tab:
UI testing process
● navigation
● colors, graphics, design
● information correct displaying
● cursor behavior and hotkeys
● displaying different amount of data (no data,
minimum and maximum amount)
● resizing the window or screen resolution
Usability
● design
● navigation
● consistency
Compatibility testing
● Hardware
● Operating systems
● Software
● Network
● Browser
● Devices
● Mobile
UI testing
Basic UI checks:
● The appearance of elements when the browser window ● Selected items are highlighted
is reduced + the appearance of a scroll ● Uneditable fields differ from editable ones
● Correct spelling of text + text must be aligned ● Design unification (color, font, size)
● Correctness of moving focus in a window (Tab / ● If necessary, there should be tooltips
Tab+Shift) ● Changing the appearance of an element when hovering
over it
UI testing
● Check text selection with Ctrl+A / Shift+arrow ● Enable checkbox either by clicking on it or using space
● Long text input validation button
● Location next to the corresponding text
Radio-button
Drop down
● Location next to the corresponding text
● Switching buttons using the keyboard ● Scroll functionality should be available if list of items is
too long
Pop-up
● Items should be in alphabetical order (text), or by asc
● Position in the center of the window
order (numbers)
● An item should be highlighted if it is selected
UI testing
● Location, size, color, width, length of elements; the ● Text and web forms alignment
ability to enter letters or numbers ● Pictures quality
● Whether the functionality of the application is ● Check the location and display of all elements at
implemented using graphic elements different screen resolutions, as well as when resizing
● Placement of all error messages, notifications (as well the browser window (check if a scroll appears)
as the font, color, size, position and spelling of the text) ● Check text for spelling and punctuation errors
● Font is readable ● Check tooltip appearance
● Transition of the mouse pointer to different shapes after ● Design unification (colour, fonts, text of messages,
hovering over different element types button names, etc.)
UI testing
● mouse pointer does not switch to the ‘pointer’ state ● change of text size after language switch
when hovering over active element ● wrong web forms alignment
● spelling and grammatical errors ● Not unified fonts
● not aligned input fields in forms ● Selected elements don’t differ from not selected
● wrong displaying of elements after screen resolution elements
change or page scale
UI testing
● Screen Ruler
● What Font
● ColorZilla
● Perfect Pixel
● IE Tab
● Spell Checker
● Grammarly
Page ruler
The client, which is the user side device gives the System
A
instructions. Then the server which stores all the data and
information is asked to provide the required data or make Application
services
changes in the existing data.
Database System
services C
Architecture comparison
Client 1
request
Client 3
Architecture components
7 Application layer
5 Session layer
LLC
2 Data link layer
MAC
1 Network Access layer
1 Physical layer
OSI model
OSI
1. Physical layer
7 Application layer
At the first layer of the OSI model physical signals (current,
light, radio) are transmitted from the source to the recipient. At
6 Presentation layer
this level, we operate with cables, pins in connectors, coding
of ones and zeros, modulation, and so on.
5 Session layer
Network devices that belong to the first level are hubs and
repeaters - that is "stupid" pieces of iron that can simply work 4 Transport layer
with a physical signal without delving into its logic..
3 Network layer
1 Physical layer
OSI model
OSI
2. Data link layer
7 Application layer
At the second level, we operate with the concept of “frame”.
Here the first identifiers appear - MAC addresses. They consist
6 Presentation layer
of 48 bits and look something like this: 00:16:52:1f:03.
1 Physical layer
OSI model
OSI
3. Network layer
7 Application layer
The network layer introduces the term "routing" and the” IP
address”. At this level traffic is routed. If we want to get to the site
6 Presentation layer
wiki.merionet.ru, then we send a DNS request and receive a
response in the form of an IP address and substitute it into the
5 Session layer
packet.
3 Network layer
1 Physical layer
OSI model
OSI
4. Transportation layer
7 Application layer
Transportation layer ensures data transfer over the network. The
main start here are TCP and UDP. The difference is that each
6 Presentation layer
transport layer is used for different categories of traffic.
OSI
5. Session layer
7 Application layer
The session layer is what manages connections/sessions. An
example is the SMPP protocol (Short message peer-to-peer
6 Presentation layer
protocol), with the help of which well-known SMS and USSD
requests are sent. And the last example: PAP (Password
5 Session layer
Authentication Protocol) is an old protocol for sending a
username and password to a server without encryption.
4 Transport layer
3 Network layer
1 Physical layer
OSI model
OSI
6. Presentation layer
7 Application layer
At the sixth layer the message format conversion happens such
as encoding or compression. JPEG and GIF live here, for example.
6 Presentation layer
All images that you see on the screen are transmitted when
sending the file in the form of small portions of ones and zeros
5 Session layer
(bits). So, when you sent a photo to your friend, the SMTP
Application Layer protocol sends the photo to the lower layer, i.e.
4 Transport layer
to the presentation level. Where your photo is converted into a
convenient form of data such as bits (ones and zeros).
3 Network layer
1 Physical layer
OSI model
OSI
6. Presentation layer
7 Application layer
In exactly the same way, when your friend starts receiving your
photo, he will receive it in the form of all the same ones and zeros,
6 Presentation layer
and it is the Representation layer that converts the bits into a
full-fledged photo, such as JPEG.
5 Session layer
This is how this level works with protocols (standards) for images
(JPEG, GIF, PNG, TIFF), encodings (ASCII, EBDIC), music and
4 Transport layer
video (MPEG), etc.
3 Network layer
1 Physical layer
OSI model
OSI
7. Application layer
7 Application layer
The application layer is the one with which the user actually
interacts with. Whenever you interact with an application on your
6 Presentation layer
computer, you are active at the application level.
For example, if you are using Google Chrome or Skype, then you 5 Session layer
are interacting with the application at Layer 7. This layer uses
protocols such as HTTP, Telnet, and FTP. In short, this layer is 4 Transport layer
focused on end user processes and delivery of any application
that the user wants to access. 3 Network layer
1 Physical layer
Application layer
OSI
Application layer protocol examples:
7 Application layer
● HTTP - Hyper Text Transfer Protocol
● HTTPS - Hyper Text Transfer Protocol Secure
6 Presentation layer
● DNS - Domain Name System
● FTP - File Transfer Protocol
5 Session layer
● POP3 - Post Office Protocol v.3
● IMAP - Internet Message Access Protocol
4 Transport layer
● RTSP - Real Time Streaming Protocol
● SSH - Secure Shell
3 Network layer
● IRC - Internet Relay Chat
1 Physical layer
Network protocols
HTTP/HTTPS
● Functional testing
● Usability testing
● Stress Testing
● Cross-browser and cross-platform testing
● Security testing
Developer tool
● Mac OS - Ctrl+Cmd+I
● Windows - F12
● Linux - Ctrl+Shift+I
DevTools Settings
Interface theme
Hotkeys
Panel arrangement
With its help, you can track the elements and their
properties on the page, you can edit styles and check
the layout for overflow.
How to get information about an element?
Search by elements
Visual search
The console displays information about errors in the code, and you can also enter a command there, and it will be executed.
If fonts, pictures or styles are not loaded on the page, then error messages are displayed here. In the upper right corner of
DevTools, warning icons will appear that will open a console window.
Also, all errors in the JavaScript code will be displayed here, indicating the file and the specific place in it where the error
occurred.
Sources tab
Page screenshots
www.andersenlab.com