Is there a way to publish output/results to a dedicated node which has executive dashboard on it using ArtOfTest.Runner.exe ? We are running tests suing this
"C:\Program Files (x86)\Progress\Test Studio\Bin\ArtOfTest.Runner.exe" ^ root="%WORKSPACE%\test_studio_project" ^ list="%WORKSPACE%\test_studio_project\TestLists\%TEST_LIST%.aiilist" junit ^ out="repos\TestResults" ^ result="%BUILD_NUMBER%-Results" ^ xml html junitstep
Este error me sale al querer enlazar datos desde excel especificamente en un campo desplegable.
ArtOfTest.Common.Design.Exceptions.ExecutionException: ¡Error de ExecuteCommand!
InError establecido por el cliente. Error de cliente:
valor 024 en el menú desplegable solicitado.
BrowserCommand (Type:'Action',Info:'NotSet',Action:'SelectDropDown',Target:'ElementId (tagName: 'select',occurrenceIndex: '4')',Data:'V:024',ClientId:'6677467e-7fcb-4bb1-bf4b-1a776c760289',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'value 024 in the dropdown requested.')
InnerException: ninguno.
---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException
en ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
en ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
en ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
en ArtOfTest.WebAii.Core.Actions.DoSelectDropDown(Element targetElement, String data)
en ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String text, Boolean useValue)
en ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
en ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
en ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- Fin del seguimiento de la pila de la excepción interna ---
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!