Telerik Forums
Test Studio Forum
1 answer
174 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
82 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
234 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
178 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
100 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
133 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
144 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
1 answer
160 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
631 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
1 answer
140 views

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.

Elena
Telerik team
 answered on 09 Aug 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?