Array AfterPaths

This is an array of elements in the structure of the Item object or root element. Used to specify the path to the site on which the software must pass while the task is performed, after a click on the mask. Site path is specified as part of the value of the href attribute is similar masks.

Attributes

  • May contain Priority attribute
  • May contain External attribute
  • While performing of task, one of the elements is selected , according with value of the Priority attribute.
  • The maximum depth of the path after clicking does not exceed 15.
  • Time of browsing of the one page of the path depends on the number of paths and an additional time of performing of the task: time is divided by the number of paths.
  • If the external source contains no elements in the array AfterPaths, then within the period of the additional time of performing of the task there are several random links will be clicked.

Structure

"AfterPaths":[
 {
  "AfterPath":["<aAfterPath_1>","<aAfterPath_1>",...,"<aAfterPath_N>"],
  "External":"<aExternal_1>",
  "Priority":1
 },
  {
  "AfterPath":["<aAfterPath_1>","<aAfterPath_2>",...,"<aAfterPath_N>"],
  "External":"<aExternal_1>",
  "Priority":1
 },
  ...,
  {
  "AfterPath":["<aAfterPath_1>","<aAfterPath_2>",...,"<aAfterPath_N>"],
  "External":"<aExternal_N>",
  "Priority":1
 }
]

Example

"Domains":[
 {
  "Domain":"waspace.net"
 }
],
"Pages":[
 {
  "Page":"/about.html"
 },
"Paths":[
 {
  "Path":["download","rules","forum"]
 },
"AfterPath":[
 {
  "AfterPath":["forum","forum","forum"]
 }
]

The following actions will be performed:

  1. Loading of the home page waspace.net/about.html
  2. Finding link for the path and transition on it: http://waspace.net/download.html
  3. Finding link for the path and transition on it: http://waspace.net/link.html
  4. Finding link for the path and transition on it: http://forum.waspace.net
  5. Finding element to click on the mask and transition on it
  6. Finding link for the path after clicking and transition on it: http://forum.waspace.net/
  7. Finding link for the path after clicking and transition on it:http://forum.waspace.net/
  8. Finding link for the path after clicking and transition on it: http://forum.waspace.net/
  9. Completion of the task