Telerik Forums
Test Studio Forum
5 answers
47 views
Hello,
I've created a bunch of tests for our testing branch of our site.  They run no problem.

However, we now wish to run them against staging but they are now returning with errors such as "unable to find element" when it's source is targeting the old testing URL of the site. 

I remember there was a way to make a test's entirety refer to a certain URL base source.  Anyone have any ideas?

Cody
Telerik team
 answered on 04 Aug 2014
14 answers
180 views
Hi,

I'm looking to capture the following data as part of my Performance Testing Result.
  1. Client Side:
  • Response Time,
  • Data Sent, 
  • Data Received,
  • Memory Usage,
  • CPU Usage.

 2.  Server Side:
  • Response Time
  • Data Sent, 
  • Data Received,
  • Memory Usage,
  • CPU Usage.

Kindly let me know the counters I need to select in-order to get the required result.

Thanks,
Kruba
Boyan Boev
Telerik team
 answered on 31 Jul 2014
1 answer
71 views
Is it possible to define an element of a web page by two attributes? For instance, I can find the element by its innertext

Element imagePage = ActiveBrowser.Find.ByContent(pageNumbers[p],FindContentType.InnerText);

Or I can define an element by part of its element id

Element imagePage = ActiveBrowser.Find.ById("p:p")

But can I define it by using both? The elements themselves are recreated every time the program is run so the only constant is the inner text but that is not enough to differentiate it from other elements on the web page, the only way I can think to differentiate the element is by adding another identification method which will use the first part of the element id, in this case "p", that also remains constant and is unique to that specific element. Any help will be greatly appreciated.

Thanks,
Reese
Boyan Boev
Telerik team
 answered on 30 Jul 2014
1 answer
63 views
Hello, I just watched the Explicit Waits with AJAX: Drop-down Lists tutorial video and some of the steps taken cannot be replicated as I have different options than what I see demonstrated. I need to know what the equivalent would be for the version of Test Studio I am using.
I am running the test using IE and when I select an item from my first drop down menu, the tutorial stated to select "Wait - text content", but that is not one of my options. Would I need to select "Wait - selection 'Text' is '...' "?
Also, the tutorial then says to expand that wait step and key in a value from the drop down menu in the ExpectedString field, but I don't have that option either. What is the equivalent to ExpectedString?
Please see attached for specifics. Thanks!
Boyan Boev
Telerik team
 answered on 30 Jul 2014
1 answer
104 views
Hello,

One of my tests fails because Test Studio could not locate an element.
The following error is received:

Failure Information: ~~~~~~~~~~~~~~~Unable to find the target host
(Browser/SilverlightApp) to locate an element. Failure: Waiting for frame
'[Frame:id=Main,name=Main,src=~https://envision.digitalrealty.com/envision/Admin/DispWorld.asp,UseQuery:False]'
timed out. Error: Wait for condition has timed
outInnerException:System.Exception: Unable to find the target host
(Browser/SilverlightApp) to locate an element. Failure: Waiting for frame
'[Frame:id=Main,name=Main,src=~https://envision.digitalrealty.com/envision/Admin/DispWorld.asp,UseQuery:False]'
timed out. Error: Wait for condition has timed out   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost
host, AutomationDescriptor descriptor, Int32 timeout)   at
ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

 

As I can see frame ID and Name are not dynamic. I tried to change my configuration according to this article /http://docs.telerik.com/teststudio/user-guide/recording-tests/frames.aspx/ but the result is the same.

Could you please give some more information how to fix my issue?

Thank you in advance.

Best Regards,
Gergana
Boyan Boev
Telerik team
 answered on 28 Jul 2014
7 answers
114 views
Hi,

Can we use Test Studio to do performance and load testing of windows based application. The application is a WPF app using WCF in the background with SQL server.

And can the same test be done on a Borland C++ application using Test Studio?

If not, do you know any tool that can do it?

Thanks
Ivaylo
Telerik team
 answered on 28 Jul 2014
3 answers
72 views
Hi,

I have a question regarding Test Studio - Test Lists. I am writing tests for an online application and they are written in such a way, that  each test cleans changes made to the app. The problem i am having, is that if one test fails to clean after itself, the others fail as well ( changes made to the app ). 

Is there a way, to make some sort of a "TRAP" in test lists where if ONE TEST FAILS, it executes a few other tests which reset the application before continuing the test list.

Thank you,
Jernej
Ivaylo
Telerik team
 answered on 23 Jul 2014
1 answer
53 views
Hi,

Can we use Test Studio to do performance and load testing of windows based application. The application is in WPF using WCF in the background with MS-SQL server.
And can the same test be done on a Borland C++ application using Test Studio?
If not, do you know any tool that can do it?

Thanks
Ivaylo
Telerik team
 answered on 22 Jul 2014
16 answers
112 views
Hi,

I have been trying to perform a 'click' for long time now. The Normal Click, Desktop Click, Hover over seems unable to locate element. 
The Edit Suggestion for Element is find element.jpg attached.
The Id is dynamically generated (keeps changing) so, we cannot make it an identifier. Any other logic will fail to locate element. 

The Expected image, image on failure and DOM is ExpectedImage.png attached

What would you recommend this type of element? 

Best Regards,
Shiva
Boyan Boev
Telerik team
 answered on 22 Jul 2014
4 answers
129 views
Hi,
Today my automated tests have broken and there is a recurrent error summary like "Value cannot be null.
Parameter name: element" on inputs and links. Would you have any idea is this due to?

The only thing I can think of any change prior to this was a cache clearing.

Thanks
Cody
Telerik team
 answered on 18 Jul 2014
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?