Advanced Search
Search Results
725 total results found
How to handle pop-ups in a website using designer?
The user will not be knowing when exactly the window might be popped up and has to handle the popup with an if condition so that, if a particular message or a link or an image is present in the popup and the user recognizes that particular element and has to t...
How to hold and free toast message
To hold toast message _eval("hold_toaster = setInterval(function() { $('.toast-message').mouseenter() })") To free toast message _eval("clearInterval(hold_toaster);$('.toast-message').mouseleave()") ...
How to parameterize files for the file upload feature?
Question: How to parameterize files for the file upload feature? (Like we have a random set of files as test data for upload) Attached is the Test designer script and ass...
How to Read and Write multiple rows from the CSV file?
var Account = readCSVListHashMap("{ds}/Account.csv"); var ini=0; var i=0; var $data = new Array(); $data.push(["Email", "Password","PhoneNumber","Date","Month","Year"]) while (ini<Account.length){ var Email=Account.get(ini).get("Email"); var Password=Account.g...
How to remove all extra spacing between words?
Text1.replace(/ {1,}/g," ") The g at the end of the RegExp means: global, ie match and replace all occurrences. ...
How to retrieve all the elements on a page
Please use the following line of code in test designer IDE that will log all the elements on a given page. getTagsSmartTags() API will get all the elements of a web page. ...
How to retrieve the only number from a string?
Suppose there is a pop-up like below which has a combination of text and Numbers and if we want to retrieve only Numbers Then we can use the below code to fetch only Numb...
How to retrieve value between 2 characters?
var str="Cart saved as Quote No :14393430*"; var mySubString = str.substring(str.lastIndexOf(":") + 1,str.lastIndexOf("*")); You can use the below code to retrieve the va...
How to stop the Sahi logging feature in Appvance IQ.
While I am running sahi/designer based vusers in Appvance IQ, sahi logs are taking up lot of disk space (sometimes 100 GB in 3 to 4 days). How can we disable the traffic logs that are written to this folder? /AIQ/sahi/userdata/logs/traffic Solution: Kill a...
How to trim a string value from a string?
For example: Need only " 14393430" from the string "Cart saved as Quote : 14393430" use the below function: var quote = "Cart saved as Quote : 14393430" var quotenum=quot...
How to use custom functions from JS file in Test Designer
We are calling the JS function from the DS script and it returns the values after evaluation The JS function that we have...
How to Validate whether the video is played back?
_eval('document.getElementsByClassName("jw-video jw-reset")[0].currentTime') Look for the Video tag in the DOM and use the class or id of it. ...
Verify Checkbox Checked and Unchecked States
Last reviewed: September 28, 2026 Use this article when a Scenario Editor validation needs to confirm whether a checkbox is selected or cleared. What changed in this article Cleaned up the title punctuation and changed it into a direct validation task. Added g...
How to verify Sorting Functionality
You can use a JavaScript function to verify whether the values displayed in a table are sorted in ascending or descending order. The following example retrieves the values from a table column, stores them in an array, and compares each value with the next valu...
How to verify the disabled button?
To verify the disabled button where XML syntax is like below: <button type="button" disabled>Add Comment</button> Use the below code to verify disabled: ...
Include functionality in Appvance Designer
To reuse a function from one script in another, we include the relevant script using the include Action from Appvance Designer. Usage: include relative:-<filename> Th...
Latency in AssertExists.
We need to do load testing of our web page. I have a designer script that checks 30 components on the page using assetExists. Appvance is taking up to 1 second to perform each assert check so using it for load testing is not feasible. The assert check shoul...
Log Specific Errors During Scenario Execution
Last reviewed: September 29, 2026 Use this article when a Scenario Editor test needs to capture targeted errors for debugging or reporting. What changed in this article Changed the vague title into an execution logging task. Added guidance for capturing step c...