Chapter 1: Introducing Unified Functional Testing
GUI Testing for Web Applications
Start
GUI Testing for Web Applications
Table of contents
2. GUI Testing
3. GUI Manual Testing
1. GUI
5. Testing Process
6. UFT Window
4. Automated Testing
Quiz
What is a GUI?
Graphical User Interface (GUI)
Is a system of interactive visual components for software. A GUI displays objects that convey information, and represent actions that can be taken by the user. The objects change color, size, or visibility when the user interacts with them.
GUI TESTING
What is GUI Testing?
GUI Testing is the process of testing a product that uses a graphical user interface, to ensure that the end product is satisfying the requirement specified by the client, and how easy it is to understand by a common user.
Drawbacks
GUI Manual Testing
- Tedious and Time consuming
- Error prone
- Executing the same clicks over and over again
- Heavy investment in human resources
- Rerunning the same tests after changes
- Filling the same forms over and over again
Benefits - GUI Testing
Dramatically speeding up the testing process
Benefits of Automated GUI Testing
Create tests that check all aspects of the app or site, and run tests for every changes made
How does Automated GUI Testing addresses the Manual Testing's Problems?
Simulates human user, but faster than any human user
Benefits - GUI Testing
TESTING PROCESS
The testing process consists of the following main phases:
Testing Process
01
Analyzing your application
05
Debugging, running, and analyzing your test.
03
Building your tests and adding steps to each test.
02
Preparing the testing infrastructure
04
Enhancing your test.
06
Reporting defects.
Testing Process
What are your application's development environments?
Create tests that check all aspects of the app or site, and run tests for every changes made
ANALYZING YOUR APPLICATION
01
How can you break your test into small testable units and tasks?
Testing Process
Build the set of resources to be used by your tests.
Configure UFT according to your testing needs.
pREPARING THE TESTING INFRASTRUCTURE
02
Create one or more tests that serve as action repository tests.
EXAMPLE: Object repositories, and Function libraries
Testing Process
You can create one or more empty tests and add actions to them to create the testing skeletons.
You associate your object repositories with the relevant actions, and associate your function libraries with the relevant tests, so that you can insert steps using keywords.
BUILDING YOUR TESTS AND ADDIG STEpS TO EACH STEP
03
You can also add all your tests to a single solution. A solution enables you to store, manage, and edit any related tests together, without having to close one test before opening another.
You may also need to configure test preferences at this point.
Testing Process
Insert checkpoints and output values into your test.
Use output values to extract data from your test.
ENHANCING YOUR TEST
04
Replace fixed values with parameters to broaden the scope of your test.
Add user-defined functions by creating function libraries and calling their functions from your test.
Testing Process
You can debug your test using debugging functionality to ensure that it operates smoothly and without interruption.
DEBUGGING, RUNNING, AND ANALYZING YOUR TEST
After the test is working correctly, you run it to check the behavior of your application.
05
While running, UFT opens the application and performs each step in your test. Examine the run results to pinpoint defects in your application.
Testing Process
View still images or movies.
Local system monitoring.
06
reporting defects
Report defects in ALM.
Report defects automatically or manually.
UFT WINDOW
It's best to familiarize yourself with the main UFT window before beginning to create tests.
UFT Window
Document Types
The document pane can display the following types of file:
- Tests
- Action or Business Components
- Function Libray.
- Application Areas.
- Start Page.
- Product Movies.
- Internal Browser Pages.
Toolbars and Menu
In addition to the documnet pane, the UFT Window contains the following keys:
UFT Window - Panes
UFT Window - Solution Explorer
UFT Window - Toolbox/Toolbar
UFT Window - Panes
UFT Window - Data Pane
UFT Window - Panes
UFT Window - Output Pane
UFT Window - Errors Pane
UFT Window - Active Screen
UFT Window - Panes
UFT Window - Pane
ACCESSING UFT IN WINDOWS 8.X OR HIGHER OPERATING SYSTEMS
- By default, you can access UFT directly from the Start or Apps Screen.
- You can add UFT Tools and files that were accessible from the Start menu in previous versions of Windows to the Start screen including:
- Applications (.exe files).
- The Run Results Viewer.
- All UFT Tools
- The API testing sampleFlight Applications
Learning Unit completed
Thank you!
Home
1/20
A system of interactive visual components for software.
UI
GUI
CUI
Correct!
Continue
2/20
This is one of the benefits of GUI Testing in which you can reuse tests on different versions of a Web site or application, even if the user interface changes.
Repeatable
Reliable
Reusable
Correct!
Continue
3/20
A testing process where you can create one or more empty tests and add actions to them to create the testing skeletons.
Building your tests and adding steps to each step
Preparing the testing infrastructure
Enhancing your test
Correct!
Continue
4/20
This displays all the resources associated with your current test, and enables you to manage these resources.
Document Pane
Solution Explorer
Toolbox
Correct!
Continue
5/20
This displays information sent during the run session.
Output
Active Screen
Errors
Correct!
Continue
6/20
Can view the results of the run in the Run Results Viewer, including both a summary and a detailed report, and you can report defects detected during the run session.
Reporting Defects
Debug Panes
Bookmarks
Correct!
Continue
7/20
The process of testing a product that uses a graphical user interface, to verify that a software's GUI not only behaves as intended but also empowers users to make the most out of it with the least effort.
UFT
GUI Testing
CUI Testing
Correct!
Continue
8/20
One of the drawbacks of manual testing
Human resources investment
Tedious
Time-saving
Correct!
Continue
UFT Window - Quiz
9/20
This is the first step in theTesting Process
Analyzing your application
UI
CUI
Correct!
Continue
10/20
This is the second step in the Testing Process
Enhancing your tests
Analyzing your application
Debugging, running, and analyzing your tests
Preparing the testing infrastructure
Building your tests and adding steps to each test
Reporting defects
11/20
This is the fourth step in the Testing Process
Enhancing your tests
Analyzing your application
Debugging, running, and analyzing your tests
Preparing the testing infrastructure
Building your tests and adding steps to each test
Reporting defects
Data Pane
Identify the following UFT Window
12/20
Watch
Solution Explorer
Identify the following UFT Window
13/20
Watch
Toolbox/Toolbar
Identify the following UFT Window
14/20
Watch
Errors Pane
Identify the following UFT Window
15/20
Watch
Active Screen
Identify the following UFT Window
16/20
Watch
UFT Window - Quiz
17-18
Watch
How does the automated testing addresses the manual testing's drawback?
Dramatically speeding up the testing process
Create tests that check all aspects of the app or site, and run tests for every changes made
Simulates human user, but faster than any human user
UFT Window - Quiz
19-20
Watch
Give two (2) benefits of Automated Testing
Fast
Reliable
Repeatable
Programmable
Comprehensive
Reusable
Wrong
Oops, Wrong answer
Try again
For presentation - quiz
Noreen
Created on March 11, 2023
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Essential Learning Unit
View
Akihabara Learning Unit
View
Genial learning unit
View
History Learning Unit
View
Primary Unit Plan
View
Vibrant Learning Unit
View
Art learning unit
Explore all templates
Transcript
Chapter 1: Introducing Unified Functional Testing
GUI Testing for Web Applications
Start
GUI Testing for Web Applications
Table of contents
2. GUI Testing
3. GUI Manual Testing
1. GUI
5. Testing Process
6. UFT Window
4. Automated Testing
Quiz
What is a GUI?
Graphical User Interface (GUI)
Is a system of interactive visual components for software. A GUI displays objects that convey information, and represent actions that can be taken by the user. The objects change color, size, or visibility when the user interacts with them.
GUI TESTING
What is GUI Testing?
GUI Testing is the process of testing a product that uses a graphical user interface, to ensure that the end product is satisfying the requirement specified by the client, and how easy it is to understand by a common user.
Drawbacks
GUI Manual Testing
Benefits - GUI Testing
Dramatically speeding up the testing process
Benefits of Automated GUI Testing
Create tests that check all aspects of the app or site, and run tests for every changes made
How does Automated GUI Testing addresses the Manual Testing's Problems?
Simulates human user, but faster than any human user
Benefits - GUI Testing
TESTING PROCESS
The testing process consists of the following main phases:
Testing Process
01
Analyzing your application
05
Debugging, running, and analyzing your test.
03
Building your tests and adding steps to each test.
02
Preparing the testing infrastructure
04
Enhancing your test.
06
Reporting defects.
Testing Process
What are your application's development environments?
Create tests that check all aspects of the app or site, and run tests for every changes made
ANALYZING YOUR APPLICATION
01
How can you break your test into small testable units and tasks?
Testing Process
Build the set of resources to be used by your tests.
Configure UFT according to your testing needs.
pREPARING THE TESTING INFRASTRUCTURE
02
Create one or more tests that serve as action repository tests.
EXAMPLE: Object repositories, and Function libraries
Testing Process
You can create one or more empty tests and add actions to them to create the testing skeletons.
You associate your object repositories with the relevant actions, and associate your function libraries with the relevant tests, so that you can insert steps using keywords.
BUILDING YOUR TESTS AND ADDIG STEpS TO EACH STEP
03
You can also add all your tests to a single solution. A solution enables you to store, manage, and edit any related tests together, without having to close one test before opening another.
You may also need to configure test preferences at this point.
Testing Process
Insert checkpoints and output values into your test.
Use output values to extract data from your test.
ENHANCING YOUR TEST
04
Replace fixed values with parameters to broaden the scope of your test.
Add user-defined functions by creating function libraries and calling their functions from your test.
Testing Process
You can debug your test using debugging functionality to ensure that it operates smoothly and without interruption.
DEBUGGING, RUNNING, AND ANALYZING YOUR TEST
After the test is working correctly, you run it to check the behavior of your application.
05
While running, UFT opens the application and performs each step in your test. Examine the run results to pinpoint defects in your application.
Testing Process
View still images or movies.
Local system monitoring.
06
reporting defects
Report defects in ALM.
Report defects automatically or manually.
UFT WINDOW
It's best to familiarize yourself with the main UFT window before beginning to create tests.
UFT Window
Document Types
The document pane can display the following types of file:
Toolbars and Menu
In addition to the documnet pane, the UFT Window contains the following keys:
UFT Window - Panes
UFT Window - Solution Explorer
UFT Window - Toolbox/Toolbar
UFT Window - Panes
UFT Window - Data Pane
UFT Window - Panes
UFT Window - Output Pane
UFT Window - Errors Pane
UFT Window - Active Screen
UFT Window - Panes
UFT Window - Pane
ACCESSING UFT IN WINDOWS 8.X OR HIGHER OPERATING SYSTEMS
Learning Unit completed
Thank you!
Home
1/20
A system of interactive visual components for software.
UI
GUI
CUI
Correct!
Continue
2/20
This is one of the benefits of GUI Testing in which you can reuse tests on different versions of a Web site or application, even if the user interface changes.
Repeatable
Reliable
Reusable
Correct!
Continue
3/20
A testing process where you can create one or more empty tests and add actions to them to create the testing skeletons.
Building your tests and adding steps to each step
Preparing the testing infrastructure
Enhancing your test
Correct!
Continue
4/20
This displays all the resources associated with your current test, and enables you to manage these resources.
Document Pane
Solution Explorer
Toolbox
Correct!
Continue
5/20
This displays information sent during the run session.
Output
Active Screen
Errors
Correct!
Continue
6/20
Can view the results of the run in the Run Results Viewer, including both a summary and a detailed report, and you can report defects detected during the run session.
Reporting Defects
Debug Panes
Bookmarks
Correct!
Continue
7/20
The process of testing a product that uses a graphical user interface, to verify that a software's GUI not only behaves as intended but also empowers users to make the most out of it with the least effort.
UFT
GUI Testing
CUI Testing
Correct!
Continue
8/20
One of the drawbacks of manual testing
Human resources investment
Tedious
Time-saving
Correct!
Continue
UFT Window - Quiz
9/20
This is the first step in theTesting Process
Analyzing your application
UI
CUI
Correct!
Continue
10/20
This is the second step in the Testing Process
Enhancing your tests
Analyzing your application
Debugging, running, and analyzing your tests
Preparing the testing infrastructure
Building your tests and adding steps to each test
Reporting defects
11/20
This is the fourth step in the Testing Process
Enhancing your tests
Analyzing your application
Debugging, running, and analyzing your tests
Preparing the testing infrastructure
Building your tests and adding steps to each test
Reporting defects
Data Pane
Identify the following UFT Window
12/20
Watch
Solution Explorer
Identify the following UFT Window
13/20
Watch
Toolbox/Toolbar
Identify the following UFT Window
14/20
Watch
Errors Pane
Identify the following UFT Window
15/20
Watch
Active Screen
Identify the following UFT Window
16/20
Watch
UFT Window - Quiz
17-18
Watch
How does the automated testing addresses the manual testing's drawback?
Dramatically speeding up the testing process
Create tests that check all aspects of the app or site, and run tests for every changes made
Simulates human user, but faster than any human user
UFT Window - Quiz
19-20
Watch
Give two (2) benefits of Automated Testing
Fast
Reliable
Repeatable
Programmable
Comprehensive
Reusable
Wrong
Oops, Wrong answer
Try again