Get in Touch
 Duration 21 hours

Course Outline

1. Introduction

  • Introduction to software test automation.
  • Overview of functional and regression testing.
  • Benefits and limitations of automated testing.
  • Introduction to SmartBear TestComplete.
  • TestComplete architecture and key components.
  • Supported application types and testing technologies.
  • Understanding the TestComplete workspace and user interface.

2. Overview of TestComplete

  • Key features and capabilities of TestComplete.
  • Understanding keyword-driven and script-based testing.
  • Introduction to the TestComplete project structure.
  • Understanding test projects, project suites, and test items.
  • Overview of supported scripting languages.
  • Exploring the Object Browser and Object Spy.
  • Understanding the TestComplete object model.

3. Setting Up the Testing Environment

  • Identifying system requirements and prerequisites.
  • Preparing the application under test.
  • Configuring browsers, devices, and testing environments.
  • Understanding test accounts, test data, and application configurations.
  • Setting up shared testing resources.
  • Configuring project properties and execution settings.

4. Installing and Configuring TestComplete

  • Installing TestComplete.
  • Understanding licensing and activation.
  • Configuring TestComplete preferences.
  • Creating a new project and project suite.
  • Configuring project properties and test settings.
  • Managing extensions and plugins.
  • Verifying the testing environment.

5. Automating a Web Application

  • Introduction to web application automation.
  • Configuring supported browsers.
  • Understanding web page objects and browser controls.
  • Identifying web elements and their properties.
  • Using the Object Spy to inspect web elements.
  • Creating and recording web tests.
  • Automating common web interactions.
  • Working with forms, buttons, links, tables, and dropdowns.
  • Handling dynamic web elements.
  • Synchronizing tests with web application behavior.
  • Validating web application functionality.
  • Practical exercise: Creating and executing a web application test.

6. Using the Web Services Checkpoint

  • Introduction to web services testing.
  • Understanding REST and SOAP web services.
  • Configuring web service requests.
  • Creating web service checkpoints.
  • Validating response codes and response content.
  • Verifying response headers and data.
  • Handling JSON and XML responses.
  • Integrating web service validation into automated tests.
  • Practical exercise: Testing a web service endpoint.

7. Handling Events

  • Understanding events in automated testing.
  • Working with mouse and keyboard events.
  • Handling application dialogs and pop-up windows.
  • Managing unexpected application behavior.
  • Handling exceptions and runtime errors.
  • Implementing event-driven test logic.
  • Working with asynchronous application events.
  • Practical exercise: Automating interactions involving application events.

8. Starting a Debug Session

  • Introduction to debugging in TestComplete.
  • Understanding the debugging environment.
  • Setting and managing breakpoints.
  • Executing tests step by step.
  • Using the Call Stack and Watch List.
  • Inspecting variables and object properties.
  • Identifying and resolving script errors.
  • Debugging keyword tests and script routines.
  • Practical exercise: Debugging a failed automated test.

9. Creating Checkpoints

  • Introduction to checkpoints and test validation.
  • Understanding different checkpoint types.
  • Creating property checkpoints.
  • Creating object checkpoints.
  • Creating table checkpoints.
  • Creating database checkpoints.
  • Creating file checkpoints.
  • Creating region checkpoints.
  • Using web service checkpoints.
  • Comparing expected and actual results.
  • Managing checkpoint failures.
  • Practical exercise: Implementing checkpoints in an automated test.

10. Creating a Group of Tests

  • Understanding test organization in TestComplete.
  • Creating and managing test items.
  • Grouping related automated tests.
  • Organizing tests into logical execution sequences.
  • Managing test dependencies.
  • Configuring test execution order.
  • Using project suites to organize multiple projects.
  • Running individual tests and complete test groups.
  • Configuring test execution parameters.
  • Practical exercise: Creating and executing a test suite.

11. Analyzing the Test Results

  • Understanding the TestComplete test log.
  • Interpreting test execution results.
  • Analyzing passed, failed, and warning statuses.
  • Reviewing screenshots and error messages.
  • Identifying the root causes of test failures.
  • Using test logs for troubleshooting.
  • Exporting and sharing test results.
  • Generating test reports.
  • Understanding execution statistics.
  • Improving test reliability based on test results.

