Hi,
I am trying to implement SaveAsDialog class in my coded step and receive this compilation error:
[ Compiler ] error CS1729: 'ArtOfTest.WebAii.Win32.Dialogs.SaveAsDialog' does not contain a constructor that takes 4 arguments 12:22:14 'INFO' > Build Failed
This is weird, as I follow the documentation here for the class. How is it possible that now the compilation error here show the constructor does not take in 4 arguments?
Following is the code I have written:
SaveAsDialog dialog = new SaveAsDialog (Manager.ActiveBrowser, DialogButton.SAVE , @filepath, Manager.Desktop);
Manager.DialogMonitor.Start();
dialog.SaveFileName = filename;
dialog.WaitUntilHandled(30000);
Anyone can help?
Thanks in advance.
I have been reading through so much document this week I may be overlooking the answer. Is there a way to link Azure DevOps Test Plans to a TS test script? It seems like it should be possible tie tests back to the story it was created for.
Steve
Hello.
I have a simple test (see Picture1).
I copied 2nd step "Wait for 'class' attribute 'Contains' value" and converted it to code (4th step).
In 2nd step, the test waits for condition 10 seconds and fails as expected. In 4th step, the test fails immediately with "Error: Unexpected error while waiting on condition" (see Picture2). I need to use waitings like this in coded steps.
Is it a bug? Or I do something wrong?
Test Studio Version 2021.2.809.0
Hi, i can record an Test, but every time i want to execute this test i get the same error:
------------------------------------------------------------
'10.09.2021 09:43:17' - Executing test: 'WPFTest', path: 'WPFTest.tstest.'
'10.09.2021 09:43:17' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2021.2.809.0'.
'10.09.2021 09:43:17' - Starting execution....
'10.09.2021 09:43:17' - Failure detected during execution. Details:
------------------------------------------------------------
'10.09.2021 09:43:17' - System.ArgumentException: Es wird kein Prozess mit der ID 2064 ausgeführt.
bei System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
bei System.Diagnostics.Process.GetProcessById(Int32 processId)
bei ArtOfTest.WebAii.Wpf.WpfApplication..ctor(Manager manager, Int32 pid, String appFileName)
bei ArtOfTest.WebAii.Core.Manager.GetWpfApplication(Int32 iProcessId, String strAppLocation, Boolean& bCreatedNew)
bei ArtOfTest.WebAii.Core.Manager.ConnectToApplication(Process proc, String pid)
bei ArtOfTest.WebAii.Core.Manager.LaunchNewApplication(ProcessStartInfo pinfo)
bei ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWpf(ExecutionEngineCreateParams initParams)
bei ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
bei ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'10.09.2021 09:43:17' - Test completed!
Hello,
I am currently trying to automate selecting a value from a dropdown to find a company by code (not a select). For example the company code may be WRC. If I type "WR" it goes from showing all the companies beginning with "W", to then all the companies beginning with "R". upon inspecting the element, its an input field, with an ID and Value properties, in light of this is there any way i can, through code or otherwise directly set the value of the input field without using the simulated typing?
Thanks in advance!
My client's company is putting Microsoft authenticator in every application access through external network. In order to automate I need to get the Code which is randomly generated by authenticator.
Let me know how to automate that using Telerik Test Studio.
Hello,
I am trying to edit the find logic for an element that changes every time you click the button. For Example, the field changes from CreatePurchReq1_New0 to CreatePurchReq2_New. I tried editing the element to 'Starts With' 'CreatePurchReq' but can't do 'Ends with' because the number at the end changes too, and the CreatePurchReq ID is also used elsewhere on the page so it is not specific enough.
Is there a way to use wildcards like in SQL? Not sure on the best way to proceed.