How to Generate a random value (string/date/number) in ATF shared paramter?

Laloo1
Kilo Contributor

How to Generate a random value (string/date/number) in ATF?

E.g: I have set type of parameter as Script.

find_real_file.png

In the Script i have mentioned the below.

find_real_file.png

But not sure how to output this, so i can use it in the Test step.

1 ACCEPTED SOLUTION

Hi Laloo

Strange, we are using it. For "Run Server Side Script" you can use outputs.record_id. It accepts maximum length of 32. 

--
Best Regards
Ankush

P.S. Please mark helpful/correct as appropriate to help the fellow community member in identifying the relevant answers.

View solution in original post

5 REPLIES 5

Hi Laloo

Strange, we are using it. For "Run Server Side Script" you can use outputs.record_id. It accepts maximum length of 32. 

--
Best Regards
Ankush

P.S. Please mark helpful/correct as appropriate to help the fellow community member in identifying the relevant answers.