0% found this document useful (0 votes)
21 views2 pages

GUI Testing

The document provides instructions for exercises to practice GUI testing using the Katalon Recorder tool. The exercises include: 1. Recording a test case to check the title of amazon.com and that text is present on the page. 2. Creating tests to check that specific text is present as headers or options are selectable. 3. Performing searches and asserting titles match search terms. 4. Using variables to store search terms and access them in tests. 5. Creating data-driven tests by loading search terms from a CSV file. 6. Creating new test suites and cases for a university website and asserting links and text.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

GUI Testing

The document provides instructions for exercises to practice GUI testing using the Katalon Recorder tool. The exercises include: 1. Recording a test case to check the title of amazon.com and that text is present on the page. 2. Creating tests to check that specific text is present as headers or options are selectable. 3. Performing searches and asserting titles match search terms. 4. Using variables to store search terms and access them in tests. 5. Creating data-driven tests by loading search terms from a CSV file. 6. Creating new test suites and cases for a university website and asserting links and text.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

GUI Tes(ng – Exercises

1. Install Katalon Recorder as a browser extension for Chrome. Then, create a new
test suite and record your first test case: you should open the website of
Amazon (hCps://www.amazon.com/) and check that the Gtle of the page
(assertTitle) is equal to " Amazon.com. Spend less. Smile more. ". Note that the
expected value must be entered in the "Target" field.

2. Let us create a new test: open the website of Amazon and check that the text
“Today's Deals” appear somewhere within the main page (command
assertTextPresent).

3. Open the website of Amazon and check that the page includes the text “Make
Money with Us” as the header of the second column of links in the footer
(command assertText).

4. Open the website of Amazon and use the dropdown menu at the boCom of the
page to select the Euro currency. Once selected, check that the selected text in
the menu is equal to “EUR - Euro”.

5. Open the website of Amazon and perform a search for products using the
keyword “tablet”. Then, check that the Gtle of the page is “Amazon.com:
tablet”.

6. Repeat the previous test, but this Gme use a variable “keyword” to store the
search keyword before using it. To create the variable you must use the
command Store with Target=“tablet” and Value=”keyword”. A_er this, you
should be able to access the value of the variable using the syntax
${variable_name}.

7. Perform two searches with the same keyword using a different sorGng criterion
on each of them, for example, “Price: Low to High”, and “Price: High to Low”.
The number of results of both searches should be equal.

8. Let’s generalize the previous test using a data-driven approach. Create a CSV file
named “testData.csv” including a single column with 10 random search queries.
The header of the column should be “query”. Next, upload the file to Katalon
Recorder using the buCon “Test Data”. Once loaded, the variable “query”
should be accessible from the test case designer.

GUI Tes(ng – Exercises Second Part

1. Create a new test suite for the website of UCA (hCps://www.uca.es)


2. Create a test case to check the Gtle of this page.
3. Create a new test that check that there is a link “Rector” when we click
“CONOCENOS”
4. Create a new test that check the text “Campus Virtual” appear somewhere
within the main page.
5. Create a test case that automates the checking of the text "Virtual Campus"
within a page for a list of URLs that are in a text file.
6. Check that the results obtained when searching for COVID in the UCA search
engine on the main website hCps://www.uca.es match the same UCA search
engine on the main ESI website (hCps://esingenieria.uca.es).

You might also like