Telerik Forums
Test Studio Forum
1 answer
105 views
I've tried a few newer versions of Web UI.
1421 - 1502 -(1607 I think, the new one)
When I run some of my old tests that ran just fine on 1213, they don't run well.
Some of the clicking functions just - don't click anymore.
Some of the tests run fine and give all triangles for results.
A lot of the external links that pop up will not close.
This causes Web UI to tray to run the rest of the test against the pop up windows causing lots of failures.
I bet I'd have to rerecord for days  to hopefully get things working again.
What should I do??
I have many problems with 1213 that I'd like to leave behind by upgrading to a newer version.
Stoich
Telerik team
 answered on 18 Apr 2011
1 answer
171 views
When configuring a scheduling server, I'm guessing that the user email is where you can put in a valid email address or semicolin delimited addresses (someone@somewhere.com; someone2@somewhere.com; ect...).  I can't for the life of me figure out what the password should be.  Please fill me in.
Stoich
Telerik team
 answered on 18 Apr 2011
3 answers
131 views
HI,

Am not able to install trail version_QA. Am getting error, please find the attached file for details.
Stoich
Telerik team
 answered on 15 Apr 2011
1 answer
87 views
Hi

What are the prerequisites to install WebUI Test Studio QA Edition Trail. Could you please let me know.
Anthony
Telerik team
 answered on 15 Apr 2011
1 answer
186 views
Hi

When I record with Telerik WebUI Test Studio for testers, I find when at the end of a recording (which is when a report is generated, a custom ssrs report) internet explorer is responsive at first, but when I enable the Automation Overlay Surface, it doesn't work and then after 5-10 seconds, IE crashes (Error: IE is not responding)..

My Setup:

WebUI Test Studio 2010.3 
Vista 64bit
IE 7.0.6002.18005

I have disabled all the add-ons in IE.

Testing:
I have tested the application (web based) which I am testing, end to end, without WebUI Test Studio recording and it works. If i do the same but with WebUI Test Studio Recording, I get the problem at the end... 

I have tried to go there manually and hook into the IE from Telerik, this doesn't work.
I have tried to play to a few clicks before the report generates and then pause the recording... still doesn't work
I have tried the above but left it recording.. Still doesn't work.

Thank you in advance.





Stoich
Telerik team
 answered on 15 Apr 2011
1 answer
145 views
Hi!
I'm recently new in Telerik and I started playing with the application today. I was trying to record a test through a web site that contains drop down menus in some pages. Telerik is showing me an error message while trying to select an option from the dropdown:
ExecuteCommand failed!
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeEvent',Target:'ElementId (tagName: 'select',occurrenceIndex: '4')',Data:'onchange--@@--{"canBubble":true,"cancelable":true,"type":"change"}',ClientId:'12c2f20f-7f70-47a9-894e-f361ab0b2170',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)

Can anyone help me with this?

Really thanks!!
Stoich
Telerik team
 answered on 14 Apr 2011
6 answers
171 views
Hi, 

can you please advice us on how to :
1. do test automation for script service postbacks?
2. introduce delay in between steps? i actually gave a delay of 500 mili seconds after a button click. but could not see the delay after the button click during execution of the test scripts.
3. automate steps for the pop up windows.

Thanks in advance.
Mithun
Top achievements
Rank 1
 answered on 14 Apr 2011
2 answers
172 views
Hi,

I'm using Telerik WebUI Test Studio 2010.1
I've recorded simple test and added a coded step.

On attempt to run the test I get the following compilation error:
c:\Users\userName\Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.cs: Line 1: (CS0246) The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
c:\Users\userName\Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.cs: Line 2: (CS0246) The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)

Test code is as follows:

"using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;

using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;
using ArtOfTest.WebAii.Design;
using ArtOfTest.WebAii.Design.Execution;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;

namespace TestProject1
{

    //
    // You can add custom execution steps by simply
    // adding a void function and decorating it with the [CodedStep]
    // attribute to the test method.
    // Those steps will automatically show up in the test steps on save.
    //
    // The BaseWebAiiTest exposes all key objects that you can use
    // to access the current testcase context. [i.e. ActiveBrowser, Find ..etc]
    //
    // Data driven tests can use the Data[columnIndex] or Data["columnName"]
    // to access data for a specific data iteration.
    //
    // Example:
    //
    // [CodedStep("MyCustom Step Description")]
    // public void MyCustomStep()
    // {
    //        // Custom code goes here
    //      ActiveBrowser.NavigateTo("http://www.google.com");
    //
    //        // Or
    //        ActiveBrowser.NavigateTo(Data["url"]);
    // }
    //
        

    public class New_Test : BaseWebAiiTest
    {
        #region [ Dynamic Pages Reference ]

        private Pages _pages;

        /// <summary>
        /// Gets the Pages object that has references
        /// to all the elements, frames or regions
        /// in this project.
        /// </summary>
        public Pages Pages
        {
            get
            {
                if (_pages == null)
                {
                    _pages = new Pages(Manager.Current);
                }
                return _pages;
            }
        }

        #endregion
        
        // Add your test methods here...
    
        [CodedStep(@"New Coded Step")]
        public void New_Test_CodedStep()
        {
            ActiveBrowser.Manager.AddNewBrowser();
            ActiveBrowser.NavigateTo("http://www.google.com/");
        }
    }
}

Could you, please, tell me what is wrong?
Eliza
Top achievements
Rank 1
 answered on 14 Apr 2011
18 answers
236 views
Hello,

Sometimes I get "Wait for condition has timed out" error in FF 3.6.8 on executing the following step:
RadPanelBarItem: 'Units' action -> 'Navigate' to 'javascript:SetUrl('Units/Parts/UnitsRibbon.aspx','Units/Parts/UnitsLeftPanel.aspx','Units/Parts/UnitsMainContent.aspx');'

I've set 'Wait on elements timeout"=25000 but it did not help.

Error text:
Failure Information:
~~~~~~~~~~~~~~~
Wait for condition has timed out
InnerException:
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.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.GetValue[T](String propertyName, T defaultValue)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.CallMethod[T](String methodCall)
   at Telerik.WebAii.Controls.Html.RadPanelBarItem.get_NavigateUrl()
   at Telerik.WebAii.Controls.Html.RadPanelBarItem.get_ShouldNavigate()
   at Telerik.WebAii.Controls.Html.RadPanelBarItem.Navigate()
   at Telerik.WebAii.Design.Translators.Html.PanelBar.RadPanelBarItemActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()

This error is absent in IE.

Could you help me please to avoid the error?

Thank you in advance.
Cody
Telerik team
 answered on 13 Apr 2011
1 answer
93 views
Hi Team,
 
Im using webaii 1.1 and webaii design canvas 1.1 with NUnit for automation scripts execution.We have automated a customized CRM application.Currently our scripts do not run if we minimize our application,how can we add a feature so that our scripts can run in backend even if we disconnect from our VPN connections.

Please suggest.

Thanks

Regards
Dev
Cody
Telerik team
 answered on 13 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?