I want to insert dynamic values to some fields on my website like SSN number and Customer id. So each time I run the code in Katalon, it should generate a random dynamic value. How can I handle this?
There are loads of different type of random letters, numbers and patterns on the forum. You should search a little:
For a SSN, maybe you can try:
Or another method:
RN =(int)(Math.random()*500)
WebUI.setText(findTestObject(‘Object Repository/Page_MonetizeNow - Product Catalog/input_Custom ID_customId’), ‘test’+RN+‘test’)
This one worked for me. Simple solution. Thanks for the reply