Windows 10: Running Code coverage in an UWP application

Discus and support Running Code coverage in an UWP application in Microsoft Windows 10 Store to solve the problem; Hi, We are working on a UWP application. The application works just fine. We have included a unit test app universal windows and have written few... Discussion in 'Microsoft Windows 10 Store' started by SowmiyaKrishnamoorthi, Jul 13, 2021.

  1. Running Code coverage in an UWP application


    Hi, We are working on a UWP application. The application works just fine. We have included a unit test app universal windows and have written few testcases. The testcases are executed successfully, but we are unable to view the code coverage details. In the code coverage tab, we see the below errorEmpty results generated: No binaries were instrumented. Make sure the tests ran, required binaries were loaded, had matching symbol files, and were not excluded through custom settings. For more information see https://go.microsoft.com/fwlink/?LinkID=253731Searching the internet, I have seen l

    :)
     
    SowmiyaKrishnamoorthi, Jul 13, 2021
    #1

  2. [UWP] all UWP application windows are not displayed anymore after a lot of start/kill of any UWP application

    Hello,

    This issue seems linked to the Windows Anniversary Update (build 10.0.14393,
    also reproduced on build 14905.rs_prerelease.160811-1739) and the new UWP lifecycle introduced with it, since this issue was not there before.

    The test scenario is simple:

    1. start any UWP application (in my example the windows calc.exe, the default Windows 10 calculator application)

    2. wait 0.5 second

    3. kill the same UWP application

    4. repeat the 1-2-3 steps 5000 times

    This scenario is basically reproducing an automated test environment.

    The expected result is that the tested application will always be displayed correctly.

    The actual result is that the tested application is not displayed anymore after a various number of loops (between 200 and 800). It looks like it is running in the background since the process can be seen in the task manager.

    When the UWP application window can't be displayed, the scope of the issue is much more important: no UWP content can be displayed anymore (Edge browser or Windows settings, etc).

    The way to recover from this is to log out from the user session and log in again.

    Here is a python script to reproduce the issue:

    Is it a known issue ? Any way to work around this (this is blocking our UWP automated testing environment)?

    BR

    Jean-Marc
     
    Jean-Marc T., Jul 13, 2021
    #2
  3. CryptoKey Win User
    Mouse cursor not locked to crosshair in UWP applications

    My mouse cursor isn't locked to my crosshair when I'm unpaused from Minecraft or other apps. I've tried reinstalling and resetting Minecraft, no good. Restarting my PC, no good.

    Resetting UWP apps through Powershell seems to not work either;
    HTML Code:
    Here's a short demonstration of the bug:

    Such a mind boggling issue. Can't find a solution for this problem even on the internet.

    Things I've tried that provided no solution:

    • Resetting/Uninstalling Minecraft
    • Reinstalling UWP apps to their defaults.
    • Shutdown/Restarting my PC.
    • Repairing my computer with SFC and DISM
    • Repairing my PC with Windows Media Installation Tool (Upgrade PC Keep Files Option)
    • Uninstalling/Reinstalling my mouse drivers.
    I have tried recovering from a restore point and it seemed to fix the issue temporarily but the issue returned.

    Winver:

    Running Code coverage in an UWP application [​IMG]
     
    CryptoKey, Jul 13, 2021
    #3
  4. Running Code coverage in an UWP application

    Error Code 0x80072F76-0x20016 When Running Fresh Start Application

    Hi Michael,

    Too many applications running on the background can result to
    error code 0x80072F76-0x20016. To better assist you, we need the answers to the following questions:

    • What application are you trying to launch/run before receiving the error message?
    • Did you make any changes on your computer prior to this issue?

    In the meantime, we suggest performing a clean boot to ensure that you are
    running Windows 10 using a minimal set of drivers and startup programs. To do this, simply follow the steps in this

    article
    .

    We are looking forward to your response.
     
    Jefferson Ore, Jul 13, 2021
    #4
Thema:

Running Code coverage in an UWP application

Loading...
  1. Running Code coverage in an UWP application - Similar Threads - Running Code coverage

  2. Prevent UWP applications from updating

    in Windows 10 Gaming
    Prevent UWP applications from updating: Good afternoon. I am using Windows 10 21H2. I categorically dislike the update of some UWP apps, for example the photos app. I hate what Microsoft has done to it and install the version with a normal interface Microsoft.Windows.Photos_2019.19041.20110.0.AppxBundle in manual...
  3. Prevent UWP applications from updating

    in Windows 10 Software and Apps
    Prevent UWP applications from updating: Good afternoon. I am using Windows 10 21H2. I categorically dislike the update of some UWP apps, for example the photos app. I hate what Microsoft has done to it and install the version with a normal interface Microsoft.Windows.Photos_2019.19041.20110.0.AppxBundle in manual...
  4. Prevent UWP applications from updating

    in Windows 10 Installation and Upgrade
    Prevent UWP applications from updating: Good afternoon. I am using Windows 10 21H2. I categorically dislike the update of some UWP apps, for example the photos app. I hate what Microsoft has done to it and install the version with a normal interface Microsoft.Windows.Photos_2019.19041.20110.0.AppxBundle in manual...
  5. UWP like default VPN application

    in Windows 10 Network and Sharing
    UWP like default VPN application: I'am developer of VPN application. How can i set my application as default VPN for user profile at Windows,if network is unsecure? And i need to do this from my C# code....
  6. UWP applications with transparency issues

    in Microsoft Windows 10 Store
    UWP applications with transparency issues: After some update in the way, my MS Store has stopped working, and I've to reinstall windows over the old installation. But now, all applications from UWP have issues when the transparency effect is ON. Curiously, the control panel, taskbar and start menu is ok at all. Take...
  7. UWP-process keeps running

    in Windows 10 Network and Sharing
    UWP-process keeps running: Hello, I just have a quick question about the UWP-processeswith the green leaf. Why they always keep running on the background from time to time. Sometimes i just check my task manager and see them running while i maybe only used them once in my life. Is there any way...
  8. Are the days of Windows UWP applications numbered?

    in Windows 10 News
    Are the days of Windows UWP applications numbered?: Microsoft has big plans when it released the Windows 10 operating system: make customers forget about Windows 8, reach 1 billion devices running the system in record time, and establish a new application platform and Store. The platform was renamed several times, you may...
  9. Mouse cursor not locked to crosshair in UWP applications

    in Windows 10 Software and Apps
    Mouse cursor not locked to crosshair in UWP applications: My mouse cursor isn't locked to my crosshair when I'm unpaused from Minecraft or other apps. I've tried reinstalling Minecraft, no good. Restarting my PC, no good. Resetting UWP apps through Powershell seems to not work either; HTML Code: Add-AppxPackage -register...
  10. coverage on a used computer

    in AntiVirus, Firewalls and System Security
    coverage on a used computer: I was given a used tablet pc with win 10. I would like to know if Microsoft offers some type of coverage plan I could purchase for protection.. I am running Windows Defender but I continue to get hacked. I have found Json on some of the files left on my pc. This is some...