Telerik Forums
Test Studio Forum
1 answer
102 views
I am getting the error 'Unable to connect to silverlight application' when recording silver light application. Some body suggested to take the build '2010.1.6.11'. I am not able to access the build. could some body help me on this?

I am using the latest version which is available for download - 210.2.830
Cody
Telerik team
 answered on 01 Nov 2010
4 answers
139 views

Hi,

I came across with an Issue related to recording& execution in IE browser.

 

Issues-

1.      1.  While recording scripts, tool launching the IE window. However it is not displaying recording options at top right corner of Window

Application Log is displaying the following message-

Error launching the recorder. Error : System.TimeoutException: Wait for condition has timed out

   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)

   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)

   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)

   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)

   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(ProcessWindowStyle windowStyle, String arguments)

   at ArtOfTest.WebAii.Design.RecorderWindowManager.GetActiveBrowser(Boolean createOneIfNeeded, String arguments)

   at ArtOfTest.WebAii.Design.RecorderWindowManager.<>c__DisplayClass8.<EnsureActiveBrowser>b__7()

 

2.       2. While executing scripts in IE browser, tool opened browser window& it’s not proceeded as per the scripts. However its working fine if user runs same script by selecting Fire Fox browser

Application Log is displaying the following message-

 LogMessage: [3:06:17 PM] - Test 'CApplicationWizard' selected.

Note: No configuration changes/installations are done in system.

Thanks in advance.

Kalpesh
Top achievements
Rank 1
 answered on 01 Nov 2010
5 answers
87 views
Hi,

My web app is fully with Silverlight components. Few screens has custom combo boxes. I have recorded the scenario and it is getting failed always, while playback.

How can I automate these type of controls with webUI?

I'm using the internal build 2010.2.927

Thanks,
Palani.
Cody
Telerik team
 answered on 29 Oct 2010
1 answer
78 views
Hi,
 I have recorded a test and have more than 20 steps. I would like to take the application data in few steps and reuse in later. Is it possible with WebUI?

I'm using the internal build 2010.2.927

Thanks,
Palani.
Konstantin Petkov
Telerik team
 answered on 28 Oct 2010
3 answers
191 views
I am trying to open a new window by clicking on a hyperlink but the code always fails at Waitfornewbrowerconnect(URL,Ispartial, Timeout). I mean it always times out. There are two pieces of code given below both gets stuck at Waitfornewbrowerconnect(URL,Ispartial, Timeout) in both IE or FF. I am using following configurations:

- MS Visual studio express edition 2010
- Gallio 3.2
-Windows 7

My browser settings are exactly as given in the documentation. Any ideas?



Code 1
*****************************************************************************************************************
 Manager.Settings.AnnotateExecution = true;

            Manager.LaunchNewBrowser(BrowserType.InternetExplorer,true);
            Manager.DialogMonitor.AddDialog(new LogonDialog(ActiveBrowser, "login", "password", DialogButton.OK));
            Manager.DialogMonitor.Start();
          ActiveBrowser.NavigateTo("http://localhost:4444/Location/NewForm.aspx?RootFolder=%2FLocation&Source=http%3A%2F%2Ftest.kuoni.com%2FLocation%2FAllItems.aspx");
     ActiveBrowser.WaitUntilReady();
     Manager.SetNewBrowserTracking(true);
     Find.ById<HtmlAnchor>("ID").Click();
     
     if (ActiveBrowser.BrowserType == BrowserType.InternetExplorer)
     {
         InternetExplorerActions ieActions = (InternetExplorerActions)ActiveBrowser.Actions;
           ieActions.ConnectIEDialog("l:Edit Hyperlink Properties", 300);
         Manager.WaitForNewBrowserConnect("http:/localhost:4444/_layouts/AssetEditHyperLink.aspx?DefaultAssetLocation=&DefaultAssetImageLocation=&DisplayLookInSection=true&DefaultToLastUsedLocation=true&ManageHyperlink=true&DisplayWidth=&DisplayHeight=&AllowExternalUrls=true&OverrideDialogImageUrl=&OverrideDialogTitle=&ManageLinkDisplayText=true&ManageLinkIcon=true&IconUrl=", false, 3000);
         Assert.IsTrue(ActiveBrowser.IsIEDialog);

        
         ActiveBrowser.Close();
     }
     Manager.WaitForNewBrowserConnect("http://localhost:4444/_layouts/AssetEditHyperLink.aspx?DefaultAssetLocation=&DefaultAssetImageLocation=&DisplayLookInSection=true&DefaultToLastUsedLocation=true&ManageHyperlink=true&DisplayWidth=&DisplayHeight=&AllowExternalUrls=true&OverrideDialogImageUrl=&OverrideDialogTitle=&ManageLinkDisplayText=true&ManageLinkIcon=true&IconUrl=", false, 3000);
     Assert.AreEqual("Edit Hyperlink Properties", ActiveBrowser.PageTitle);
