+

Search Tips   |   Advanced Search


Web service test editor overview

With the test editor, you can inspect or customize a test that you recorded.

The test editor lists the Web service call elements for a test, in sequential order.

There are two main areas in the test editor window. The area on the left, Test Contents, displays the chronological sequence of test elements in the test. The area on the right, Test Element Details, displays details about the currently selected item (test, call, message return, or verification point) in the test hierarchy.

Window events are the primary test elements in a Citrix test and represent graphic objects that are drawn by the Citrix server, such as actual window, dialog boxes, menus, or tooltips. A Window event is recorded each time a window is created, destroyed, moved, or resized. The first occurrence of a window, a create window event, is displayed in bold. Window objects are typically identified by their title. If there is no window title, for example on menus or tooltips, then the test editor uses the window ID number. Web service calls can contain Web service message return elements, which display the results of the Web service call. The XML message content can be displayed either in Form, Tree or Source view. Each of these views displays the same message content in different forms:

Message return elements can contain verification point elements that check that the actual return results match expected criteria.

Some actions contain data that is highlighted. This highlighting indicates that the data can be used as a datapool candidate or as a reference. See Data correlation overview for more information.

In service calls and message returns, you can use datapools and data correlation on values contained in the XML or on XML fragments. To use data correlation on XML fragments, switch to the Tree view, right-click the XML element and select Create XML Fragment.

To view or modify the color coding in Web service tests, click Window > Preferences > Test > Test Editor, and then click the Fonts and Colors tab.

Click Add to add elements to the selected test element. Alternatively, you can right-click a test element and select an action from a menu.

The choices that you see depend on what you have selected. For example, inside a Web service call, you can add a Web service message return. The Insert button works similarly. Use it to insert an element before the selected element. The Remove button allows you to delete an item.


Related tasks

  • Add elements to a service test
  • Compare service test response contents
  • Display XML data with the Service Content view
  • Verify application behavior
  • Editing WSDL security configurations
  • Create a reliable messaging call structure
  • Exporting and importing service tests


    Related reference

  • Service test details
  • Service test editor preferences