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.
About this task
To transform all of the binary data in a test:
Procedure
- Open a test for editing.
- Click . The Select
Transformation Adapter window opens.
- Select the data transformation that you want 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
if you want 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.