How to use GlideScopedEvaluator in ATF and pass input script to GlideScopedEvaluator.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2024 03:54 AM
Hello,
I have written a custom step configuration to run a custom input script. This step will take script input for example "u_custom_input_script" and execute it. I have used the method eval() in this. Challenge is that ATF Tests in the global scope are running successfully with this step configuration but when i am writing an ATF test in Scoped application, it is throwing error that eval() method can not be used in scoped applications and GlideScopedEvaluator() should be used instead.
GlideScopedEvaluator() uses Gliderecord object as parameter which i am unable to pass from inputs.u_custom_input_script.
Please suggest.
Step configuration - Step execution Script
sample step input script
0 REPLIES 0