PlanoTse Handbook for Job Search Automation/Trace Log
About PlanoTse Trace Log
[edit | edit source]You are using PlanoTseScript when you do Web Search Automation (WSA) in PlanoTse. PlanoTseScript generates trace messages and store them in an HTML file. Its name is tracelog.htm, referred to as the PlanoTseScript execution trace log.
Trace Log Examples
[edit | edit source]For sample of a complete trace log, see one of the following:
- Analysis of a Sample Web Search Automation Trace Log.
- Version 0.0.49 Trace Log Example.
- PlanoTseScript Lesson 2 Trace Log Example.
Minimal Trace Log
[edit | edit source]Do the following:
- Select the menu [View » Code & Run] to bring up the Code & Run springboard.
- Leave the input box empty and press the button Run PlanoTseScript.
- No message boxes pop up as you did not cause any PlanoTseScript execution errors.
- Select the menu [View » Trace Log] to see the execution trace.
In the above procedure, you trace log would look something like this:
Sample Trace Log 6/9/2012 8:17:15 AM 1 [ScriptCode Length=5 Source=Script File 'CodeAndRun.tse' Software=PlanoTse 0.0.46] |
Tracing Multiple Statements
[edit | edit source]Use the Code & Run springboard to run the following block of PlanoTseScript code with several statements in it:
{ aw set linkqsize 4; aw set serpqsize 3; aw set maxruns 2; }
The above code block will produce a trace log that looks like this:
Sample Trace Log 6/9/2012 8:19:16 AM 1 [ScriptCode Length=61 Source=Script File 'CodeAndRun.tse' Software=PlanoTse 0.0.46] |
In the trace log, each statement is placed in a set of braces (curly brackets) to let you know that it was executed.
For the meaning of each PlanoTseScript command ending with a semicolon, see PlanoTseScript Language Reference.
Tracing Web Search Automation
[edit | edit source]Use the Code & Run springboard to run the following block of PlanoTseScript code: { aw set linkqsize 4; aw set serpqsize 3; aw set maxruns 1; aw set level1domains aaa, bbb, ccc; web search technical-writer job-description -resume; }. This code will produce a trace log that looks as shown in the following box. By the way, the PlanoTseScript statement, aw set maxruns 1;, tells PlanoTse to run web search only once and stop right after that. The statement, aw set level1domains aaa, bbb;, basically declares that all web addresses are invalid as they use neither aaa nor bbb as the top-level domain.
Sample Trace Log 6/6/2012 8:03:31 AM [ScriptCode Length=150 Source=Script File 'CodeAndRun.tse'] |