Not possible to run CodedUI tests on Windows 7 embedded

Hi all,
I am trying to get my CodedUI tests running on the target machine with Windows 7 Embedded.
For that, I installed on the target machine:
Visual Studio 2010 Test Agent
VS2010 SP1
Next I try to run the CodedUI test from the command line using mstest.exe (since no Visual Studio may be installed on target
machine). However, before even executing the first line of code in my test, mstest fails after showing a popup window with following message:
"the ordinal 459 could not be located in the dynamic link library urlmon.dll"
When looking in the detailed logs of QTAgent32.exe I see a 'System.BadImageFormatException' thrown by the PluginManager of CodedUI when trying to
start an Internet Explorer plugin. See detailed stacktrace below this message.
This might be caused by the fact that this Windows Embedded installation does not contain Internet Explorer (for security reasons). The CodedUI test
and application under test however do not need Internet Explorer at all, the application is a WPF application. 
So, my questions:
- Does anyone know how to get rid of this error without installing Internet Explorer? 
- Any ways to prevent MsTest.exe to start the IE extension for a CodedUI test?
Some things I tried already but did not bring success:
- Run a completely empty CodedUI test; it triggers the same error.
- Remove IE extensions from C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\10.0
- Remove unneeded things (datacollectors) from MsTestSettings file.
Any help/ideas appreciated!
Jan Lavrijsen
Complete stack trace: 
Agent: adapter run thread for test 'CutPowerDuringImport' with id 'b7c688eb-89ac-4654-b638-a5699f579871'           
»DebugInfo     
»Trace  »FirstChanceException           
»FirstChanceException 'Microsoft' causing 'System.BadImageFormatException' - Retrieving the COM class factory for component with CLSID {25336920-03F9-11CF-8FD0-00AA00686F13} failed due to the following error: 800700b6 The operating system
cannot run . (Exception from HRESULT: 0x800700B6).           
»[CausedBy=Microsoft],[FirstChanceException=System.BadImageFormatException],[Count=1]      
»CallStack:     at Microsoft.VisualStudio.TestTools.UITest.Extension.IE.IETestPlugin.StartSession(System.Boolean recordingSession) [IL: 0x19][Native: 0x4B]
    at Microsoft.VisualStudio.TestTools.UITest.Framework.UITestPluginManager.StartSession(System.Boolean recordingSession) [IL: 0x2B][Native: 0x95]
    at Microsoft.VisualStudio.TestTools.UITest.Framework.UITestService.StartSession(System.Boolean recordingSession) [IL: 0x34][Native: 0xA9]
    at Microsoft.VisualStudio.TestTools.UITesting.Playback.StartSession() [IL: 0x37][Native: 0x6C]
    at Microsoft.VisualStudio.TestTools.UITesting.Playback.Initialize() [IL: 0xB5][Native: 0x163]
    at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestExtensionExecution.BeforeTestInitialize(System.Object sender,Microsoft.VisualStudio.TestTools.UnitTesting.BeforeTestInitializeEventArgs e) [IL: 0x3C][Native: 0x76]
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecution.RaiseBeforeTestInitialize(Microsoft.VisualStudio.TestTools.UnitTesting.BeforeTestInitializeEventArgs args) [IL: 0x15][Native: 0x17]
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.RunInitializeMethod() [IL: 0x3E][Native: 0x96]
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.ExecuteTest() [IL: 0x8D][Native: 0x113]
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter.Execute(Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestResult result) [IL: 0x46][Native: 0xD1]
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestRunner.ExecuteSingleTest(Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestExecuter executer,Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestElement test,Microsoft.VisualStudio.TestTools.Execution.ITestContext
testContext,Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapterContext userContext,System.Boolean isLoadTest) [IL: 0x27][Native: 0x55]
    at Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestRunner.Run(Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestElement test,Microsoft.VisualStudio.TestTools.Execution.ITestContext testContext,System.Boolean isLoadTest,System.Boolean
useMultipleCpus) [IL: 0x109][Native: 0x32B]

