Share via


Smart Card Resource Manager BVT Test - Tracking (Compact 7)

3/12/2014

The Smart Card Resource Manager Test includes multi-smart card queries, tracking tests, access tests, and direct access tests.

Test ID : 1003 : Smart Card Resource Manager BVT Test-Tracking - Simultaneously queries the status of the test card using multiple threads. This test fails if the SCardEstablishContext, SCardListReaders, SCardLocateCards, SCardReleaseContext, SCardGetProviderId, SCardGetStatusChange, or SCardCancel function fails.

Test Prerequisites

Your device must meet the following requirements before you run this test.

The following tables show the hardware requirements for the Smart Card Resource Manager Test.

Requirements Description

Smart card reader

A device that reads smart cards. The type of device driver required for a smart card reader is dependent upon the hardware chosen.

PC/SC compliance test card

A smart card that tests the functionality of the reader.

The following tables show the software requirements for the Smart Card Resource Manager Test.

Requirements Description

Tux.exe

Test harness, required for test execution

Kato.dll

Logging engine, required for logging test data

Scardbvt.dll

Library containing the test

Subtests

The table below lists the subtests included in this test.

SubTest ID Description

1003

Smart Card Resource Manager BVT Test - Tracking

Setting Up the Test

This test has no additional requirements, beyond the standard test environment setup.

Running the Test

The Smart Card Resource Manager Test executes the tux -o -d scardbvt command line on default execution. The following procedure shows how to test the full functionality and compatibility of the driver.

To run the Smart Card Resource Manager Test:

1. Connect all supported smart card readers to the target device.

2. Insert a PC/SC Compliance card into every smart card reader on the device.

3. Start the test.

Type the following command at command line:

tux -o -d \release\scardbvt.dll -x1003

Verifying the Test

When the test completes running, verify that "PASS" appears in the test log for all sub-tests.

Troubleshooting the Test

The following table describes troubleshooting tips for the Smart Card Resource Manager Test.

Issue Solution

When you are running these test cases on a Windows Embedded Compact development platform (CEPC), if the Smart Card reader is inserted before you turn on the CEPC, USBCCID.dll is not loaded when the CEPC is turned on.

After you turn on the CEPC, remove the Smart Card reader from the CEPC, and then reinsert it.

For additional platform specific issues, consult the CTK articles on the TechNet wiki.

See Also

Other Resources

Smart Card Tests