wpf - Running UI automation tests on build server -


We use UI Automation and Newsgate so that test UI tests can be done for WPF application. We have created tests that work fine while running them from a local machine. Those tests were successfully successfully run on our Build Server (using TeamCity) Works always hang after opening the application window. But if I'm logged in (Remote Desktop), all UI automation tests are also run successfully on our build server. So I'm guessing that there is something in it with an active window session running. How to create an active window session or any other solution to build those tests that are running on the server, how to make our build server understand?

You do not have many options, I will list them both, the most preferred option first:

  • Set up a virtual machine on your build server in your virtual machine. You can lock the host (to keep things safe)
  • Keep logging at all times This insult produces a security problem. You can minimize this problem by removing the mouse, the keyboard and the screen and only access the builders via RDP or something similar.
  • Edit

    Take a look at this item: Can the script execute when the computer is off ?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -