Telerik Forums
Test Studio Forum
1 answer
84 views
Hello Telerik,

Could you let us know which is the earliest version of Test Studio that supports running of tests in BOTH IE10 and Chrome? I realize that the latest version will support both browsers - but we would like this information just in case the latest version doesn't work for us (based on our experience when we have tried to upgrade in the past).

Also, is there anything we should know (things we should do, known issues, etc) when migrating existing tests and/or authoring new tests in order to run in those browsers?  If this is documented somewhere, please point us to it.

Thanks,
Shashi
Ivaylo
Telerik team
 answered on 27 May 2013
1 answer
115 views
Greetings Once Again,

I have a test which is creating data in an environment off a spreadsheet. I want it to always create something successfully, but report to me if an error occurs. I will then report this error to the appropriate people who will fix, then publish the data. If I fail to create the data, it will not save other pieces, causing time consuming fixes, so I put the verification into an IF statement. Therefore, ELSE is synonymous with failure, but it then handles the failure and forges ahead without messing up the remainder of the item creation.

Of course, when it hits this ELSE, all the steps pass which normally would cause it to PASS and, amid 300 data entries, I'd be none-the-wiser. To combat this, I have a bogus verification setup with continue on failure so that the step marks fail. I was wondering if I was missing a feature that was a bit more... graceful.

Alas... in a perfect world, nobody would enter data incorrectly on the spreadsheet! 

Sincerely,
Robert
Plamen
Telerik team
 answered on 27 May 2013
3 answers
80 views
I am getting an error

Only one recorder windows is supported per-process.
No recorder will be attached to new document.


This issue was occurred earlier but resolved automatically after restart

I tried following, But no result
1. Run the Visual studio as Admin Mode
2. Un install and re install the Test studio
3, Configuration of IE settings with Test studio recommendations
4. Restarted windows


Any help Please
Boyan Boev
Telerik team
 answered on 24 May 2013
6 answers
1.3K+ views
Is it possible to create an app.config and somehow combine it with the app.config that test studio will generate for itself?

I have seen the proposed solution in this thread but I currently have a legacy DLL that expects data to exist in the app.config. The legacy DLL will not know about the ExecutionContext and since the configuration I want to put into the app.config only applies at an application level, I don't want to place it in my machine.config.

Is there some way I can modify the test studio app.config to include my desired xml nodes?

I am currently using the standalone Telerik Test Studio v 122.14.20.0
Justin
Top achievements
Rank 2
 answered on 23 May 2013
9 answers
196 views
Hi, I've a scenario to to click some radio buttons (Yes/No). I want to data drive them using Excel sheet.

If there are 5 radio buttons, My Excel will contain 5 columns with Yes or No. And 10 rows. For each run, the Yes/No will vary in the columns. Can anyone please help me in regard of this. Thanks. !!!
Boyan Boev
Telerik team
 answered on 23 May 2013
2 answers
136 views
We are trying to run a test multiple times with different parameters defined in the local data source. As there are some steps which can only be done after the startup of our WPF application, we need to restart the application for every iteration within our data source. Is this possible? It seems that for every iteration all steps of the test are run again but without a restart.
Asdf
Top achievements
Rank 1
 answered on 21 May 2013
7 answers
301 views
Hi,

I am trying to find an element using Find.ByContent("abc") and then trying to retrieve the co-ordinates of this element using GetRectangle method so that i can perform a click using the retrieved X and Y co-ordinates. But am facing errors in the same.

My code looks like this:

            Element MyElement = Find.ByContent("p:Complete", FindContentType.TextContent);
           
            int x = MyElement.GetRectangle().X;
            int y = MyElement.GetRectangle().Y;
            Log.WriteLine(x.ToString());
            Log.WriteLine(y.ToString());

Is there a way I can load DOM using code? And is this the correct way to find out the co-ordinates of the element?
Can somebody please help me with the same?

Thanks in advance.
Prerna
Plamen
Telerik team
 answered on 20 May 2013
