Contributions
How to run TestLeft tests in CICD with an access key
Here it's explained how to run TestExecute specifying the access key, but I need to know how to run TestLeft tests with an access key. https://support.smartbear.com/testexecute/docs/licensing/id-based/automated-builds.html?sbsearch=access%20key Is it documented anywhere?2 years agoPlace TestLeft QuestionsTestLeft Questions966Views0likes0CommentsProblem with RestSharp reference
In my project where I am referencing TestLeft nuget pacakge I am also referencing another nuget package that has a dependency to RestSharp 106.11.4. When I create an instance of a `LocalDriver` I get the following error: "System.MissingMethodException: 'Method not found: 'System.Object RestSharp.Extensions.ReflectionExtensions.ChangeType(System.Object, System.Type, System.Globalization.CultureInfo)'.'" If I remove the depedency to this other nuget package everything is fine. How can I fix this? Are there any plans to replace RestSharp with a newer version? (the referenced one is 7 years old)2 years agoPlace TestLeft QuestionsTestLeft Questions971Views0likes0CommentsRe: How to add WPF Composite Controls definitions to TestLeft UI Spy use
Thank you Alex, I have seen it's actually already there.. https://community.smartbear.com/t5/TestLeft-Feature-Requests/TestLeft-s-UI-spy-should-remember-added-composite-controls/idi-p/1705535 years agoPlace TestLeft QuestionsTestLeft Questions1.5KViews1like0CommentsHow to add WPF Composite Controls definitions to TestLeft UI Spy use
The application I am testing has custom WPF User Controls and for TestLeft to further decompose them I am using the SetCompositeControls method. That is working fine, but I have a problem with TestLeft UI Spy as there is no way to specify those options to TestLeft UI Spy and I can't then really see how the VisualTree actually looks like in execution. Any suggestions? Thank you.1.6KViews0likes2CommentsRe: How to properly start a Windows service
Thank you so much for your reply! It put me on the right track. Somehow I forgot that the whole .NET Framework is available for anything I have to do... Turns out the ServiceController class is exactly what I need. https://docs.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicecontroller?view=netframework-4.7.2 Here's a concise example: https://stackoverflow.com/questions/11062841/start-stop-service-from-form-app-c-sharp6 years agoPlace TestLeft QuestionsTestLeft Questions2.3KViews1like0CommentsHow to properly start a Windows service
My app under test has a Windows service that I need to start at the beginning of the test if it is not already started. I haven't found a way to do it in TestLeft API, so I am calling "sc.exe" directly with the following command: this.driver.Applications.Run($"sc", $"start {serviceName}"); It works mostly, but sometimes it throws the following exception: SmartBear.TestLeft.ApiException: The application 'sc' (PID 25376) exited with code 0 before the test engine could access it. What would be the best way to work with Windows services? I mostly need to start a service (and ideally wait for it to finish startup), stop it and also be able to check whether it is running. Thank you!Solved6 years agoPlace TestLeft QuestionsTestLeft Questions2.3KViews0likes2CommentsBeing able to navitage down in objects with items or call methods with parameters within UI Spy
In the UI Spy it is not possible to navigate down objects that have items because there is no way to specify parameters to properties or methods from the UI Spy. That was possible with TestComplete and was extremelyhelpful when debugging or discovering new objects in thevisual tree.1.3KViews1like0CommentsShow documentation for methods of Objects in UI Spy
When selecting a method from an object in UI Spy tool, there is no way to know what parameters are expected for a given method. That was possible for TestComplete and was extremely useful. A descrition of the method or propery was displayed too.1.2KViews2likes0Comments