Telerik Forums
Testing Framework Forum
3 answers
188 views
Hello Telerik,

In our product we have various input fields. When I try to automate the renaming of a file, the WebUi Test correctly records the text typed (Set 'input_text_Inputfield' text to 'renamed.png') but for the renaming to take effect the user must press 'return'.

The pressing of the return key is not recorded by the WebUi Test and I can find no Desktop Action for it. If I try to convert to code I get the following:

 {

            // Set 'input_Text_Inputfelt' text to 'renamed.png'
            HtmlInputText input_Text_Inputfelt = Pages.Dynamicweb_7__Dynamicweb_administration_0.Frame_right.input_Text_Inputfelt;
            input_Text_Inputfelt.Wait.ForExists(10000);
            input_Text_Inputfelt.Text = "renamed.png";

  }
  
Is there a way to conclude this code with a 'return', 'submit' or something?

Kind regards
Christian

Missing User
 answered on 19 Oct 2009
3 answers
163 views

Hi,
I have on page RadDatePicker

<tel:RadDatePicker ID="dpStartDate" runat="server" DateInput-ID="diStartDate">  
<Calendar ID="c1" runat="server" FocusedDate="2006-10-30" />                      
<DateInput CatalogIconImageUrl="" Description="" DisplayPromptChar="_" PromptChar=" " 
Title="" TitleIconImageUrl="" TitleUrl=""  />                      
</tel:RadDatePicker> 

I'm trying to set a date in this RadDatePickter using WebAii Free testing framework.
When I get an instance of this picker there is no method or property to set a date. All of the are only "get" properties.
How I can achieve this functionality?
Seba
Pavel
Telerik team
 answered on 16 Oct 2009
7 answers
202 views
My page contains multiple parent silverlight applications. each parent has child user controls that has also its own child usercontrols. each "grand-children" (SLUserControlLibrary) user controls is where the actual silverlight controls are found.

PAGE
    |
    + SLAPP
               |
               +SLUserControl
                                         |
                                        + SLUserControlLibrary
                                                                            |
                                                                            +SilverLightControls
                                                                            +textbox (id="txtID500")                                                                            |
                                
My question would the WebAii SilverLight Test Automation will be able to find the controls underneath all of those nesting of user controls? or in the above illustration, can I find the textbox id=txtID500 ?

Can I still do this?

 

var SilverLightApp1 = ActiveBrowser.SilverlightApps()[0];

 

 

var txtbox500 = SilverLightApp1.FindName("txtbox500");

 

 

txtbox500.User.TypeText("Sample Text", 10);

Thanks!

 

Faris
Top achievements
Rank 1
 answered on 01 Oct 2009
11 answers
408 views
I've downloaded and installed the latest WebAii software and am attempting to start scripting some basic tests but I have hit a problem.  The first two steps in my script are to launch a browser and navigate to a URL.  The browser launches, but the script times out without nagivating to the URL.  Here's the start of the code:

       [TestMethod]
        public void NavigationSmokeTest()
        {
            // Launch a browser instance
            Manager.LaunchNewBrowser(BrowserType.InternetExplorer);

            // The active browser
            ActiveBrowser.NavigateTo("http://localhost/dcjlawlog");


I'm using VsTest.  I've tried changing to Firefox (updating the LaunchNewBrowser parameter) and it also times out after launching.

Any ideas?
Cody
Telerik team
 answered on 27 Aug 2009
1 answer
247 views
Is WebAii tool going to be offerred for free for good amount of time? We have been using RAD controls and would like to know this from long term maintenance and support perspective. If there is a plan to make it a sellable product we would like to know in advance. Depending on this we would decide whether to invest our resources in understanding and using this tool for live applications.

Thanks and regards,
Mahesh
Konstantin Petkov
Telerik team
 answered on 21 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?