Telerik Forums
Testing Framework Forum
5 answers
77 views
Hi,

Is any one know if there had some place in WebUI Test Project Solution where i could changed for adding customize steps for setting up environment just like TestInitialize method in VS Test project?


Regards,
Tom
Stoich
Telerik team
 answered on 21 Feb 2011
3 answers
123 views
Hey all,

I have a problem with adding cookies to a browser.  I basically set my cookie:

CookiesManager cookiesManager = Manager.ActiveBrowser.Cookies;
 
Cookie myCookie = new Cookie();
myCookie.Name = "MyCookieName";
myCookie.Value = "SomeLongString";
myCookie.Domain = "Domain";
myCookie.Path = "/";
 
cookiesManager.SetCookie(myCookie);

I can see the cookie created in the browser (using FireFox I go to Options -> Privacy -> History -> Use custom settings for history -> Show Cookies).

The problem is, the cookie is NOT added as part of the HTTP request for the next url I navigate to.  Is this a bug, am I doing something wrong? 
Stoich
Telerik team
 answered on 18 Feb 2011
1 answer
97 views
Hello,
I am not able to verify the silverslight combobox text using verification hover tool provided by telerik.

Thanks,
Prachi
Stoich
Telerik team
 answered on 18 Feb 2011
5 answers
149 views
Hi,

Can anybody provide the code for identifying messagebox dialogue in silverlight?

Thanks in advance
Cody
Telerik team
 answered on 16 Feb 2011
2 answers
149 views
Hi,

I'm having a heck of a time trying to clear a Silverlight RadMaskedTextBox control.  What I want to do is iterate through a list of values to type into the control using the WebAii framework.  After typing a value, I would like to clear the control and then type the next value.  Here's what I have so far:

            theControl.MouseClick(MouseClickType.LeftClick, 0, true);
            theControl.TypeText(textToType, 0);

With this code, its appending the new value to what's currently there.  I've looked for a few hours and haven't found anything on clearing the control.

Thanks for your help.

Joel
Joel
Top achievements
Rank 1
 answered on 16 Feb 2011
5 answers
192 views
I'm finding it's much easier said than done... I'm having no trouble grabbing the ListBox, but the Items (ItemCollection) is not giving me the information I'm looking for. When I iterate through the strings, they display the class name of the item in the listbox. I'm looking for the actual string being displayed in the listbox. How can I get that actual string?
Arv
Top achievements
Rank 1
 answered on 14 Feb 2011
1 answer
74 views

I need to read an already open browser, not launch a new one - how to? assume its the only browser open on the desktop

    Cody
    Telerik team
     answered on 09 Feb 2011
    3 answers
    60 views

    don't know where to set annotations on - my best guess was not good enough
    giving me 
    Error 2 The name 'GetSettings' does not exist in the current context 

                                    Settings mySettings = new Settings(BrowserType.InternetExplorer, @"c:\log\");
                                    // Create the manager object

                                    Manager myManager = new Manager(mySettings);

                                    Settings settings = GetSettings();
                                    settings.AnnotateExecution = true;
                                    // Start the manager

                                    myManager.Start();

    Cody
    Telerik team
     answered on 09 Feb 2011
    4 answers
    308 views
    Hi,

    I am trying to run tests on XP 32 bit /Win7 32 bit with WebAii framework installed and NUnit installed but not visual studio. I have gone through all the setup for the different browser need for webaii to work. I got IE, Safari and FireFox to work. IE was not simple and it required me to GAC Microsoft.mshtml.dll - version 7.0.0330.

    But I cannot get Chrome to work without visual studio installed. On our development machines we have visual studio and it works fine then. When running the test the browser open and tries to navigate to http://localhost:XXXX/WebUI?XXXXXX (X are random numbers which changes for every new browser launch) which should then start WebUI extension to start running by displaying a message "Preparing for automation". Hence it times out waiting for getting control of the browser. 

    Any type of help in this matter will help.

    Thanks
    Kashy 
    Kashyap
    Top achievements
    Rank 1
     answered on 07 Feb 2011
    3 answers
    143 views
    Hi There, 
    We are trying to WebUI Test Studio for testing our existing solution. 
    I should say our solution  is slightly complex. It's web based. But almost all popup windows is opening in overlay div layers and each layers has iframe for subpage navigation. Allmost similar to RadWindows but our solution older then you :)
    IE 8 highlighting tool is working on our normal pages that awesome. But It doesn't work on sub iframes which are opening into overlay div layers on root page.
    What should I do for solving this situation ?
     
     
    Cody
    Telerik team
     answered on 03 Feb 2011
    Narrow your results
    Selected tags
    Tags
    +? more
    Top users last month
    Will
    Top achievements
    Rank 2
    Iron
    Motti
    Top achievements
    Rank 1
    Iron
    Hester
    Top achievements
    Rank 1
    Iron
    Bob
    Top achievements
    Rank 3
    Iron
    Iron
    Veteran
    Thomas
    Top achievements
    Rank 2
    Iron
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Will
    Top achievements
    Rank 2
    Iron
    Motti
    Top achievements
    Rank 1
    Iron
    Hester
    Top achievements
    Rank 1
    Iron
    Bob
    Top achievements
    Rank 3
    Iron
    Iron
    Veteran
    Thomas
    Top achievements
    Rank 2
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?