Hi Jan,
Thanks for your response:)
I think it is a good feedback for this issue, but as far I know, it is by design now, we need to use the IE extension for test projects. My understanding is that it would find the accordant UI Test Controls with your app UI controls, so it would search all
test controls include the IE controls, and then use one real UITestControl to instantiate an object which is equal to the real UI control, so we could playback the recorded action.
WinButton uICloseButton = this.UISnippingToolWindow.UISnippingToolTitleBar.UICloseButton;
But I think you can submit this feedback to Microsoft Connect feedback portal:
http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,maybe
Microsoft engineers will share us a more plausible explanation.
Thanks for your understanding.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I have got an IPhone 5. It has been locking itself  and not possible to run it again. I have restored it by Itunnes. But still not functioning. I have bought it from London whitecity applestore and have been using it in Turkey. Any suggestion ?

    I have got an IPhone 5. It has been locking itself  and not possible to run it again. I have restored it by Itunnes. But still not functioning. I have bought it from London whitecity applestore and have been using it in Turkey. Any recomandation ?

    Sorry, but the warranty for the phone is only valid in the country where you bought the device, and you can't send it in, Apple does not ship internationally.
    Has the phone been officially unlocked? Only the carrier can unlock an iPhone.
    iPhone: About unlocking

  • Not able to run .msi file on windows XP Version 2002 (SP3)

    Hi I am not able to run .msi file in Windows XP Version 2002(SP3)..I am not able to find the log or the Error.Kindly help

    Hello,
    this forum is about problems within the forum itself. PLease ask in
    http://answers.microsoft.com/en-us/windows/forum?tab=Threads
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Is it possible to run 5.5 on windows 8.1??

    Is it possible to run Photoshop 5.5 on Windows 8.1? I have a CD which I tried to run but when I click on install nothing is happening. I have CS6 trial already running on the laptop, so my question is, is it because I need to uninstall CS6 (although I haven't got a warning message come up to tell me to do that first before running 5.5, so don't want to get rid of the CS6 trial without making sure that it is the problem) or whether 5.5 will not run on Windows 8.1 anyway.
    Your time and advice would be greatly appreciated, as need to know whether I need to return the 2nd hand 5.5 CD.

    Thanks so much Gene. I really appreciate your time and suggestions.
    Btw, should have been clearer  as one couldn't imagine I meant that 5.5 (i.e. ancient one). The adobe website also has this info: Windows 8.1 compatibility for Adobe Photoshop version 5 which just says version 5.5 under compatibility. So it does seem possible indeed to run this but perhaps for someone more techie. Had a look at the thread re: 6.0 and tried to run it as admin. Tried copying the contents on the desktop and change the compatibility under properties (even ran compatibility trouble shooter under properties) - but in vain. Must be doing something wrong. Prolly easier to return the CD (:/)
    If anyone could drop an idea in relation to how/where to buy a genuine and legal copy of a CS5/CS6 I woudl greatly appreciate. I bought the 5.5 off eBay and probably will search for the right version this time on there again. But it's a bit of a question mark for me in regards to how do I make sure that I buy a genuine licenced version which I can register with the Adobe.

  • Revaluation not possible while running MFN1

    Hi all:
        I'd like to revaluate the product order cost using MFN1, however got the following message,
    could you please give me a solution?  thank you very much!
    Revaluation at actual prices not possible in version 0, fiscal year 2009
    Message no. KI760
    Diagnosis
    A revaluation for actual prices is not possible since this function is not available in version 0 in fiscal year 2009.
    Procedure
    Maintain the corresponding indicator in your version.

    HI,
    Please check in t code OKEQ, version 0, 4th column "ACT" is checked or not.
    And go to controlling area setting and check the same in same OKEQ screen.
    And check under the "Setting for Each fiscal year" with 2009 and "Vension for INd.act.Alloc." is maintained with ZERO.
    Please let us know if you still face the issue.
    Vijay

  • Is it possible to run labview app on windows embedded compact 7?

    Hi,
           I have a low cost single board computer from ICOP, running embedded compact 7 from windows. The board has all the features such as ethernet, usb, serial, vga etc. Is it possible to install labview runtime and run the labview developed apps on this platform?? If so please provide me the links to any related resources.
    Thanks in advance
    More details on the board here...
    http://www.icoptech.com/SPARK
    Regards,
    Vipul

    Thanks so much Gene. I really appreciate your time and suggestions.
    Btw, should have been clearer  as one couldn't imagine I meant that 5.5 (i.e. ancient one). The adobe website also has this info: Windows 8.1 compatibility for Adobe Photoshop version 5 which just says version 5.5 under compatibility. So it does seem possible indeed to run this but perhaps for someone more techie. Had a look at the thread re: 6.0 and tried to run it as admin. Tried copying the contents on the desktop and change the compatibility under properties (even ran compatibility trouble shooter under properties) - but in vain. Must be doing something wrong. Prolly easier to return the CD (:/)
    If anyone could drop an idea in relation to how/where to buy a genuine and legal copy of a CS5/CS6 I woudl greatly appreciate. I bought the 5.5 off eBay and probably will search for the right version this time on there again. But it's a bit of a question mark for me in regards to how do I make sure that I buy a genuine licenced version which I can register with the Adobe.

  • Possible to run Discoverer 9i on Windows 2008 server

    Hello,
    We have Oracle Discovere 9i currently running on a windows 2000 server against a oracle 9 database. The server is due to be upgraded to windows 2008 server - is it possible to install and run discoverer 9i on the new windows 2008 server - is there a compatibility mode ?
    Many thanks,
    Lawrence

    I don't know if CE holds a full blown version of a JVM required to run forms....we don't have any certification plans currently for CE.
    Regards
    Grant Ronald
    Forms Product Management

  • ChaRM: Normal Change - Not possible to set "Successfully Tested" unless the Maint. Cycle is set to "In Development with Release"

    Hello,
    I'm doing some tests with ChaRM, Normal Change scenario.
    As far as I know, the following steps would be the correct sequence (concerning development and test phases only):
    1) Developers perform the correction in DEV and release their TASKS of the transport request
    2) Developer Lead set the Normal Change document status to "to be tested"
    3) In background, a Transport of Copies is created with all data previously stored in the original transport request. Then this ToC is transported into QAS
    4) Change Manager set the Maintenance Cycle status to "Test"
    5) Tester performs the test into QAS
    6) Tester provides a valuable feedback and set Normal Change document status to "tested successfully"
    According to the following SAP Portal article, it seems to be correct:
    http://help.sap.com/saphelp_sm71_sp10/helpdata/en/48/db938dceba518de10000000a42189c/frameset.htm
    During my tests, however, I have noticed that it is just possible to go from step 5 to 6 if the Maintenance Cycle status is set to "In Development with Release" (go a step back in the Cycle). Otherwise, I get the following error messages:
    Warning Message Details Status was reset by system
    Warning Message Details Action RELEASE_ALL cannot be performed during this maintenance phase
    Warning Message Next status cannot be set because some actions cannot be executed.
    Once I have done the Cycle status change, then it is possible to move from 5 to 6 without errors and then the original transport request is transported into QAS too.
    Question: Is this the correct behavior or am I missing customizing?
    Thanks in advance for your help.
    Daniel

    Hello Vivek,
    Thanks for your reply.
    It is kinda weird the steps sequence, since the Tester needs to tell the Change Manager to move the cycle's status before approving the correction done in QAS (successfully tested).
    Perhaps a new action between "to be tested" and "successfully tested" could exist, in order to request the CM to perform the cycle update.
    But OK, that's how it is.
    Regards,
    Daniel

  • Not possible to run STS as HTTPS has not been configured

    Hello
    I activated all necessary services but STS still doesnt work. The following error pops up
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    BSP exception: Access to page start_sts2.htm requires HTTPS. HTTPS has not been configured on this server
    Error type:
    Your SAP Business Server Pages Team
    Can somebody tell what should be done?
    Thanks

    Its necessary to do the following
    SE80 -> BSP Application -> Tunguska -> Pages with Flow Logic -> start_sts.htm   or  start_sts2.htm-> Right click & display in same window -> Properties tab -> Transfer Options -> HTTPS should be UNCHECKED.

  • AE is not possible to run on a macbook pro

    I'm having problems with the trial version of After Effects CC on my macbook pro.
    After installation I encounter this error:
    The settings on my macbook are:
    Mac OS X 10.9.3
    Intel Core i5
    4GB 1600MHz DDR3 ram
    Intel HD Graphics 4000
    Inform anyone know the solution to this problem?

    As Rick says, you need to make sure CUDA isn't installed. People with this error popped up on these forums all the time when they would accidentally install a CUDA driver (migrating systems/upgrading, etc.)
    Read this

  • Is it possible to run a Labview executable on a Windows 8 Phone?

    If I create an executable from Labview,will it be possible to run it on a Windows 8 phone?
    Solved!
    Go to Solution.

    No, as Mike already said.
    The reason being that a LabVIEW executable contains binary code that is compiled for the x86 CPU architecture and accesses the Win32 API. Windows Phone typically runs on ARM or RISC CPUs and did only provide a very limited Win32 subset in the past. With the new Windows RT technology it actually moved even further away from Win32 compatibility as it's entire architecture is based on the .Net technology.
    So even if you happen to get an Intel Atom based Windows Phone device which would be x86 compatible it couldn't work, since a LabVIEW executable is a Win32 portable executable format not a .Net bytecode image.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • To run Forms 10g on Windows Mode

    Is there possibility to run Forms 10g on Windows mode, not on Web ?
    Thanks.

    If you want to test your forms locally there is an OC4J component with the Developer Suite which can be started so you can run your Forms on your local station. This is no client/server but you run your webforms local.

  • How to run a command line window from code?

    In an application I need to run a dll file with a few arguements. These arguements can be given in the command line window. The execution of the dll file will return a string that i need to get (for the parsing etc).
    1. How can I open a command line window from the Java code?
    2. How to run commands on it?
    3. How to get the results of the commands from the command line into my program?

    In an application I need to run a dll file with a few
    arguements. These arguements can be given in the
    command line window. The execution of the dll file
    will return a string that i need to get (for the
    parsing etc).
    A dll is used by other programs. It is not possible to run it from the command line.

  • Firefox problems, wants to load a profile, recording not possible

    When I want to record a test using Firefox, the first step is loading profiles, althoght there is only one single profile available.
    I confirm it but it is not possible to record the test.
    Why not?
    It is supposed to work with Firefox actually.
    Now I really just wonder if there is worse tool than this available......
    I guess not!

    Your contribution unfortunately does not provide any details about firefox version, plugins and extensions used, the OS you are running etc. So I am playing by the ear and because you mention "playing a web page game" I suggest you check your plugins. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Could not able to RUN Java Programs in JRE 1.5.08

    hi
    I am using Jdk 1.5.8.
    I don�t have any problem in compiling the files.
    but i could not able to run the program through windows cmd prompt.
    Say name of the java file is newFile (no packages).
    When i try to run the program by using java newFile it raises a ClassNotFoundException.
    it s the same case when try to set any JDBC drivers ..
    is there any problem in my class path settings? Please help me out to fix this problem

    if your current directory is not in the classpath,you should include it in the classpath.
    To do that you can include .(dot) to your classpath variable.
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html

Maybe you are looking for