Jump to content

PlanoTse Handbook for Job Search Automation/Trace Log

From Wikibooks, open books for an open world
PlanoTse Handbook for Job Search Automation
PlanoTse Program Reference Trace Log WSA 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:

Minimal Trace Log

[edit | edit source]

Do the following:

  1. Select the menu [View » Code & Run] to bring up the Code & Run springboard.
  2. Leave the input box empty and press the button Run PlanoTseScript.
  3. No message boxes pop up as you did not cause any PlanoTseScript execution errors.
  4. 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]
6/9/2012 8:17:15 AM 2  Source Code: { ; }

 

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]
6/9/2012 8:19:16 AM 2  Source Code: { aw set linkqsize 4; aw set serpqsize 3; aw set maxruns 2; }
6/9/2012 8:19:16 AM 3 {aw set linkqsize 4}
6/9/2012 8:19:16 AM 4 {aw set serpqsize 3}
6/9/2012 8:19:16 AM 5 {aw set maxruns 2}

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']
6/6/2012 8:03:31 AM  Source 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; }
6/6/2012 8:03:31 AM {aw set linkqsize 4}
6/6/2012 8:03:31 AM {aw set serpqsize 3}
6/6/2012 8:03:31 AM {aw set maxruns 1}
6/6/2012 8:03:31 AM {aw set level1domains aaa, bbb, ccc}
6/6/2012 8:03:31 AM {web search technical-writer job-description -resume}
6/6/2012 8:03:32 AM  [File » Open List » Webpages] Holder of Useless-domain List (9 entries): Webpage 12335 NA Major Domains
6/6/2012 8:03:32 AM  [File » Open List » Webpages] Holder of Useless-domain List (37 entries): Webpage 12337 NA Google Domains
6/6/2012 8:03:32 AM  Holder of Newly Useless Domains (0 entries): Webpage 12907 New NA Domains
6/6/2012 8:03:32 AM  Total number of unwated domains: 46
6/6/2012 8:03:32 AM  Holder of Templateless Domains (39 entries): Webpage 13345 Templateless Domains
6/6/2012 8:03:32 AM  Expecting only links from these top-level domains: aaa, bbb, ccc
6/6/2012 8:03:32 AM  There are 1 links declared as useless in the file
C:\Users\Owner\Documents\PlanoTseTools\PlanoTseScripting\UselessURL\UselessURL.xml
6/6/2012 8:03:32 AM  Search Editor Menu [Result » Output Folder] C:\Users\Owner\Documents\PlanoTseTools\PlanoTseScripting\Temp\WebSearch\WSA10033
6/6/2012 8:03:32 AM  Original Search String: -={technical-writer job-description -resume}=-
6/6/2012 8:03:32 AM  [Automation » Web Search » Preview Page] Serp Queue Size: 3
6/6/2012 8:03:32 AM  [Automation » Web Search » Preview Page] Link Queue Size: 4
6/6/2012 8:03:32 AM  [Automation » Web Search » Preview Page] Internet Timeout in Seconds: 10
6/6/2012 8:03:32 AM  Run 1 SERP Link Count: 0 -- Result Link Count: 0 -- Processed Link Count: 0
6/6/2012 8:03:32 AM  Getting ready to browse http://www.google.com/#output=search&q=technical-writer job-description -resume
6/6/2012 8:03:32 AM  Search start time: 6/6/2012 8:03:32 AM
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: http://www.itbusinessedge.com/itdownloads/job-description-technical-writer/88587
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: http://webcache.googleusercontent.com/search?q=cache:egEq5ELJu0MJ:www.itbusinessedge.com/itdownloads/job-description-technical-writer/88587+technical-writer+job-description+-resume&cd=1&hl=en&ct=clnk&gl=us
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: http://justwriteclick.com/2009/08/27/wiki-technical-writer-job-description
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: http://webcache.googleusercontent.com/search?q=cache:gLZgvEjDxigJ:justwriteclick.com/2009/08/27/wiki-technical-writer-job-description/+technical-writer+job-description+-resume&cd=2&hl=en&ct=clnk&gl=us
"
"
"
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: http://www.docsymmetry.com/career-in-technical-writing.html
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: http://webcache.googleusercontent.com/search?q=cache:LcIOrx6h2nUJ:www.docsymmetry.com/career-in-technical-writing.html+technical-writer+job-description+-resume&cd=10&hl=en&ct=clnk&gl=us
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: products/seller?zmi=monster.com&hl=en&sa=X
6/6/2012 8:03:45 AM  Link with unexpected top-level domain: https://adwords.google.com/um/StartNewLogin?service=adwords&sourceid=awo&hl=en-US&subid=us-en-et-symh
6/6/2012 8:03:45 AM  21 links collected, see the file Response13445.txt
6/6/2012 8:03:45 AM  55 N/A links removed, see the file Response13445.RemovedLinks
6/6/2012 8:03:45 AM  Done in 12 seconds
6/6/2012 8:03:45 AM  Final URL: http://www.google.com/#output=search&q=technical-writer job-description -resume
6/6/2012 8:03:45 AM  21 links found: 10 serp links and 11 others.
6/6/2012 8:03:45 AM  Stopped as required by Maximum Runs (1) for this automation session.
6/6/2012 8:03:45 AM  Processed link ('technical-writer job-description -resume'): http://www.google.com/#output=search&q=technical-writer job-description -resume

 

PlanoTse Handbook for Job Search Automation
PlanoTse Program Reference Trace Log WSA Trace Log