Applications crash when automated by a UI Automation client app in Windows

rohit patil 1 Reputation point
2021-10-11T08:59:11.103+00:00

Hello,
Applications crash when automated by a UI Automation client app in Windows
I have developed a Windows UI automation tool using C#. I am automating an external Windows application with this tool. It was working well untill one of the Windows update installed on my machine.

On inserting the older version of DLL in installation directory Appliaction not chrashing.
The version copied to installation directory is: 7.2.17763.1728
DLL: UIAutomationCore.dll

Details:
OS: Windows 10
Build:Version 20H2 (OS Build 19042.1165)
Visual Studio 2015

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,560 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
453 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2021-10-13T09:11:36.507+00:00

    Hello @rohit patil ,

    Thank you for your question.

    Sometimes an update can cause a problem, damaging some applications, although this is not something that often happens.

    I recommend that you follow the instruction below and check if the problem persists or not:

    Instructions: go to settings> update and security> click View update history> at the top of the screen click Uninstall updates> when opening the new screen look for the newly installed update and then right click on it and select Uninstall, wait for the process is complete and then restart your computer to complete the uninstallation completely.

    You can also upgrade to version 21H1, which is the latest version of windows 10, I believe this would save potential problems.

    To do this you can follow the instruction below:

    https://www.microsoft.com/en-us/software-download/windows10

    Step 1: Access the above link and select the Update Now option, an application will be downloaded in which you must install on your computer.

    Step 2: when installing you must open the application and the download, verification and installation of the recent version will start.

    Step 3: After you will be asked to restart the device to complete the update, after a few minutes you will have the latest version.

    ----------------------------------------------------------------------------------------------------------------------------------

    If the answer is helpful, please vote positively and accept as an answer.


  2. Castorix31 81,461 Reputation points
    2021-10-13T09:20:54.107+00:00

    Have you tested if the sample application I posted in your other same thread crashes too ?
    8 days ago and no feedback...