4 answers
328 views
Currently I am maintaining 3 different Test Lists that are are the same except for the enviroment they are meant to test. one is qa, one stage and the final is Prod.  Our URLs vary depending on the enviroment we are trying to access. I have investigated using the BASE URL function when a base URL is entered I get the "/" in my navigation step however when I try to modify the navigation URL for playback my test fails.  I believe this is due to the parameters before the base URL being the one I need to change not the ones after the URL.

Example: 
1. Movies.com is my base URL 
2. I want to hit a page of my site hollywood.movies.com 

The paremeters change before the base.  After watching the video here: http://tv.telerik.com/watch/automated-testing-tools/setting-base-url-in-webui-test-studio  it looks like base URL can only handle parameters after the base.   Has anyone run into this issue before or is there a known workaround that I am not finding.

Most of the sites I test have similar URL structures which will make maintenance of my test plans cumbersome. 


               
Velin Koychev
Telerik team
 answered on 18 May 2013
3 answers
184 views
Hello,

I recently performed a test using Telerik Test Studio, and I came over an exception caught by it. The test executed successfully, but at the end, an Internet Explorer window opened containing an application specific JavaScript error.

This is the error (just as an example):

17:12:27 FATAL - Uncaught error Unable to get property 'read' of undefined or null reference in http://mes-devpc7/RnDSuite/Scripts/Custom/Wizards/Shared/FilterCriteria.js, line 229.
 
I was wondering if this kind of errors can be caught and included in the Telerik test result log, and maybe even determine the test to fail in case such an error is caught.

Edit: There is another functionality that I need to address. The application I am testing displays a loading icon whenever an action is taking some time to load. Is there a way to check how long the loading icon is displayed? Also, is there a possibility to do something like this: "If load-icon visible for more than 10 seconds, fail test"? 

Regards,
Corina Forna

Boyan Boev
Telerik team
 answered on 17 May 2013
4 answers
128 views
Hi,

I'm using the Telerik test studio to create tests for my Silverlight application.
Running into a scenario where I'm unsure how to proceed.

Now - my application has dynamically generated dataforms. Meaning, I've created the data entry forms dynamically using Class properties. To show/hide columns I've used data annotations - [Display(AutogenerateField=True)], I'm reading through each class properties and generating controls like RadMaskedTextBox, checkbox, RadComboBox, RadDateTimePicker (mostly telerik) controls etc.
I have a lot of forms like these. To test these forms, I do not want to create an object for each of these controls in each form in the telerik test application.
Instead I want to dynamically identify the following controls on whichever form i navigate to:
1. Required fields (in my case properties with [Required] attribute on it), whose labels appear in bold
2. Different types of controls like RadDateTimePicker (properties of type datetime/datetime?), Checkbox (properties of type boolean), RadComboBox, RadMaskedTextBox, RadMaskedCurrencyInput, UserControl (customized to display radio buttons, browse control, upload controls)

#1 is on priority since I can get my Add new to work without validation errors.
#2 is necessary for Add/Edit forms and add/modify values in various controls.

Once I can get these controls dynamically in my test application I should be able to fill data into it and perform save operation.

Till now I was able to record my form filling activity in the test application. But this approach creates an object for each control of each form in the project. The project is quite large and I don't wanna end up making n number of objects in my test application. I want to be able to reuse the tests for the forms which are generated dynamically thus reducing application size, time and effort spent to create tests.

Attached find a zip file with 2 sample projects -
1. Sample Silverlight project where i have implemented a part of our project's structure i.e. Dynamically generated 2 forms based on class properties. Used a common view and 2 different view models.
2. Sample Telerik Test Project in which I recorded the actions done on my SL project.
Then I customized each step in code to check what exactly occurred.
As you can see in the sample - A different object was created for each control - the textbox, date time control, combobox etc for each form. Although the controls are actually the same..

I need a way to 1. dynamically load these controls and fill data into it or 2. have only one instance of this control object in my test application and still be able to access it for any form.

Kindly help.
Ivaylo
Telerik team
 answered on 17 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?