Telerik Forums
Test Studio Forum
4 answers
153 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
99 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
91 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
205 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
152 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
72 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
118 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
144 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
83 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
1 answer
108 views
Hello,

I am trying to record a new test and play that test back. Its a simple test. I am having following issues in that:

In Recording Test:
- When I click 'Record' button, it opens up two instances of Internet Explorer. (First Problem)
- I am navigating to http://google.co.in site. Then I am entering a simple search string. And then I Stop recording and closing my browser.

While Playing Back:
- When I click Execute button, it shows following: (Second Problem)

connecting to controller
connected!

Executing test: 'New Test'
Mode: 'QuickExecution'
Browser: 'InternetExplorer'
baseUrl: ' '

and then after sometime it closes that window.

I found from test log that it showing following error:

--------------------------------------------------
'10/22/2010 2:39:12 PM' - Error encountered during execution.
--------------------------------------------------
'10/22/2010 2:39:12 PM' - Error attempting to ping runner. Error: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.WriteCommandToPipe(PipeCommand command, PipeStream pipe, Boolean waitForDrain)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Ping()
--------------------------------------------------
'10/22/2010 2:39:12 PM' - Aborting....


Please help me as soon as possible as I am trying to evaluate this product and having only demo version which will expire after 5 days.

Thanks in advance.
Cody
Telerik team
 answered on 25 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?