12. Adapting Tests for Mobile Applications

  • Introduction to mobile application testing.
  • Understanding mobile testing capabilities in TestComplete.
  • Configuring mobile testing environments.
  • Connecting mobile devices and emulators.
  • Understanding mobile object identification.
  • Inspecting mobile application objects.
  • Recording and creating mobile tests.
  • Automating gestures, taps, swipes, and scrolling.
  • Handling different screen sizes and resolutions.
  • Testing application behavior across devices.
  • Validating mobile application functionality.
  • Practical exercise: Creating a mobile application test.

13. Testing a Desktop Application

  • Introduction to desktop application automation.
  • Understanding supported desktop application technologies.
  • Configuring desktop application testing.
  • Identifying windows, controls, and UI elements.
  • Using the Object Browser and Object Spy.
  • Recording desktop application tests.
  • Automating menus, dialogs, buttons, and forms.
  • Handling keyboard and mouse interactions.
  • Working with desktop application properties.
  • Synchronizing automated tests with application behavior.
  • Validating desktop application functionality.
  • Practical exercise: Automating a desktop application workflow.

14. Creating a Manual Test

  • Introduction to manual testing in TestComplete.
  • Understanding manual test creation.
  • Creating manual test steps.
  • Defining test instructions and expected results.
  • Organizing manual test cases.
  • Executing manual tests.
  • Recording actual results and observations.
  • Documenting defects and test failures.
  • Combining manual and automated testing approaches.

15. Creating a Test Framework

  • Introduction to test automation frameworks.
  • Understanding framework architecture and design principles.
  • Choosing between keyword-driven and script-based approaches.
  • Designing reusable test components.
  • Implementing modular test structures.
  • Creating shared functions and procedures.
  • Using Name Mapping for object identification.
  • Configuring aliases and mapped objects.
  • Managing test data and external data sources.
  • Implementing data-driven testing.
  • Parameterizing test cases.
  • Managing test configurations across environments.
  • Implementing error handling and logging.
  • Creating reusable test utilities.
  • Applying best practices for maintainable automation frameworks.
  • Practical exercise: Building a reusable test automation framework.

16. Using TestComplete's Script Extensions

  • Introduction to TestComplete script extensions.
  • Understanding script extension architecture.
  • Exploring available script extensions.
  • Working with custom scripting functionality.
  • Creating reusable script extensions.
  • Extending TestComplete functionality.
  • Integrating custom scripts into automated tests.
  • Managing and maintaining script extensions.
  • Practical exercise: Implementing a custom script extension.

17. Troubleshooting

  • Identifying common TestComplete issues.
  • Troubleshooting object recognition problems.
  • Resolving synchronization and timing issues.
  • Handling unstable automated tests.
  • Troubleshooting browser and application compatibility.
  • Diagnosing script execution errors.
  • Investigating checkpoint failures.
  • Analyzing execution logs and debugging information.
  • Improving test stability and performance.
  • Applying best practices for test maintenance.

18. Advanced Test Automation Practices

  • Implementing reusable and modular test components.
  • Managing automated test execution across environments.
  • Working with version control systems.
  • Integrating TestComplete with CI/CD pipelines.
  • Automating test execution through command-line tools.
  • Integrating automated testing with defect tracking systems.
  • Managing test data and test environments.
  • Reducing flaky tests and improving execution reliability.
  • Maintaining automation scripts as applications evolve.

19. Practical Workshop and Final Project

  • Reviewing the TestComplete project structure.
  • Designing an end-to-end automation scenario.
  • Creating automated test cases for a sample application.
  • Implementing object mapping and checkpoints.
  • Developing reusable test functions.
  • Executing a complete regression test suite.
  • Debugging and troubleshooting test failures.
  • Analyzing test results and preparing reports.
  • Presenting the completed automation project.

20. Summary and Conclusion

  • Review of TestComplete features and capabilities.
  • Recap of key automation concepts.
  • Review of framework development techniques.
  • Discussion of common challenges and solutions.
  • Best practices for maintaining automated tests.
  • Recommendations for further learning.
  • Questions and answers.

Requirements

  • An understanding of automation testing concepts.
  • An understanding of programming languages such as VBScript, JScript, DelphiScript, C++Script, C#Script, etc.

Audience

  • Automation test engineers
  • Developers

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories