background image
<< Client application accesses objects | Network Recording >>
<< Client application accesses objects | Network Recording >>

Disabling Script Debugging

Setting the Recording Method
6-5
API Recording
With API recording, Robot records API calls between the specific client application
and the server. Recording occurs on the client rather than on the wire, as with
network and proxy recording. Therefore, choose API recording if you are accessing
secure data from a Web server, because API recording captures the information
before it reaches the wire and is encrypted.
API recording is supported only on Windows NT, Windows 2000, and Windows XP
clients. You do not have to specify the network names or IP addresses of the client
and server as you do with network and proxy recording.
With the API recording method, you must start recording before starting the client
application, at which point Robot prompts you for the name of the client. With the
other recording methods, you can start recording before or after you start the client.
Disabling Script Debugging
When you perform API recording of Internet Explorer, disable script debugging to
avoid abnormal browser behavior that may cause a session to record improperly.
To disable script debugging in Internet Explorer:
1. From Microsoft Internet Explorer, click
Tools > Internet Options
Tools > Internet Options
Tools > Internet Options
Tools > Internet Options
.
2. Click the
Advanced
Advanced
Advanced
Advanced
tab.
3. Under Browsing settings, click
Disable Script Debugging
Disable Script Debugging
Disable Script Debugging
Disable Script Debugging
.
4. Click
OK
OK
OK
OK
.
Choosing API Recording
To use the API recording method:
1. Click
Tools
Tools
Tools
Tools
>
Session Record Options
Session Record Options
Session Record Options
Session Record Options
.
2. Click the
Method
Method
Method
Method
tab, and then click
API recorder
API recorder
API recorder
API recorder
.
API Recording Using API Recorder Adapters
Robot's extensible framework provides for API recording using API recorder
adapters that you install and configure. An API recorder adapter is the interface
between Robot's extensible framework and a recording component that captures
traffic between a designated target and an application that you want to test. For this
type of recording to work, and for the resulting script to play back, an API Recorder
Adapter, a Generator Filter Adapter, and an API Script Generator Adapter must be
properly installed and configured.