Vstest.console.exe does not find emulators on non-english windows

Hi all,
I am currently setting up my TeamCity build steps to build my app, deploy it to the emulator and then run unit and UI tests projects on it.
For deploying, I use "AppDeployCmd.exe /install app.appx /targetdevice:6" where "6" is the ID of the emulator retrieved by "AppDeployCmd.exe /EnumerateDevices". This works well. The emulator is being started and the appx is
deployed properly.
For testing, I use "vstest.console.exe" together with a runsetting file which looks like the following:
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
  <MSPhoneTest>
    <TargetDevice>Emulator 8.1 U1 WVGA 4 inch 512MB</TargetDevice>
  </MSPhoneTest>
</RunSettings>
The device string is exactly the same which is printed by using "AppDeployCmd.exe /EnumerateDevices" and also visible in the Visual Studio selection.
This works fine when using English as the primary system language of Windows. When using German, the emulator names are appended a "(DE)", so "/EnumerateDevices" and also Visual Studio display "Emulator 8.1 U1 WVGA 4 inch 512MB(DE)".
For deployment, I use the index number which stays the same (6 in this example). For running the tests, however, neither "Emulator 8.1 U1 WVGA 4 inch 512MB" nor "Emulator 8.1 U1 WVGA 4 inch 512MB(DE)" are found by vstest.console.exe and
an error is returned when using either string as the TargetDevice value in the runsettings file:
Error: Could not start test run for the tests for Windows Phone app: The selected target device is not valid..
I'm using the latest VS2013 tools with the latest WP8.1 SDK and already tried reinstalling everything.
I'd appreciate if someone could help me running my tests on Windows with German system language.
Thanks and best regards
Sebastian

Hi Nithak,
thanks for your reply!
As described above, deploying via AppDeployCmd works fine - I pass the ID/number which I received using /EnumerateDevices and then it works in both languages. The app is updated properly in the emulator and the next step in my CI progress would be to
run the tests which require the app to be deployed.
The problem is only vstest.console.exe where I pass a emulator name via the runsettings file.
In my eyes there should be used IDs as well as neither "Emulator 8.1 U1 WVGA 4 inch 512MB(DE)" nor "Emulator 8.1 U1 WVGA 4 inch 512MB" are found by the tool.
Best
Sebastian

