Telerik Forums
Test Studio Forum
16 answers
333 views
I am doing a simple handle of a alert dialog after a save button is being pressed and the alert is being handled correctly in IE and Firefox but when I run the same test in Chrome the OK is never clicked and the handle is never resolved.  I am also unable to record anything in Chrome due to the recorder to not start so the test was recorded in Firefox but I think it is probably different issue. 
Elena
Telerik team
 answered on 05 Feb 2020
3 answers
129 views
With the release of Microsoft Edge (Chromium), when will Test Studio be updated to use the new browser instead of the Microsoft Edge Beta version?
Elena
Telerik team
 answered on 03 Feb 2020
10 answers
189 views
Similar to my other post, I'm working to be able to pass the settings option in the Runner CLI.
It appears to take the full path to a JSON file containing custom settings for the run based on documentation.  Is it possible to add "custom keys" keys in a similar fashion to below?
 
 public override void OnBeforeTestStarted(BeforeTestStartedArgs args)
        {
            string defaultEnvName = "xxxx";
 
            string envName = args.Context.Params.ContainsKey("environment") ? args.Context.Params["environment"] : defaultEnvName;
 
}
Elena
Telerik team
 answered on 03 Feb 2020
1 answer
72 views

I am evaluating test studio, but I am having trouble.  I have two apps that need to interact with each other during the test case.  One is the primary app (app1) and the other is a hardware emulation app (app2). 

1. App2 needs to open and load a script and begin it's run,

2. App1 opens

3. App1 begins to communicate with app2 (which starts running the script that was previously loaded). 

4. If the script runs successful, app1 will open show a successful connection to app2. 

Hope that is not too confusing. 

In this scenario, when I run test studio to complete the first step, app2 closes.  App2 needs to stay open and wait for app1 to run. 

How can I create a test for this scenario?

 

Elena
Telerik team
 answered on 29 Jan 2020
2 answers
124 views

We use Jenkins to run Test Studio tests against our API following publishes and I'm getting the following error:

1/27/2020 11:04:29 AM' - System.TimeoutException: Wait for condition has timed out\r\n   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)\r\n   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)\r\n   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)\r\n   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)\r\n   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)\r\n   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)\r\n   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)\r\n   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)\r\n------------------------------------------------------------\r\n'1/27/2020 11:04:29 AM' - Test completed!\r\n

I don't think the tests are running at all. We have logging on the API and it's not logging any attempts that would have been generated by this process. The API is fine when I access it directly and with our applications. This is happening in multiple environments so it's not confined to one API server. I've tried shutting down and restarting the agent, but that didn't help. How can I go about troubleshooting this further?

 

Elena
Telerik team
 answered on 28 Jan 2020
5 answers
84 views

Hello

I'm trying to find documentation around  how to use ArtOfTest.Runner to execute tests remotely distributed across machines.

We're planning to use Azure Devops which I've setup the agents. 

I've been unable though to find using CLI how to have tests execute distributed in a remote fashion.

We have 4 remote servers (1 controller, 3 runtimes)

I'm hoping to be able to distribute execution of a test list across those machines using ArtOfTest.Runner.

Plamen Mitrev
Telerik team
 answered on 27 Jan 2020
1 answer
48 views
Hi, I am a trainee. I have been working on this website https://www.stephendurbinandassociates.com/. I changed the font of some content. But it looks different while viewing it on Windows 10. What is the issue here? Is it something with the website or the system? Kindly help me with your suggestions.
Elena
Telerik team
 answered on 16 Jan 2020
3 answers
91 views

We've encountered quite a frustrating issue.

One of our testers using Test Studio was testing some changes with an existing test.  They were prompted to "push to the scheduling server" and accidentally clicked yes.

Now despite the fact we've removed those changes from his file, and not been prompted to push to scheduling server.  The changes never made it to source control either.  Our remote servers continue to run these changes the user put in.

 

How can I get our tests on remote servers back to not using that test the user pushed?

Plamen Mitrev
Telerik team
 answered on 13 Jan 2020
1 answer
71 views

Hi,

I recently downloaded the free trial for Telerik test Studio and created several tests for our Silverlight application.

When the tests are run individually they are working fine. However, when I run the tests consecutively in a Test List some of the elements are not found and an 'Element not found' exception is thrown. In particular this is the case with a checkbox and a textbox element.

Is there a way to solve this issue?

Thanks

Plamen Mitrev
Telerik team
 answered on 07 Jan 2020
8 answers
70 views

I wanted to see if there's any feasible way to get the name of the currently executing test list name from an execution client?

Basically I want to obtain the testlist name and store it in a local variable within the method OnBeforeTestStarted

 

From the Article below

This feature allows only one machine to have a running scheduling server and multiple machines to be connected to it and serve as execution clients. In this case the complete set of execution extension methods will be executed on the scheduling server machine only.
All execution machines will not execute OnBeforeTestListStarted() and OnAfterTestListCompleted() and will only recognize the OnBeforeTestStarted() and OnAfterTestCompleted().

https://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/execution-extensions

 

Plamen Mitrev
Telerik team
 answered on 03 Jan 2020
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?