How to generate random unique number for a field each time test run? | Selenium Training|Java|WebDriver|TestNG|Frameworks|Videos

Selenium Training Forum

How to generate random unique number for a field each time test run?

S
Sourabh Post on 14/06/2019

How to generate random unique number for a field each time test run?

S

Instructor

Support Team Reply on 17/06/2019

You need to create your own logic for this.

For generating random numbers you need to use Math.Random() function.

S
Sourabh Reply on 20/06/2019

Done. Thanks