Class Mapping with Style-Bits

This functionality is supported only if you are using the Classic Agent.

  1. In the Custom Class text box of the Class Map dialog box, enter the class name, style-bit, and style-mask. The style-mask tells Silk Test Classic which parts of the style-bit to use. As a general rule, repeat the style-bit.
  2. In the Standard Class text box, enter the known class. This can be any standard 4Test class or a user-defined class.
  3. Click Add and then click OK.
Note: The style-mask can also take the format 0xFFFFFFFF, where ‘F’ includes the bit and ‘0’ turns it off. For example, one custom PageList might look like 0x12345678 and another of the same type might look like 0x12345679. You can class map it like:
newpageclass,0x12345678,0x12345678=PageList 
newpageclass,0x12345679,0x12345679=PageList
And on and on for each one like it, or…
newpageclass,0x12345678,0xFFFFFFF0=PageList
What this says is that every instance of newpageclass 0x1234567? should be class mapped to PageList. The last bit, being turned off, is ignored.