Relevant for: API testing only
You can update services that exist in the Toolbox pane, from their original locations or from alternate locations.
When you update a service, UFT first compares the service and port names. If the port names match, UFT transfers all of the data from the updated service, including new security information. If the new version of the service contains a port that was not present in the original service, it adds it to the Toolbox pane, as an additional port for the service.
If the port paths (<service name:port name> combination) do not match, and security was set for on the port level, UFT opens the Update Port Security Wizard.
When you update an RPC Web service, as long as the operation names match, the properties are marked as resolved. If the operation names cannot be resolved, UFT opens the wizard. If there is no operation available to map to the original, the wizard suggests that you delete the affected step.
For task details, see Update a Web service.
If you modify a REST step's properties after incorporating it into your test, it will no longer match the method in the Toolbox. You may want to keep the change, or you may want to remove the conflicts so that your step will match the method defined in the toolbox.
You may encounter conflicts in the following areas:
Adding or removing an input or output property
Renaming an input or output property
A change in the REST service URL
A change in the HTTP request/response body type or schema
Internal links between a REST property and its inner HTTP elements (if you are working with an API test created in UFT 11.51 or earlier or Service Test 11.51 or earlier
The Resolve REST Method Steps wizard enables you to view the conflicts and decide what to do with the conflicts in your test step—keep, remove, or map them. The wizard lets you resolve property-related conflicts. Other conflicts, such as discrepancies in the URL values, the HTTP body, and so forth, are resolved automatically.
You can update SAP RFCs and IDocs from their original location or from another connection or location.
The Update option automatically updates the item from its original location. UFT loads the information for the RFC/IDoc with the same names, from the original connection.
The Update from option lets you specify different connection information, or a name of a different RFC/IDoc on the same server.
If UFT detects an inconsistency between the original and updated RFC/IDoc names or their properties, it enables the Update Step wizard. This wizard lets you map the original and new items. For details, see Update an SAP RFC or IDoc.