How to start running a script from specific step in Script mode
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to start running a script from specific step in Script mode
Hi team,
As we know, for Testcomplete keyword tests, we can run from selected operation mode using option called as run from selected operation.
Similarly, Please provide steps on how to run a script from some Line x(lets say line 10) in Script mode.
Best,
Prabhjot
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You'd have to comment out lines 1-9 in the code, just like in other code editors. Run Selected Operation only works in keyword tests.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some languages have the ability to "Set Next Line" when you're in debug mode.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using vbscript,
then keep the breakpoint in the first line of script and start the execution,
it will pause the execution at the line where you have kept the break point,
Now you keep your cursor at the specified line where you want the execution to start and now right click mouse and then select "Set Next Line" and continue the execution.
Note : the above method is not supported with JavaScript.
Kind regards,
Sathish Kumar k
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @prabhjot88singh,
Does the suggestion given here help you resolve the issue? Please mark the best answer as a solution.
Tanya Yatskovskaya
SmartBear Community and Education Manager
