API Testing Tab (Options Dialog Box)
Relevant for: API testing
The options in the API Testing tab of the Options dialog box enable you to customize your work environment when working with API UFT One tests or components. For example, you can define relative or absolute paths for saved files, repository locations, and auto values.
To access
|
Select Tools > Options > API Testing tab.
|
Important information
|
-
Clicking the Restore Factory Defaults button resets all product settings, including ALM connection information, the recent files list, and anything defined in the Options dialog box, such as startup options, UI layout, GUI, API, and BPT testing options, remote connection credentials, and more.
-
To define a connection, you must have the 32-bit version of SAP .NET Connector installed on your machine. The installation is available for download on the SAP .NET Connector site:
https://service.sap.com/connectors > SAP Connector for Microsoft .NET > Tools & Services > Download SAP Connector for Microsoft .NET Version 3.0.
|
Related tasks
|
Create an SAP API test step
|
This tab includes the following panes and options:
General Pane
UI Element
|
Description
|
Compile as
|
The mode for a run session. Options include Debug or Release.
Select the Release option for faster run sessions. Run sessions performed with the Debug option run more slowly and generate additional information in the Output pane.
|
Use relative paths to call assets
|
Instructs UFT One to use relative paths for all steps that require a path or file name.
|
Run test in debugging mode
|
Runs a test with debugging capabilities active.
By default, tests run without any of the debugging capabilities, enabling them to run faster. If you check this option, it activates the debugging capabilities during a test run, slowing the speed of a test run.
|
Number of items to show in WSDL import history
|
Specifies the maximum number of WSDL addresses to display in the address drop down list of the Import/Update WSDL/WADL/Swagger Service from URL or UDDI Dialog Box.
Default: 10
|
Default page for WSDL browser
|
The default Web page that opens when you click the Browse button in the Import/Update WSDL/WADL/Swagger Service from URL or UDDI Dialog Box.
|
Shows encrypted passwords in the Output pane
|
Displays passwords used in a test or component in the information displayed in the Output pane in an unencrypted form.
|
Activity Repositories
|
Displays the locations for activity repositories:
|
Number of records to show in query preview
|
Sets the maximum number of strings for:
|
Database connection timeout
|
The number of seconds to wait without a successful connection to a database before timing out the connection.
|
Auto-Values Pane
String
|
The default value to use for a property defined as a string.
|
Date/time
|
The default value to use for a property requiring a time and date.
|
Boolean
|
The default value to use for a property defined as boolean: True or False.
|
Integer
|
The default value to use for a property defined as integer.
|
Long
|
The default value to use for a property defined as Long.
|
Float
|
The default value to use for a property defined as Float.
|
Decimal
|
The default value to use for a property defined as decimal.
|
Double
|
The default value to use for a property defined as double.
|
SAP Connections Pane
UI Element
|
Description
|
|
Import. Allows you to import an saplogon and connection file (.ini or .xml) with the connection settings information.
|
|
Export. Allows you to export the connection settings to an XML file.
|
|
Ping Connection. Tests the selected connection and inserts the date and time in the Last Pinged column.
|
<SAP connection list>
|
Displays information about the current connection:
-
Name. The connection's name.
-
Application Server. The URL or IP of the application server.
-
System Number. The value of the SAP system number.
-
Client. The type of client.
-
Username/Password. The authentication information.
-
SapRouter. The string (configured in your SAP server) of the program used as an (proxy) between your SAP server and UFT One.
-
Description. A description of the connection.
-
Last Pinged. The date and time that a ping request was issued to the server.
|