none
Automated Testing on Windows Embedded CE 6.0 Device RRS feed

  • Question

  • Greetings.

     

    I'm trying to create a framework for running automated tests against a device that uses Windows Embedded CE.  Ideally, the framework will connect to the device, run scripts provided by myself or other testers, log the results, and do this all without user intervention.  So far, out of the frameworks I've looked at to code against for this, I've found the following:

    * Smart Device Connectivity SDK throws an exception every time I try to connect to the device, claiming that ActiveSync is not installed.  Whilst this is true, the powers that be chose not to include ActiveSync support in the ROM image.  Since some of my automation would really enjoy a way of deploying files to the device without having to modify XSL files, the Microsoft.SmartDevice.Connectivity SDK or something similar would have been handy.

    * Remote Tools Framework - This seems to take a dependency on the Remote Tools Shell, which would make it impossible to integrate into, say, a build process or have the tests triggered on, say, a new ROM image being available.

    * CoreCon - Does almost precisely what I need it to do (even lets me launch processes and modify the on-device registry to automate, say, screen calibration), but seems to be a trifle ... documentation impaired.  Also, is it depricated or is it not depricated?  The Windows Embedded CE relnotes seem to claim that the CoreCon HLAPI (what's a HLAPI?) is depricated, but a search or five on CoreCon tells me that Windows Phone 7 devtools are using it under the hood.

    Friday, March 11, 2011 9:51 PM

All replies

  • Both (Smart Device Connectivity SDK and Remote Tools Framework) do depend on CoreCon. In fact the Core Connectivity Infrastructure is the foundation for CE 6.0, Compact 7 and WP7 development tools.

    You may find the following resources useful:
    CE 6.0 CoreCon Docs: http://msdn.microsoft.com/en-us/library/ee480472.aspx
    Intro to CoreCon APIs: http://blogs.msdn.com/b/vsdteam/archive/2007/11/20/corecon-api-part-1.aspx
    How To Connnect to a CE Device w/o ActiveSync: http://msdn.microsoft.com/en-us/library/ms228708(v=VS.90).aspx


    MVP Windows Embedded
    Monday, March 14, 2011 11:28 AM
  • Both (Smart Device Connectivity SDK and Remote Tools Framework) do depend on CoreCon. In fact the Core Connectivity Infrastructure is the foundation for CE 6.0, Compact 7 and WP7 development tools.

     

    The only question that still leaves is why, when I tried to use the Smart Device Connectivity SDK, I got an exception that, roughly translated, meant that ActiveSync was not installed (even though the device I'm connecting to doesn't have any of the ActiveSync components built).  Is there a way to use the Smart Device Connectivity SDK without using ActiveSync, or will I need to use the CoreCon APIs directly?
    Monday, March 14, 2011 9:24 PM