+

Search Tips   |   Advanced Search


Transforming binary data in tests

You can transform binary data in tests to view the data in a more readable format and to assist with data correlation. Binary data in a test might contain values that must be correlated for the test to play back properly.

Record a test containing binary data. To transform all of the binary data in a test:

  1. Open a test for editing.

  2. Click Edit > Data Transformation. The Select Transformation Adapter window opens.

  3. Select the data transformation to perform, and then click OK.

    To remove data transformation from the test, select [none]. The Convert To Ascii Text transformation converts the binary data to the equivalent ASCII representation. Characters that are not part of the readable ASCII character set are shown as escaped hexadecimal values. The Convert Java Serialized Object to XML transformation converts the binary serialized representation of a Java object into XML format. Use the Convert Java Serialized Object to XML transformation to examine and perform data correlation on tests against applications that use serialized Java objects. All binary data in the test is transformed using the transformation adapter that you specified.