Hi,
Is there any way to run the macro at certain line for testing porpouses?
Testing
Moderators: JRL, Dorian (MJT support)
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
Re: Testing
Using the debugger might help you get a good grasp of this.
In the editor you can use >Debug >Trace (ALT-DT) to run line-by-line, or F8 for Step mode.
In the editor you can use >Debug >Trace (ALT-DT) to run line-by-line, or F8 for Step mode.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
Re: Testing
Yes, a few ways. The video I pointed you to should help, but :
Step (F8) to run line by line, from wherever you choose
or use a label :
Goto>jump (at the start of your script)
Then using Label>jump (where you want to test)
Adding Exit after line 44 will stop the script from continuing, or alternatively use a Breakpoint here.
Step (F8) to run line by line, from wherever you choose
or use a label :
Goto>jump (at the start of your script)
Then using Label>jump (where you want to test)
Adding Exit after line 44 will stop the script from continuing, or alternatively use a Breakpoint here.