How to make randomized querys?

Advanced programming using WinTask scripting language

How to make randomized querys?

Postby Vik on Sat Mar 15, 2014 9:34 am

I have a technical question. Can I program a file with some ID numbers to make randomized querys using the robot over an application? if yes, what is the function?
Posts: 3
Joined: Fri Jun 07, 2013 12:43 pm

Re: How to make randomized querys?

Postby TechSupport on Tue Mar 18, 2014 11:20 am


If you want to create random values, you can use the WinTask Random function.

If your IDs have a specific format, and you know in advance which IDs will return a correct query, you can create an external file, for example an Excel file where you put in a column different IDs. Then using ReadExcel function, you can populate an array with those IDs, and then in a loop type in the query field the ith element of the array.

You can watch this video , it explains how to use a loop and Readexcel to populate a form, in your case, you have only one field to type, but it's the same way to proceed.

WinTask Tech Support
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am

Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 1 guest