February 13, 2023
We've been through the test automation framework build in Building a Test Automation Framework with TestComplete – Part 2. Now we're ready to start building out the automated tests. The following steps walk you through the creation of the test cases, building the folder structure and adding those checkpoints. And just for a final bit of entertainment we're going to look at some refactoring. Following on from the last post then… 19. Add Test Folders for all the Features 20. Add Tests to the FeatureOrderEntry Folder Add new Keyword tests (you don’t need to add test steps yet) for the scenarios you plan to test. 21. Create Your ‘EnterOrderValid’ Test In the workspace for the ‘EnterOrderValid’ test drag across all...
Read more...
If you've been through the Building a Framework with TestComplete post you'll understand what we're aiming for with this TestComplete framework build. In this post we walk you through each step for this build. Please note that we're NOT listing every single detail about creating this framework. This post is designed to highlight the process and main components you’ll need to develop in order to implement a keyword framework. You will need to use your own skills, existing TestComplete knowledge and experience to fill in some of the detail. 1. Create a new project Make sure you select “Use XPath and CSS selectors for web objects” 2. Add new folders Folder to add Pages Components Tests UtilsWebOrders UtilsBrowser 3. Project...
Read more...
February 1, 2023
This three part blog series (with videos) walks you through building a test automation framework using the Keyword testing functionality within TestComplete. Just tiny bit of code but pretty much everything using just keyword tests. This is about showing you how to build a structure that's easier to scale and maintain. It's about showing you how to avoid you projects turning into a plate of spaghetti. When we talk about ‘keywords’ we’re talking about the feature in TestComplete allows you to build tests with this graphical icon based, drag and drop approach to building automated tests. The approach to building automated tests that SmartBear have confusingly called ‘keyword testing’. This is not to be confused with the other more general...
Read more...