Similar Messages

  • Scan app does not find 4625 sacnner / printer in windows 8.1

    I posted a while ago that I could not install the printer / scanner software on my laptop runningWindows 7.1  because it would not recognise my printer, although
    1. I provided the correct IP address when asked by the installer
    2. The installer worked perfectly on my  desktop PC
    3. I could see my printer/scanner with this IP address on my home wifi network in my browser
    4. I could install the printer functionality  (but not the scanner)  over the wifi through Windows by searching and selecting from its list of HP drivers
    So I gave up after trying many times over many days.
    Subsequently. I  have upgraded to Windows 8.1.  The HP installer still does not work. But by letting Windows automatically find the printer (only) driver over the network I can (as before) print to a thing called HP Deskjet 4620 Series Class Driver.
    Now I see Windows 8.1 has a separate App for the HP scanner called also HP Deskjet 4620 Series Class Driver. This, as before, cannot connect to the scanner. But:  this is interesting.  While trying unsucessfully  to connect, it displays an IP address for this HP Deskjet 4620 Series scanner which is different from the printer IP Address. (It is not a valid IP address on my network, I looked though my browser). It seem to me that if I could somehow change the scanner IP address to the correct one, the scanner would work.
    Any ideas?

    Hello Mikets ,
    Welcome to the HP Forums.
    I see that you are having connectivity issues with the scanning portion of the printer.
    I suggest we try the HP Printer Install Wizard for Windows.
    Write me back and let me know if this helped or not.
    If the troubleshooting does not help resolve your issue and you would like to seek more options, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    Thanks for your time.
    Cheers, 
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Running Tests where the test runner is in a nuget package using Vstest.console.exe

    I am trying to run my unit tests from a batch file.  I got it working a week or so ago and then my test runner (xunit) got changed from using a vsix install to using a nuget package to install it.
    When my batch file runs, it does not find any tests anymore.  It works great in Visual Studio and with TFS Build.
    I guess that when I try to run Vstest.console.exe in my batch file, it has no idea about the settings from the solution where VS and TFS both do have that available.
    My question is:  Is there a way to run my tests using Vstest.console.exe where it goes to nuget and gets the test runner?  Are there settings I can put into a test settings file to use when running the tests or Do I need to switch to using a MSBuild
    script to run the tests? 

    Hi Dave,
    Thank you for posting in the MSDN forum.
    How did you get VSTest.Console.exe to pick up an extension installed into a project from NuGet?
    Whether this blog is helpful for you?
    http://blogs.msdn.com/b/aseemb/archive/2012/03/03/how-to-make-your-discoverer-executor-extension-visible-to-ute.aspx
    Note: See "4. Use Nu-get extensions  (Updated 29/8)" in above blog.
    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.

  • VStest.console.exe Query for a Data Row Result DURING Test Execution Status

    I started with the following
    thread and was asked to create a new thread. 
    I have the following test that reads a .csv as a data source.
    /// <summary>
    /// Summary description for Test
    /// </summary>
    [TestCategory("LongTest"),
    TestCategory("Visual Studio 2013"), TestMethod]
    [DeploymentItem("data.csv")]
    [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV",
    "|DataDirectory|\\data.csv",
    "data#csv",
    DataAccessMethod.Sequential),
    DeploymentItem("data.csv")]
    public void Create_And_Build_All_Templates()
    testmethodname = "Create And Build All Templates ";
    LaunchVisualStudio2013();
    When I run the test from VStest.console.exe, I see the following:
    vstest.console.exe /testcasefilter:"TestCategory=LongTest" /settings:"C:\testing\CodedUI.testsettings" /logger:TRX /logger:CodedUITestLogger C:\AppTests\CodedUITest.dll
    Microsoft (R) Test Execution Command Line Tool Version 12.0.31101.0
    Copyright (c) Microsoft Corporation. All rights reserved.
    Running tests in C:\testing\bin\debug\TestResults
    Starting test execution, please wait...
    I want to report on the status of the iterations DURING the test run from VStest.console.exe, like how the test explorer window does this. 
    How can I achieve the output below (notice the (Data Row ) values) ?
    vstest.console.exe
    /testcasefilter:"TestCategory=LongTest"
    /settings:"C:\testing\CodedUI.testsettings"
    /logger:TRX
    /logger:CodedUITestLogger
    C:\AppTests\CodedUITest.dll
    Microsoft (R) Test Execution Command Line Tool Version 12.0.31101.0
    Copyright (c) Microsoft Corporation. All rights reserved.
    Running tests in C:\testing\bin\debug\TestResults
    Starting test execution, please wait...
    Test Passed - Create_And_Build_All_Templates (Data Row 1)
    Test Passed - Create_And_Build_All_Templates (Data Row 2)
    Test Failed - Create_And_Build_All_Templates (Data Row 3)
    Test Passed - Create_And_Build_All_Templates (Data Row 4)
    Ian Ceicys

    Jack, again the results are printed to the std. out console AFTER the test data row has been completed. Is there a way to query VSTest.console and find out which test\data row is being executed so it can be written out to the console
    DURING the test run? 
    I put together the following screencast showing the issue: 
    http://www.screencast.com/t/IrxxfhGlzD
    Also here is the github repo with the source code that I included in the screen cast:
    https://github.com/ianceicys/VisualStudioSamples2015
    Take a look at LongRunningDataDrivenTest.sln
    Unit Test
    [TestClass]
    public class UnitTest
    public static int _executedTests = 0;
    public static int _passedTests = 0;
    public void IncrementTests()
    _executedTests++;
    public void IncrementPassedTests()
    _passedTests++;
    [TestInitialize]
    public void TestInitialize()
    IncrementTests();
    Console.WriteLine("Total tests Row executed: {0}", _executedTests);
    [TestCleanup]
    public void TestCleanup()
    if (TestContext.CurrentTestOutcome == UnitTestOutcome.Passed)
    IncrementPassedTests();
    Console.WriteLine("Total passed tests: {0}", _passedTests);
    private TestContext testContextInstance;
    /// <summary>
    /// Long Running Test
    /// </summary>
    [TestCategory("Long Running Test Example"),TestMethod]
    [DeploymentItem("data.csv")]
    [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV",
    "|DataDirectory|\\data.csv",
    "data#csv",
    DataAccessMethod.Sequential),
    DeploymentItem("data.csv")]
    public void LongRunning_TestMethod_Takes_Over_30_Seconds_to_Run()
    WaitTime(Convert.ToInt32(TestContext.DataRow["WaitTime"].ToString()));
    public void WaitTime (int waittime)
    Thread.Sleep(waittime);
    public TestContext TestContext
    get { return testContextInstance; }
    set { testContextInstance = value; }
    data.csv
    WaitTime,
    13000
    19000
    10000
    11000
    15000
    Ian Ceicys

  • Windows 8.1, BootCamp does not find the ISO image.

    When I try to install Windows 8.1, BootCamp does not find the ISO image.
    I purchased Windows 8.1 Pro, I downloaded the .exe requested file from a Windows computer, performed the steps recommended by Microsoft in order to create the ISO file saving it on a flash drive as well and, as a precaution, on a DVD too.
    I performed the "Download the latest Windows Support Software from Apple" step directly into another flash drive and having it completed BootCamp displays the following message:
    "The installer disc could not be found  –  Insert the Windows installer disc and wait a few seconds for the disc to be recognized. "
    So happens that I have tried this using the DVD, pendrive and also copying the ISO file to the desktop and to the "Documents" folder as recommended in certain websites, but none of this has made the process go ahead. What can I do?
    My equipment is a mid 2011 iMac running Mac OSX 10.10.1.

    Dear Loner T,
    thanks to my coworker, the solution was unpacking from that ISO file which I had recorded (according to the steps indicated by Microsoft), but now using Nero software (Windows) and then recording by the most common way in a new DVD. See the screen of the first DVD before unpacking:
    This true saga only demonstrated that the generated ISO file as an option at the time of the Windows installation, is not for direct installation through BootCamp, and as a I could check, even for direct installation on a Windows PC. See the last DVD burned using Nero and  again recorded:
    The execution of BootCamp, was perfect
    Thank you for attention to my problem!

  • THX Console - Callibration does not remmebered setti

    Hello,
    i have creative audigy 2 and work very well, but THX Console -> Callibration does not rememmbered my setting and after reboot every time i must reconfigure it. How i fix this problem? I have lattest THX Console.
    Regards,
    John Smith

    Hi folks!
    Well, it's been a long time, since this thread was created! Unfortunately, I'm forced to re-open the topic once more - though, I don't think I'm getting any helpful replay anyway, or? ;-)
    First, Jeremy, AV may be the solution, but in most cases it isn't! In fact, you can pretty much mess around in the registry, without being bothered by any AV or FW alerts (eventually, Windows itself will refuse the change settings due to some access-restrictions) - I know it, believe me!
    Second, John, I do have the same problem with my Audigy 2 ZS (now for a pretty long time!). Creatives is well aware of the problem, but just did nothing (or almost) to change it. When I bought the card and installed the drivers, no THX-settings were saved at all. It was just because of bad drivers! Although Creative offered a patch soon afterwards, the problem was solved only partially.
    Because I don't think, Creative will improve the drivers anymore; I actually was hoping to find anyone knowing where in the Windows-registry one can find the parameters (distance, dB, angle) of the THX settings!?! Does anyone?
    Help would be much appreciated! Thanks in advance!!
    Cheerio,
    JackaL

  • AIO remote does not find my printer

    I changed Internet providers a few months ago. I have not been able to print from my iPhone or iPad since then. AIO remote does not find my printer at all.

    Hi,
    Both AirPrint and the HP AIO Remote app relies on Multicasting, a such have to be supported and enabled by your router.
    Some routers support a such by default, some require settings changes and some do not support Multicasting which required for a such.
    Please clarify your router brand and model to better understand any possible steps to try.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Does not find partition

    I have 10.7 Lion and all my apps just stopped working (including finder). I tryed to hit the restart button, but it didnt shut down, so I used the Power Button.
    When i started it up again, it goes to Mac OS X Utilities and does not find Macintosh HD. (The partition on my hard drive)
    And i really does not want to reinstall it, because I have iOS apps in XCode that im developing.
    MacBook Pro 13´ 2010 Model (Dont remember what month)
    OS X 10.7 Lion
    Crashed after debugging iOS app on my iPhone

    It just says that my partition is OK . (And its not, because I cant start up my mac)
    But, ill try just wipe out all data and restore it from a Time Machine backup

  • Ipad does not find printer

    I have new Epson printer with airprint possibility. Printer is on wifi and iphone can see it and print files. but ipad does not find printer at all?

    Apple has some troubleshooting tips at the bottom of this page that may help:
    http://support.apple.com/kb/HT4356
    Regards.

  • Iphone and ipad does not find the airprint printer

    After I upgraded my iphone and ipad I lost my airprint function. Ipad and Iphone does not find the airprinter. The printer is a HP Photosmart 5520, and it does work wireless with my Windows PC that is on the same nettwork.

    In our case the Airprint printers could not be found after IOS upgraded to 7.1.2, all was fine before then.  I have scoured the forums and many people have suffered the same problem.  All the solutions given are aimed at a domestic network with just a Wireless router.  They all involve restarting all the devices and rejoining the IOS devices to the wireless network.  Some people have had to do it multiple times before they regained use of the printers.
    In my case none of these work because I am talking about a business network with two wireless access points, several switches and a router.  To prove it is the IPads I have installed Bonjour onto a Windows PC (Bonjour is the technology used by Airprint).  This finds the printers perfectly so it is definitely something that was changed in the version of Bonjour on the IOS 7.1.2 that is causing all the problems.
    I was hoping that Apple would release another upgrade to IOS to fix this problem but it has been several weeks so far and nothing has emerged.
    So something that worked perfectly a few weeks ago is now dead in the water because of an update on the IPads!!!!!!!!

  • Bluetooth on iPhone does not find my iPad

    Bluetooth on my iPhone does not find iPad when both devices are next to each other.

    Envisions99
    I agree.
    still...my opinions on Apple.....
    If you just try to put yourself in their position you will understand better.
    Music Rights, security,every body wants something like this and like that- with all they have to consider and take care to get not sued- it is no wonder thta there are some restrictions.
    And why ? because they are the only one to realy care an respond to questions and claims. Ever tried to get help from Sony and other Bigies ? Its like talking to a wall.Their support is just a not specific call center. Or did somebody read recently that Sony Erricson was called before the judge because their Cellphones are failing after third time repair (true story), their batteries are burning, their music devices dont let you transfer the music you bought(MiniDisc) and so on? Seldom right?!
    If I read news about Apple, I just wonder how many legal challenges Apple has to face.
    Looks like kind of sport in the US, to try to get money out of Apple.
    `Oh, my laptop did not work last night so I could not read the email from my love.
    I realy became so depressed and my heart aches therefore soooo much . I aske Apple to compensate
    for this with ähhh.... 1 million $ ?! `
    cheers,
    ;-)arry

  • My airport utility does not find my airport express device

    My airport utility does not find my airport express device

    In order for the AirPort Utility on your iOS device to find the Express, both need to be connected to the same Wi-Fi network. By default, the Express will broadcast an unsecured wireless network with a network name of something like: Apple Network NNNNNN. Can you iOS device find this network?

  • My iPad 2 does not find my Big Blue Live speaker! What do I do?

    My iPad 2 does not find my Big Blue Live speaker! What do I do?

    Make sure you're using an original apple ipad charger and plugging into a wall outlet to charge, not computer.
    Its possible that the charger is bad and may need replacing.
    Its also possible that the battery has gone bad and it may need replacing.
    Apple does offer battery replacement, you will have to send to them or take it to an apple store.
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
    Before you do that though, I would recommend reading through these links first for some more information on how your battery works, needs to be charged and maintained.
    Apple Batteries - iPad
    http://www.apple.com/batteries/ipad.html
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327

  • My USB Port does not Find my I POD

    My USB port does not find my I POD. I have Installed all th elatest software.

    Welcome to Apple Discussions!
    Does the iPod show Do Not Disconnect? You may want to try resetting your iPod while it is connected...
    http://docs.info.apple.com/article.html?artnum=61705
    See if this link helps too...
    http://docs.info.apple.com/article.html?artnum=61711
    Finally, more details on the issue such as what your computer (if anything) does and what the iPod does.
    btabz

  • My iTunes does not find my IPOD!? What to do??

    I really need my ipod, but ALL the music disappeared..... then I tried to sync, but my Itunes does not find my ipod. What to do??

    If you are unable to restore, then type "unable to restore" into the search bar at the top of this page by Support and read the resulting help article

