Flows

Flows

How to get checkbox state in Desktop application?

The state of the checkbox (checked/unchecked) in the Desktop Application can be fetched by adding a Toggle state property in the strategy editor of the captured element. Below are the steps to be followed to get the state of the checkbox in Desktop UI:

  1. Use a Find UI Element block and capture the element having the checkbox.

Using Loop in Leapwork

Introduction: Like any other programming language in Leapwork, a Loop block is used to perform a certain operation(s) for a specific number of times or until a condition is true. It can be used:

How to debug a test case in Leapwork

Debugging is a multi-step process that involves identifying a problem, isolating the source of the problem, and then either correcting the problem or determining a way to work around it. The final step of debugging is to test the correction or workaround and make sure it works. Leapwork allows the user a very easy and convenient way to debug test cases.

How to fix the error, "Web Element not found in 10 seconds"

If you receive the error message, "WebElement not found in 10 seconds" while executing a flow in Leapwork, it is due to synchronization issues between the test application and Leapwork's speed of test execution. Here are three possible reasons:

How to remove unused elements from a Leapwork flow or folder?

During our day-to-day flow creation activities, we create lots of elements/images/data which are not used. It is wise to get rid of these unused assets for clarity and maintainability.

Difference between Only flow, Full copy, Full restore while restoring a previous version of a Test flow

While working on any Development or Testing framework or tool, one of the most important features is to be able to restore to previous versions. Leapwork does provide users the functionality to restore previous versions.

Difference between Copy and Duplicate?

Leapwork provides functionality to copy or duplicate the flows/sub-flows.
Copy: The copy option is used to make a copy of a flow/sub-flow, leaving references to the original locators.

How to rename a sub-flow block

While creating a sub-flow, a default sub-flow name is suggested by Leapwork. However, users may want to rename it to make it more meaningful and identifiable.

I am getting error "Flow is stopped because it has run for 600 seconds, which is the flow timeout"?

The "Flow is stopped because it has run for 600 seconds, which is the flow timeout" error message appears when the execution time exceeds the maximum run time allowed (default is 600 seconds).

How to check version history

Version control is available for users with Administrator and Contributor roles. Leapwork supports version control for both flows and sub-flows. Every time you click save, a version number is set.