- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 07:49 PM
Hi All,
I want to write script for below ATF steps, Is it possible to create one?
Steps are as below:
1. Open an Existing Record
2. Click a UI action
3. Open an Existing Record
4. Validate Related List Visibility
5. Apply Filter to List
6. Open an Existing Record
7. Apply Filter to List
8. Open a Record in List
9. Field value validation
10. Open an Existing Record
11. Field Value Validation
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 10:58 PM - edited 05-02-2024 11:00 PM
Hi @_Yash24 ,
It would not be a good idea to combine all these multiple steps into one i.e. ' Run Server side Script' Step. While it might be feasible, it would require a lot of scripting, making it difficult to debug. I recommend using out-of-the-box (OOB) steps . If something cannot be achieved using OOB steps, then you can create a custom step.
Refer Below Video for Custom ATF Step - https://www.youtube.com/watch?v=-6tF-CiJ_F0
If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.
By doing so you help other community members find resolved questions which may relate to an issue they're having
Thanks,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 08:48 PM
Hi @_Yash24 ,
May I know why you want to write script for this ATF steps . As all these Steps are OOB Available
You Can Navigate to Automated Test Framework -> Tests -> You can Create New Test Case -> Add Steps
If you want to still write script for this steps . you can copy Script from OOB ATF Steps
You can navigate to 'sys_atf_step_config.LIST' or Automated Test Framework -> Step Configurations -> Open any existing record
If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.
By doing so you help other community members find resolved questions which may relate to an issue they're having
Thanks,
Astik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 09:38 PM
Thank you for reply @Astik Thombare .
I just wanted to know for which of these steps can be written through script?
If I use Run Server side script step instead of multiple steps so what all I can include in it, If you can tell me that would be helpful.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 10:58 PM - edited 05-02-2024 11:00 PM
Hi @_Yash24 ,
It would not be a good idea to combine all these multiple steps into one i.e. ' Run Server side Script' Step. While it might be feasible, it would require a lot of scripting, making it difficult to debug. I recommend using out-of-the-box (OOB) steps . If something cannot be achieved using OOB steps, then you can create a custom step.
Refer Below Video for Custom ATF Step - https://www.youtube.com/watch?v=-6tF-CiJ_F0
If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.
By doing so you help other community members find resolved questions which may relate to an issue they're having
Thanks,
Astik