white

Is there Anyone who Successfully Implement UI Test Automation Regime using Microsoft UI Automation?

旧巷老猫 提交于 2019-11-30 02:13:12
I am looking for an Automated UI test framework/ software tool. In the past I have been using TestComplete , and although it's a good piece of software, but the concept of GUI test automation was deemed to be sufficiently difficult that I wrote a few posts to complain about it . One of the problems with third party test automation tool is that you have to learn new language in order to be productive on it, not to mention that the tooling support is poor. I am now planning to look into Microsoft UI Automation that comes with .Net 3.0 and the White Framework . But before I do that, I want to

Jenkins on Windows and GUI Tests without RDC

我的梦境 提交于 2019-11-28 18:49:39
We have a master-slave configuration for Jenkins. Our .NET project is built by a slave Jenkins instance running on Windows. There are a bunch of GUI tests, however they only seem to run if there's a remote desktop connection (RDC) session open. When trying to run the tests with no RDC, Jenkins doesn't show any progress in testing. Then, however, I connect to the Slave's desktop and can see the main window of the application launched, however the UI testing framework (White) cannot perform any actions. The Jenkins slave is launched via Java Web Start. I read on several websites that

How to Click on a Button within a datagrid after finding the correct username in C#

倖福魔咒の 提交于 2019-11-28 10:51:12
问题 So here is my Code that is able to get the header of the datagrid column and find the matching values from the user inputs. For Example if input is "jdoe" it will look at the Username column in the datagrid and match the [value.Key].Text to the value.Value . Now the problem is that each row has an "Edit" button with the same automation ID. How do I iterate through the datagrid and be able to click on the Edit button with regardless of what row "jdoe" is in: Here is what I have so far: public

Built tests are not added to the Visual Studio Test Explorer window

北战南征 提交于 2019-11-27 13:00:08
问题 I set up the SpecFlow plug-in for the Visual Studio 2013. I created new Feature Item and build it. Result: built test is not shown in the Test Explorer. Why? I do it according to this video 回答1: in order to configure it to generate MSTest tests you need to add this to your app.config: <specFlow> <unitTestProvider name="MSTest"></unitTestProvider> </specFlow> 回答2: I experience this same problem, but the solution was different. Following the advice on a SpecFlow Github issue, the following

Jenkins on Windows and GUI Tests without RDC

微笑、不失礼 提交于 2019-11-27 11:41:44
问题 We have a master-slave configuration for Jenkins. Our .NET project is built by a slave Jenkins instance running on Windows. There are a bunch of GUI tests, however they only seem to run if there's a remote desktop connection (RDC) session open. When trying to run the tests with no RDC, Jenkins doesn't show any progress in testing. Then, however, I connect to the Slave's desktop and can see the main window of the application launched, however the UI testing framework (White) cannot perform any