Telerik Forums
Testing Framework Forum
4 answers
215 views
Hi All,

In our application, we have a dialog which pops up when a user tries to close the browser without logging out using the official link. We seems to have no control over it and you can't see this in DOm. It just locks the browser control and give you two options :

Leave this Page

Stay on this page


how should I go about handling this use-case, if suppose I intend to click on "Leave this Page"

Thanks in advance!

Ivaylo
Telerik team
 answered on 14 Oct 2013
1 answer
155 views
Hi,

We have developed few charts bar,line, scattered line charts using Kendo UI charts. I have downloaded Telerik testing framework 2013.01 and try to automate those Kendo Charts using VSUnitTest.

Could you please provide some samples to verify the charts (either image comparison or directly verifying the bar/line series) using testing framework.


Please find the attachment.
Thank you..

Velin Koychev
Telerik team
 answered on 11 Oct 2013
3 answers
192 views
// Launch the page
ActiveBrowser.NavigateTo("http://localhost/myapp/object/display/ObjRef/%2F%2FMainSite%2F5100.MT1");

A decoded the URL string, "http://localhost/myapp/object/display/ObjRef///MainSite/5100.MT1", was sent to the browser and resulted in an error.

Thanks.
Yan
Velin Koychev
Telerik team
 answered on 09 Oct 2013
1 answer
113 views
I am trying to write a simple script, and I got stuck on launching my WPF application because of a null reference exception. I have included the test project. I am using Visual Studio 2010.
Velin Koychev
Telerik team
 answered on 02 Oct 2013
1 answer
127 views
Hi,
Friday I must update the server with many Windows Update.
Now my test not work...towards the end of this error message appears (attached)

Boyan Boev
Telerik team
 answered on 02 Oct 2013
1 answer
282 views
Hi,

I am creating new tests for the Product. I need help to start with reading the data from CSV where I am intending to use list which grows dynamically according to rows and columns in the file. Do you have any template code which I can use for the start.

Thanks
Amar
Velin Koychev
Telerik team
 answered on 01 Oct 2013
8 answers
132 views
Hi,
Urgently need a solution...
As i need to play a video which is bundled in iframe and this iframe does not contain any id or partial id only it has [height], [width] and [src].

Can you please assist.

Thanks in advance


Regards
Sairam
Boyan Boev
Telerik team
 answered on 25 Sep 2013
1 answer
94 views
Hi Telerik Team,

How to get Silverlight control instance from Existing Browser page. For example, I have already opened a browser page which is having Silverlight content in it, how to get the instance of this content for automation.

For the new instance you have showed as below

Settings.Current.Web.EnableSilverlight = true;
06. 
07.// Launch a browser instance
08.Manager.LaunchNewBrowser();
09. 
10.// Navigate to the page
11.ActiveBrowser.NavigateTo("http://localhost:5697/SilverlightApplication1Web/SilverlightApplication1TestPage.html");
12. 
13.// Get an instance of our Silverlight app.
14.SilverlightApp app = ActiveBrowser.SilverlightApps()[0];
15. 
16.// Set the text of the text box
17.app.FindName<TextBox>("myName").Text = "Telerik";

Similarly I want to do this for existing browser page.
Boyan Boev
Telerik team
 answered on 24 Sep 2013
3 answers
128 views
                Settings mySettings = new Settings();
            mySettings.Web.DefaultBrowser = BrowserType.FireFox;
            Manager myManager = new Manager(mySettings);
            myManager.Start();
            myManager.LaunchNewBrowser();
            myManager.ActiveBrowser.NavigateTo("http://www.gmail.com");
            System.Threading.Thread.Sleep(8000);
            HtmlFindExpression expression = new HtmlFindExpression("Name = Email", "id = Email");
            HtmlInputEmail emal = myManager.ActiveBrowser.Find.ByExpression<HtmlInputEmail>(expression);
Not able to identify the email text box in gmail.com, please let me know if anything I am missing in my code, thanks!
Velin Koychev
Telerik team
 answered on 18 Sep 2013
5 answers
110 views
Hi,

I am getting the following exception when I am trying to run the test on the new versions of Telerik: Version: 2012.2 1420 or Version: 2013.1 806. Currently I am using the Version: 2012.2 1204, but when I am upgrading the telerik to Feb or August version I can't run the tests. 

artoftest.webaii.browserspecialized.internetexplorer.internetexploreractions' threw an exception.

I have done everything which is said on the topics related to this but there is no success. Can you please help me out as I am stuck with this issue and I need to upgrade to new versions because of some new features which I need. 
        public SilverlightApp App()
        {
 
            Initialize();
            Manager.Settings.Web.EnableSilverlight = true;
            Manager.LaunchNewBrowser();
            ActiveBrowser.Window.Maximize();
            ActiveBrowser.NavigateTo("http://ab-m4500/AthenePortal/Presentation.WRClient.html");
            return ActiveBrowser.SilverlightApps()[0];
}




Boyan Boev
Telerik team
 answered on 17 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?