Telerik Forums
Test Studio Forum
0 answers
2 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
6 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
3 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
21 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
25 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
13 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
15 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
23 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!

1 answer
28 views
Hey, i'm trying to integrate test studio to work with my job's custom software. I am able to data bind select boxes, however with multi-select boxes i can't find an option to bind to data (even local data). Is there a way that this can be achieved out of the box? or do i have to write code for this (if i do can someone point me in the right direction please)? Thanks in advance
Plamen Mitrev
Telerik team
 answered on 19 Aug 2021
1 answer
25 views

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.

Elena
Telerik team
 answered on 11 Aug 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
JG
Top achievements
Rank 2
Iron
ixen
Top achievements
Rank 1
Iron
Iron
Iron
Jana
Top achievements
Rank 2
Iron
Iron
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Roland
Top achievements
Rank 1
Veteran
Iron
Top users last month
JG
Top achievements
Rank 2
Iron
ixen
Top achievements
Rank 1
Iron
Iron
Iron
Jana
Top achievements
Rank 2
Iron
Iron
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Roland
Top achievements
Rank 1
Veteran
Iron