Telerik Forums
Test Studio Forum
1 answer
101 views
Hi Everyone,

I'm using the free Telerik framework, version 2011_1_502. We currently use IE 8 for our tests and I'm trying to run tests on IE 9. Ideally we would like to keep using the same framework version on IE 9; we have a vast amount of tests, and upgrading the framework would entail converting the code and testing all tests on both browsers, which would take a very long time.

The issue I currenty face is handling the download dialog on IE 9. I'm able to save a file, but it goes to the default directory (doesn't do Save As).

Here is what we use for IE 8 (doesn't work on IE 9):

manager.DialogMonitor.AddDialog(ieDownloadDialog);
manager.DialogMonitor.AddDialog(saveas);
manager.DialogMonitor.AddDialog(ieDownloadCompleteDialog);
manager.DialogMonitor.Start();
  
button.Click();
  
ieDownloadDialog.WaitUntilHandled(CurrentEnvironment.LargeTimeOut);
saveas.WaitUntilHandled(CurrentEnvironment.LargeTimeOut);
//ieDownloadCompleteDialog.WaitUntilHandled(CurrentEnvironment.TimeOut);
  
manager.DialogMonitor.RemoveDialog(ieDownloadDialog);
manager.DialogMonitor.RemoveDialog(saveas);
manager.DialogMonitor.RemoveDialog(ieDownloadCompleteDialog);
manager.DialogMonitor.Stop();
I also tried the following and it doesn't work:

 

var handler = new DownloadDialogsHandler(activeBrowser, DialogButton.SAVE, path, desktop);

The following is what saves file, but it doesn't specifiy the location given on the variable path, it just saves to the default directory and default filename:
 

button.Download(false, DownloadOption.Save, path, 60000);

Can anyone help with this? Thanks in advance.

Plamen
Telerik team
 answered on 27 May 2013
1 answer
44 views
I have a testlist which contains 15 - 20 test cases. once the execution of testlist is done telerik test studio is throwing an error message " unable to load the results....."

Please let me know why am i getting the above error
Plamen
Telerik team
 answered on 27 May 2013
3 answers
143 views
Hi... I've a scenario of simple form filling of two text fields and submitting. I'm data driving the test via an Excel Sheet.

Here is a sample of my Excel data.

1 Fruit Apple
2 Fruit Orange
Object Chair
4 Object Desk

It is obvious that the sheet have some repeated entries in a column. Since my form remembers the last iteration values used, I don't want Test Studio to erase the text field and type the same again. It is consuming more time.

Is there any way to create a check/verify step (Either GUI or coded), such as Test Studio should skip the cell value if it is same as previous. (No skipping the whole iteration, just leaving out the cell value). Help me out in this, I'm ready to explain more, Thanks !

Note: I'm working on Silverlight platform.
Plamen
Telerik team
 answered on 27 May 2013
1 answer
51 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
78 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
53 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.0K+ 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
161 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
95 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
228 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
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?