Current filter:
                                You should refresh the page.
                                  • Hi,

                                    We have developed our GUI Test automation on Visual Studio Enterprise 2017 using Coded UI with Dev Express v18.2.6. When I run our tests out of visual studio or using the mstest agent using commands like this it works fine...

                                    C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\mstest.exe /testcontainer:C:\GUIAutomantion\GUIAutomation.dll /category:GUIRegression /resultsfile:C:\GUIAutomantion\resultsx.x.x.trx

                                    However, if i switch to using a PC with just Visual Studio 2017 Test Agent v 15.9.28307.812 installed, the same command fails with:

                                    "Object reference not set to an instance of an object at: DevExpress.XtraEditors.v18.2"

                                    The directory that contains my test container dll has these files:
                                    de [directory]
                                    es [directory]
                                    ja [directory]
                                    ru [directory]
                                    Dapper.dll
                                    Dapper.xml
                                    DevExpress.CodedUIExtension.VS15.v18.2.
                                    DevExpress.Data.v18.2.dll
                                    DevExpress.Data.v18.2.xml
                                    DevExpress.Pdf.v18.2.Core.dll
                                    DevExpress.Pdf.v18.2.Core.xml
                                    DevExpress.Printing.v18.2.Core.dll
                                    DevExpress.Printing.v18.2.Core.xml
                                    DevExpress.Utils.v18.2.dll
                                    DevExpress.Utils.v18.2.xml
                                    DevExpress.Xpo.v18.2.dll
                                    DevExpress.Xpo.v18.2.xml
                                    GUIAutomation.dll
                                    GUIAutomation.pdb
                                    GUIAutomation.xml

                                    Do i need to install any special version of DevExpress on this test automation host to run GUI Automation tests using mstest?

                                Show all comments
                                • Nadezhda (DevExpress Support) 09.11.2019

                                  Hello,

                                  It looks like you run your test on the machine where our components are not installed. If so, it is necessary to install the CUIT Extension.
                                  Please note that this installer should have the same minor version as the application that you wish to test. Take a look at the Coded UI Test Extension FAQ article for more information.

                                • John Lawlor 09.11.2019

                                  With some more logging i have this error: Is there some additional DevExpress stuff i need to install with this mstest agent?
                                  Test method xxx.Test_LaunchClientLogon.TestLaunchClientLogon threw exception:
                                  System.ArgumentException: The following is not a valid technology name: DevExpress.v18.2. To search for a control, you must specify a valid technology name.
                                  Parameter name: TechnologyName

                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.ValidateSearchProperties()
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<Find>b__175_0()
                                  Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.Find()
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetPropertyPrivate(String propertyName)
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.<>c__DisplayClass179_0.<GetProperty>b__0()
                                  Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.GetProperty(String propertyName)
                                  Microsoft.VisualStudio.TestTools.UITesting.ALUtility.GetTechElementFromUITestControl(UITestControl uiTestControl)
                                  Microsoft.VisualStudio.TestTools.UITesting.ActionExecutorManager.GetActionExecutor(UITestControl uiControl)
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestLogGenerator.GetSnapshotTime(UITestControl control)
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestLogGenerator.GenerateSnapshotInfo(UITestControl control, SnapshotTime time)
                                  Microsoft.VisualStudio.TestTools.UITesting.UITestLogGenerator.MouseClick(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, MouseActionType mouseActionType, String message)
                                  Microsoft.VisualStudio.TestTools.UITesting.Mouse.<>c__DisplayClass32_0.<Click>b__0()
                                  Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
                                  Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control, MouseButtons button, ModifierKeys modifierKeys, Point relativeCoordinate)
                                  Microsoft.VisualStudio.TestTools.UITesting.Mouse.Click(UITestControl control, Point relativeCoordinate)
                                  GazelleTradingClientGUIAutomation.Test_LaunchClientLogon.TestLaunchClientLogon() in C:\aaa\bbb\ccc\ddd\Test_LaunchClientLogon.cs: line 96

                                • John Lawlor 09.11.2019

                                  Hi,

                                  I develop automated tests on my own machine which has a Dev Express Universal license, but then i want to deploy and run these tests on other machines. However, we have a bank of about a dozen machines to deploy to, which ever is available at the time. Do i need a license for each of these machines?

                                  "To use the CUIT Extension on a test machine, you need to have a separate valid Universal license for each tester."

                                  Kind Regards,

                                  John.

                                • Nadezhda (DevExpress Support) 09.12.2019

                                  It is not necessary to install additional tools except the CUIT Extension on your test machine.
                                  I would like to note that DevExpress license model is a per-developer model. We don't license per machine, per server, or demand any royalties or run-time fees. Thus, no matter how many machines you use, each tester should have a separate license.
                                  Please test this approach and let me know your results. If it does not help, share your test on our side so we can analyze it. Also, clarify what version of our components is used in your application. What version of the extension is installed in a machine where the exception is thrown.

                                • John Lawlor 09.13.2019

                                  Hi,

                                  We develop on our own machines, but deploy to additional test servers, however we don't log in as ourselves on these servers. There is one central secure QA user we log in as. This user doesn't have an email address or any access to external services, so can't download or make any contact with anything outside of the organisation. It is a user account locked within our test labs.

                                  Does this mean we'd have to have a license for this user?

                                • Nadezhda (DevExpress Support) 09.13.2019

                                  Hello John,

                                  No matter how you log in to these machines, you can install and register the CUIT extension using your DevExpress account if you will test these applications.

                                0 Solutions

                                Creation Date Importance Sort by