The CreatorCon Call for Content is officially open! Get started here.

Set Dynamic Value in ATF Set Variables value step for record producer

Bhavani10
Kilo Contributor

 

Hi Team,

Greetings!! 

We are trying to set the value of Start Date and End Date Variables dynamically using Set Variables Value(SP) step in ATF.To achieve this,

We are trying to code inside Set Variable Value(SP) step

 

Example :

  1. javascript:ATFUtil().ReturnStartDate()
  2. javascript:gs.beginningOfToday()

 

We want our ATF test suites to be reusable,

When we set static Value, we end up changing our test step every time we run our test.

Could you please let us know If we can code inside the setValue step?

 

Regards,

Bhavani

5 REPLIES 5

Hi, @Abbas Abidi1 ,

How do you use this in a test run data set that uses a parameter definition?

Please advise.

Thanks,

Harriet