Share via


Smart Card Resource Manager BVT Test (Compact 7)

3/12/2014

This Smart Card Resource Manager BVT Test will list all attached readers and verify that the card in the reader is a known card.

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

1001

Lists all attached readers, introduces a card type, and verifies that the card in the reader is a known test card. The test then attempts to connect to the test card, read data from the card, and disconnect from the card. This test fails if the SCardEstablishContext, SCardListReaders, SCardIntroduceCardType, SCardListCards, SCardGetProviderId, SCardListInterfaces, SCardForgetCardType, SCardConnect, SCardTransmit, or SCardDisconnect function fails.

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 default command line. 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 target device.

3. Start the test.

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