ATF: get Sys ID of step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 05:50 AM
Hello everyone,
I need to perform some tests on ATF and i need to get as output variable the sys_id of step ' for exemple of step : Open an Existing Record'.
please, can you tell me what I should do?
Best regards.
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 05:55 AM
adding one thread here, kindly have a look on below thread. hope it will help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 08:38 AM
Hello Harshvardhan,
Thank you for your help but it's hardcoded, i need as input variable from the previous step to my run server side script.
i will implement the same run server side script for other test.
best regard

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 06:11 AM
Hi Sanna,
You can use previous step sys_id to get submitted record sys_id by following way.
var STEP_SYS_ID = '6989f601376023008020036973990ebc'; // Your Submit form test step sys_id
var record_sys_id = steps(STEP_SYS_ID).record_id); // get submitted form record sys_id
Mark it correct/helpful if it helps you
Regards,
Vaibhav Chaudhari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2019 08:09 AM
hello Vaibhav Chaudhari,
thank you for your reply but i search if it's possible that its not hard-coded. why i did this question.
Regards.