Applies to:
Reference overview
Description:
Scanning is the process of investigating a string for special criteria
and reacting to matching criteria in specific ways. You can trigger any
application behaviour by a scanning process.
In BrowserBob, you can add scanning processes to the Main Web and additional
web objects. In a scanning process you specify what to investigate the
web object for and how to react if your condition is true. You can add
as many "Scans" to a web object as you like. When the web object
is active, all scans will be actively monitored in the background. Actions
will be performed as soon as a match is found.
What to scan for:
You can investigate the URL of the document to be loaded in the web
object or the page title of this page or the status message of the browser
while loading this document.
In detail
you can scan for strings in the following info:
URL
"webaddress",
webpage, which may as well be a local path...
Title page
title of a document, html page
Status content
of the loading status of the browser (down left in a standard browser,
where the page loading status is shown).
These strings can be investigated and compared to strings you specify
in a scanning process. A matching string can trigger any BrowserBob action
on any BrowserBob target. Complex user interface logic can be created
by use of scanning processes.
Scanning processes have an owner object
A scanning process is always owned by the web object which is investigated
by the scan. Consequently all scanning processes of this object will be
shown under "Scanning" when he object is highlighted.
That's why the naming of a scanning process is the following: Scanning: Main Web
for example if the scanning process belongs to the Main Web object.
Refer to Scanning reference for
full details on the composition of a scanning process.
Related topics:
Scanning reference
Scanning window
|