WinFX Markup Content Rendering Test
This automated test sends an XPS file to the test printer by using XpsDocumentWrite.Write(filename) API. The device fails if the test detects an exception.
This automated test loads eight WinFX XAML files and produces output to the specified printer. Seven of these XAML files each produce one letter-sized page of output. The eighth XAML file, ThreePageDoc.xaml, produces three pages of letter-sized output. Therefore, this test produces a total of ten pages of printed output.
Note
This test cannot run on Windows Server 2008 or the 64-bit version of Windows 7 without first installing Microsoft .NET Framework version 3.0.
With this test tool, you can generate jobs to send to a printer or XPS serialization. The test tool includes options for validating the XPS that is produced, or selecting particular XAML files. This tool exits after it prints each file one time.
Test details
Associated requirements |
Device.Imaging.Printer.Base.rendering |
Platforms |
Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2 |
Expected run time |
~2 minutes |
Categories |
Certification Functional |
Type |
Automated |
Running the test
Before you run the test, complete the test setup as described in the test requirements: Printer Testing Prerequisites.
In addition, this test requires the following software:
- Microsoft® .NET Framework 3.0
Note
Microsoft .NET Framework 3.0 is required when testing Windows Server 2008 or the 64-bit version of Windows 7.
Troubleshooting
For troubleshooting information, see Troubleshooting Device.Imaging Testing.