Telerik Forums
Test Studio Forum
1 answer
160 views

I'm automating a web system in Internet Explorer (the only browser supported). At a given point, I'm supposed to click a button and that should launch a second window. When clicking the button, this security dialog pops up: "Only secure content is displayed." and clicking in "Show all content" should allow the new window to open up.

Since the dialog is not a part of the DOM, I can't record it. Perhaps a coded step would be the solution, but I can't make it work. Any suggestions? Thanks!

Plamen Mitrev
Telerik team
 answered on 26 Oct 2021
1 answer
132 views

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
If someone has tried it and was successful, your help is much appreciated.
Plamen Mitrev
Telerik team
 answered on 26 Oct 2021
0 answers
187 views

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 ---

Alejandra
Top achievements
Rank 1
 asked on 13 Oct 2021
1 answer
271 views

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.

Elena
Telerik team
 answered on 11 Oct 2021
1 answer
124 views
Can I setup a scheduling server (remote) that pulls Test List and test files from a remote Git repository master branch where our newest test code is stored?
Elena
Telerik team
 answered on 04 Oct 2021
1 answer
342 views

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

 

 

 

Plamen Mitrev
Telerik team
 answered on 17 Sep 2021
1 answer
269 views

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

Plamen Mitrev
Telerik team
 answered on 13 Sep 2021
1 answer
148 views

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!

 

Elena
Telerik team
 answered on 10 Sep 2021
1 answer
204 views
Hello, as the subject suggests, I tried using the capture browser function in one of my test lists, and the resulting image in the log file is not at all what I expected, it only captures the top left of my browser, is there any way to specify the parameters, has anyone else encountered this issue as well?
Plamen Mitrev
Telerik team
 answered on 09 Sep 2021
1 answer
255 views

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!

Daniel
Top achievements
Rank 1
Iron
Iron
 answered on 25 Aug 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?