Set Dynamic Value in ATF Set Variables value step for record producer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2019 03:32 AM
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 :
- javascript:ATFUtil().ReturnStartDate()
- 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
Labels:
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 04:01 PM
Hi, @Abbas Abidi1 ,
How do you use this in a test run data set that uses a parameter definition?
Please advise.
Thanks,
Harriet