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.
Before you begin
Record a test that contains binary data.
Procedure
To transform all of the binary data in a test:
- Open a test for editing.
- Click . The Data Correlation and Transformation window opens.
- Select Apply data transformation.
- From the list of available transformers, select the data
transformation to perform, and then click Finish. To remove data transformation from the test, clear all check boxes
in the list of available transformers. Select Apply corresponding
data correlation rules if transformation succeeds to apply
built-in rules for Flex applications if the Convert AMF
to XML transformation is successful. 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. The Convert AMF to XML transformation
converts Flex objects into XML format. All binary
data in the test is transformed by using the transformation adapter
that you specified.