Telerik Forums
Test Studio Forum
1 answer
99 views
Is it possible to call a load test from the command line (or to execute from the command line)?
Plamen Mitrev
Telerik team
 answered on 21 Feb 2020
5 answers
482 views

Test Framework 2019.3.1003.2

Kendo UI jQuery 2019.3.1023

 

I have this code to test a Kendo UI Upload:

Browser.WaitForElement(10000, $"id={id}").As<HtmlInputFile>().Click();

 

This used to work in previous versions but now it does nothing and the File Open Dialog is never displayed. If I manually click the button in the browser it works. I do not get any errors.

 

Elena
Telerik team
 answered on 17 Feb 2020
3 answers
90 views

Hello,

I noticed the line item in the recent release notes - Executive Dashboard: Fix status for not-run tests in Test Results view.

We have updated to the most recent release, but didn't notice this fix was actually implemented.  We still see tests that are not executed (because they're in development by example) as a faint fail.  I'm not sure I understand why "not completed" can't be input there?

Please see my attachement

 

Plamen Mitrev
Telerik team
 answered on 14 Feb 2020
10 answers
162 views
Hi,

I'm using ur site as a scenario (http://www.telerik.com/automated-testing-tools.aspx)

IF (Test Studio Link isVisible) Then
Login
Else
Search site

The test failed because it was unable to locate the element. Question is what if the element that i'll be using for our application is not located in the other page it will fail. Is there a way to bypass this? that if the Test Studio Link(unique element) is does not exist go automatically to Else?

Thanks
Plamen Mitrev
Telerik team
 answered on 12 Feb 2020
5 answers
490 views

Is it possible to extract a value or text from a RadDropDownList?  In my test when I use element highlighting I see the a RadDropDownList and a span option.

The RadDropDownList has an extraction for things like item count and visibility but not text or value (which to me would be the most common).  The span has an option to extract value, but the only real reason to use the span is because it is part of the drop down list control as it is rendered (Classic mode).  One problem with the span is that this creates another element on top of the drop down list element which makes tests harder to maintain and understand, and it isn't associated with the drop down list in any way.  The major problem, however, is that the recorder creates find logic with no relation to drop down list and even uses the text content to identify the span.  This makes the test fragile and prevents us from reusing an extraction step for tests that use different values in the drop down list.

Am I missing something here?  If this just isn't going to work like I think it should is there a better way to accomplish this?  Would it be possible to create find logic to locate a span element based on a parent with a specific ID (the ID of the drop down list)?

 

 

Plamen Mitrev
Telerik team
 answered on 10 Feb 2020
3 answers
466 views

Hello, 

I was wondering if it was possible to connect to a pop-up window and return connection to the original window without having to close the pop-up window? Essentially, I am clicking a link in my original window and it launches a new tab (chrome). The recorder recognizes this and puts a connect to pop-up step. I do a few actions in that tab; but, instead of closing I want to leave that tab open and go to the original window and do a few actions and then return to that pop-up window that was opened and do a few more actions, then close that pop-up window at the end of the test.

What I have tried so far was putting a connect to pop-up to the new tab that is launched, and I tried putting a connect to pop-up step with the original partial URL, but it doesn't seem to actually switch control back to the original window.

Thank you! 

Plamen Mitrev
Telerik team
 answered on 07 Feb 2020
16 answers
407 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
186 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
235 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
95 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?