ActiveBrowser.Close();


******************************************


Code 2
*****************************************************************************************************
 Manager.Settings.AnnotateExecution = true;

            Manager.LaunchNewBrowser(BrowserType.InternetExplorer,true);
            Manager.DialogMonitor.AddDialog(new LogonDialog(ActiveBrowser, "login", "password", DialogButton.OK));
            Manager.DialogMonitor.Start();
          ActiveBrowser.NavigateTo("http://localhost:4444/Location/NewForm.aspx?RootFolder=%2FLocation&Source=http%3A%2F%2Ftest.kuoni.com%2FLocation%2FAllItems.aspx");
     ActiveBrowser.WaitUntilReady();
     Manager.SetNewBrowserTracking(true);
     Find.ById<HtmlAnchor>("ID").Click();
     
       Manager.WaitForNewBrowserConnect("http://localhost:4444/_layouts/AssetEditHyperLink.aspx?DefaultAssetLocation=&DefaultAssetImageLocation=&DisplayLookInSection=true&DefaultToLastUsedLocation=true&ManageHyperlink=true&DisplayWidth=&DisplayHeight=&AllowExternalUrls=true&OverrideDialogImageUrl=&OverrideDialogTitle=&ManageLinkDisplayText=true&ManageLinkIcon=true&IconUrl=", false, 3000);
     Assert.AreEqual("Edit Hyperlink Properties", ActiveBrowser.PageTitle);
ActiveBrowser.Close();
Cody
Telerik team
 answered on 27 Oct 2010
1 answer
139 views
Hi @

I am using Telerik Rad Grid in one of my applications.

Now When ever I change the page size of Telerik RadGrid or when ever i click on Pagination. I need to call a javascript function.

I tried to find the page size Rad combo which is used inside Grid and attaching an event which would call a javascript. But It was not working.

Please let me know how to achieve this.

Thanks in advance.
Dimo
Telerik team
 answered on 27 Oct 2010
1 answer
62 views
Hi @

I have a Grid and a button  inside a Telerik Rad Ajax panel.

Onclick of tht button I want only the Grid portion to be updated.

Now when I click on the button which is inside the Ajax panel, and If i keep a break point at the page load. I see that complete page life cycle re occurs. Though the page flicker is not seen.

How to avoid this?? Am I missing any condition??

The same thing can be achieved with asp:updatePanel and asp:scriptmanager. Scriptmanager exposes a property IsInAsyncPostBack which is true when there is a Ajax postback.

Is there any such property with Telerik?

Please let me know.

Thanks in advance.
Iana Tsolova
Telerik team
 answered on 27 Oct 2010
3 answers
101 views
When I attempt to test for the invisibility for a dynamic label I receive a false negative. After attempting to hard code as well as use the built in wizard I get the same results. I have attached a document outlining the issue.
Cody
Telerik team
 answered on 25 Oct 2010
1 answer
133 views
Hi All,

I am trying to automate the testing of my silverlight application and using WebUI studio for the same. The WebUI studio seems to be a great product but it doesn't seem to identify OpenFileDialog modal windows. Is there any way out?

Thanks,
Adi
Keaegan
Telerik team
 answered on 25 Oct 2010
1 answer
74 views
I have a data source (excel spreadsheet) that has 12,833 rows that are 7-8 digit ID's. I have a simple test for a Silverlight app that opens a GoTo dialog, enters the ID, waits for the page to load and closes the page. After about 30 documents, a test will only enter 5 of the 6 digits and fails, which leaves the whole test hanging.
Keaegan
Telerik team
 answered on 25 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?