Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

725 total results found

Grant Microphone Permissions for Scenario Editor Tests

9.13 - Test Designer 2.0 / Test Designe...

Last reviewed: October 2, 2026 Use this article when a Scenario Editor test must interact with a browser workflow that requests microphone access. What changed in this article Replaced generic permission wording with Scenario Editor and browser permission setu...

How to get the application URL?

9.13 - Test Designer 2.0 / Test Designe...

Suppose you want to extract the URL of the application. Below is the method to extract it. _eval("window.location.href") ...

How to get all values of dropdown

9.13 - Test Designer 2.0 / Test Designe...

Below is example script that shows how to get all text and option values of dropdown SetSelectedExamples.ds ...

How to get hidden elements from DOM?

9.13 - Test Designer 2.0 / Test Designe...

Steps: Open the application in the chrome browser ...

How to Generate a Random Number Within a Given Range

9.13 - Test Designer 2.0 / Test Designe...

You can use the following JavaScript expression to generate a random integer within a specified range, including both the minimum and maximum values: var $randomnumber = Math.floor(Math.random() * ($maximum - $minimum + 1)) + $minimum; For example, the followi...

How to fetch specific date format?

9.13 - Test Designer 2.0 / Test Designe...

Ex: October 20, 2020 =today().format('MMMM d,Y') Add Functions and methods in JS DPL: ...

How to Data-Drive Xpaths

9.13 - Test Designer 2.0 / Test Designe...

In some scenarios, the XPath used by an accessor may need to be dynamically generated based on test data. Test Designer supports data-driven XPaths by using variables within the XPath expression. The following example shows how to use a variable as part of an ...

How to Fetch a row which has a particular Style?

9.13 - Test Designer 2.0 / Test Designe...

If the user wants to click a particular link for with Particular Style Ex: if the user wants to click the link which has Style = background-color:rgb(1,0,0) The user can...

How to extract Only Number and "." from a string?

9.13 - Test Designer 2.0 / Test Designe...

string.replace(/[^0-9.]/g, "") / string.replace(/[^a-zA-Z0-9.]/g, '') ...

Check Whether a Scrollbar Has Reached the Bottom

9.13 - Test Designer 2.0 / Test Designe...

When working with applications that contain scrollable grids or containers, you may need to scroll through the content until a specific cell becomes visible. The following function checks whether the specified cell is visible. If the cell is not visible, it sc...

Generate a Three-Digit Random Number in Scenario Editor

9.13 - Test Designer 2.0 / Test Designe...

Generate a Three-Digit Random Number in Scenario Editor Use generated numeric data when a Scenario Editor test needs a simple unique or variable value. Keep the generation rule easy to understand and validate that the application accepts the expected numeric r...

Create Unique Strings in Scenario Editor Scripts

9.13 - Test Designer 2.0 / Test Designe...

Last reviewed: September 28, 2026 Use this article when a Scenario Editor script needs unique values for usernames, emails, order IDs, or other test data. What changed in this article Replaced “designer script” wording with Scenario Editor terminology. Added e...

Call JavaScript Functions from Scenario Editor

9.13 - Test Designer 2.0 / Test Designe...

Last reviewed: September 25, 2026 Use this article when a Scenario Editor test needs to call a custom JavaScript function from JS Edit & Play. What changed in this article Replaced “Test Designer IDE” wording with Scenario Editor terminology. Corrected the old...

Data-Drive Wait Values in Scenario Editor

9.13 - Test Designer 2.0 / Test Designe...

Data-Drive Wait Values in Scenario Editor Use data-driven wait values only when different test data genuinely requires different timing. Prefer conditional waits based on application state whenever possible. When data-driven waits make sense Different workflow...

Validate Scrolling Reaches the Bottom of a Page

9.13 - Test Designer 2.0 / Test Designe...

Validate Scrolling Reaches the Bottom of a Page Use this pattern when a Scenario Editor test must confirm that the browser reached the bottom of a page, list, or scrollable container. This is common for lazy-loaded content, terms pages, infinite scroll, or lon...

How to escape special characters in Designer

9.13 - Test Designer 2.0 / Test Designe...

What do we do when we encounter a special character and we have to assert it in a designer script ? ...

Close Browser Windows in Scenario Editor

9.13 - Test Designer 2.0 / Test Designe...

Close Browser Windows in Scenario Editor Use this guidance when a Scenario Editor test opens a second browser window, tab, or popup and must return to the main application flow. Keep window handling explicit so the test does not continue in the wrong context. ...

How to handle Multiple DPL files in Test Designer IDE

9.13 - Test Designer 2.0 / Test Designe...

We can add multiple DPL files in Test Designer IDE. Once the user adds one of the DPL files in Data tab User can still add other DPL files if any with the help of API that is already available for Hash DPL and JS DPL. ...