Maybe you are looking for

  • Can't boot from USB on P7N Diamond

    I have BIOS Ver. 1.3 installed on my P7N Diamond board. I used the flashing utility from MSI to install it. Now, to install Ver 1.4, I am using the Forum Flasher. My board will not recognize the USB drive in the F11 Boot Menu or in the BIOS boot sele

  • How can I switch a data plan from one line to another?

    I have 5 lines on my account in a Nationwide Family Plan. I have a question about these two lines: A: Smartphone, 2GB Data B: Smartphone, 4GB Data Promo Line A has been using about 3GB every month due to no wifi access, while Line B uses less than 1.

  • Help! when i try to log in, I get a window saying it cannot save my email address and has to reset the keychain

    first I get a window saying "a keychain cannot be found to store "my email" address I get a choice between "cancel" or "reset to default" If I click on "reset to default" the next message is this: Are you sur eyou want to reset your keychain?  It wil

  • Auto payment enable in SAP (F110)-Check not generated

    Hi All, When I try to make payment via tcode f110, I specified bank which was assigned with a specific payment method in variant, system auto selected all due invoices and make payment. Postings were successfully done but check number were not create

  • Where is the download for the update to LR v 5.7?

    My LR v5.7 tells me there is an update available.  When I click on the 'download' link provided it takes me to the CC Sales page.  Everything with Adobe these days goes only to the CC sales pages.  Talk about being bludgeoned.  As a LR  and Photoshop