![]() ![]() The test case Order and check out a single product adds a single product to the shopping cart, and checks out.Double-click to open one of the following test cases: ![]() To view the Custom-keyword samples test cases in this project, in the Test Explorer panel, go to Test Cases > Custom-keyword samples. You can see the use of custom keywords in our sample test cases as below: Test cases. This file contains keywords that assist the keywords in the oovy file.Ĭustom keywords can be reused many times in test cases to perform different actions such as logging in, adding items to the cart, and checking out. This file contains custom keywords that perform adding-to-the-cart actions. This file contains custom keywords that perform selecting actions. This file contains custom keywords that perform login actions. This file contains custom keywords that perform checkout actions. This file contains a custom keyword that waits for the overlay in the Checkout page to disappear. To view our sample custom keywords, in the Test Explorer panel, go to Keywords > sample. To learn more about custom keywords, you can refer to this document: Introduction to custom keywords. ![]() Katalon also creates sample custom keywords in this sample project. Katalon creates 19 global variables in this sample project as follows: Name To learn more about execution profile, you can refer to this document: Execution profile. They can be used across test cases in your project. You can create and save all global variables in the execution profile. To open the execution profile, go to Profiles > default. Shopping Cart sample project components Profiles In Katalon Studio - Platform Edition, open that project by going to File > Open Project. See: Upload Test Scripts from a Git Repository. On Katalon TestOps, open a project and clone this sample test from our GitHub repository: Shopping Cart sample. To open the Shopping Cart sample project, in Katalon Studio, go to File > New Sample Project > Sample Web UI Tests Project (Shopping Cart).Īlternatively, you can download the Shopping Cart sample project from our GitHub repository: Shopping Cart sample. Open the Shopping Cart sample project In Katalon Studio You can learn more about WebUI testing in this document: Introduction to WebUI testing. The Application Under Test (AUT) is the Katalon shop website. This sample also shows you an extensive use of custom keywords in the test case. This sample demonstrates WebUI testing with data-driven testing in Katalon Studio. Sample WebUI tests project with data-driven testing (Shopping Cart sample) in Katalon Studio ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |