Telerik Forums
Test Studio Forum
5 answers
145 views
I want something simple. I have an Excel with the Question "Is the house a rental". The values can be "TRUE/FALSE". Now I have a radiobutton on the website with this question also. Now I want to know how to check the excel (datadriven) what the value is and if it's TRUE select the radiobutton "Yes" else "No".

If possible I don't want to do it in code but I can't figure out how to do it. I tried using "Verify checked is 'False' on 'RentalElement'- DataDrive: [$(RentalHouse)]" within a if else statement but I could not get it to work.

If you want a visual image of the radio question take a look here (dutch website). 
http://www.independer.nl/woonverzekering/intro.aspx

Thanks for the help!
Bjorn
Boyan Boev
Telerik team
 answered on 05 Aug 2014
5 answers
98 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
254 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
116 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
122 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
164 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
177 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
133 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
90 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
158 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
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?