Telerik's WebAii changes

11 posts, 0 answers
  1. Claudio Mesyngier
    Claudio Mesyngier avatar
    5 posts
    Member since:
    Dec 2009

    Posted 10 May 2010 Link to this post

    Hi,

    What are the changes in the WebAii Testing Framework 2010.1 412 compared to the last ArtOfTest version? The What's New in this version page is empty.

    Thanks,
    Claudio
  2. Missing user
    Missing user avatar

    Posted 10 May 2010 Link to this post

    Hi Claudio,

    There were some changes with bug fixes and such. Was there a particular fix or feature you were looking for? Please let us know and I can check to see what the status maybe.

    Best wishes,
    Nelson Sin
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Claudio Mesyngier
    Claudio Mesyngier avatar
    5 posts
    Member since:
    Dec 2009

    Posted 10 May 2010 Link to this post

    We had a Silverlight 3/VS 2008 application that we were testing with WebAii that is being upgraded to Silverlight 4 and VS 2010. I upgraded the WebAii to 2010.1 412 as well.
    After all the upgrades I cannot run the tests anymore. The test throws a timeout exception when calling the manager.LaunchNewBrowser method. Were there any changes in the behavior of the method that might be causing the exception? The browser does get launched to the default page and it just stands there. I'm using the AspDevelopmentServer local web server type on fixed port.

    Since the first post, I tried without the WebAii upgrade as well and got the following error when running the test;
     

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

    Source Error:

    Line 13:             during development.
    Line 14:         -->
    Line 15: <compilation debug="true" targetFramework="4.0">Line 16: 		</compilation>
    Line 17: 		<!--

    Source File: E:\src\web.config    Line: 15

     


    Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

    Thanks,

    Claudio

  4. Missing user
    Missing user avatar

    Posted 10 May 2010 Link to this post

    Hi again Claudio,

    There should not have been any breaking changes for the Manager.LaunchBrowser() method for SL 4. I just tested this out on the Telerik SL demos that are SL4 also and it seemed to work for me.

    Did you uninstall the previous WebAii version before installing the latest version? And did your SL app load time increase with the upgrade? If so, please try increasing the Settings.SilverlightConnectTimeout to a larger interval.

    Also, please see the attached SL connect document to see if anything mentioned in it applies to your app after the SL 4 upgrade.

    All the best,
    Nelson
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Claudio Mesyngier
    Claudio Mesyngier avatar
    5 posts
    Member since:
    Dec 2009

    Posted 11 May 2010 Link to this post

    Thanks Nelson.

    My problem seems to be related to the version of Cassini (Visual Studio Development Server) that webAii is using to run my Silverlight app.
    I have VS 2008 and VS 2010 installed on my machine.
    WebAii uses the DevServer 9.0 that came with VS 2008. It should use the ASP.Net 4.0 server that cames with VS 2010 instead in order to run the SL4 app. Is there any way to setup the DevServer version that I want WebAii to use?

    I uninstalled VS 2008 to see if that would fix the problem. I get the following error now when I try to run a test:
    Failed SearchPerformance UIAcceptanceTests Initialization method AutomatedUITests.WebAiiTests.MyTestInitialize threw exception. System.ApplicationException: System.ApplicationException: Unable to launch the ASP.NET Dev Server. ---> System.InvalidOperationException: Cannot start process because a file name has not been provided.. 
    This used to work before.

    Thanks for your help,
    Claudio
  6. Claudio Mesyngier
    Claudio Mesyngier avatar
    5 posts
    Member since:
    Dec 2009

    Posted 11 May 2010 Link to this post

    I think I found the problem. I looked again at the SL connect document and saw the cache cleanup instruction. I tried it again and that seemed to clear the problem. I was using a specified port and there was something in the cache for that port that was pointing to the old Development Server from VS 2008.

    Thanks for all your help!


    Claudio
  7. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 11 May 2010 Link to this post

    Hi Claudio Mesyngier,

    We are glad to hear you found a solution to the problem on you own. Thanks also for letting us know how you solved it.

    We're going to go back and recheck that the Casinni server works properly in both VS2008 and VS2010 in a mixed environment such as you have.

    Greetings,
    Cody
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. Claudio Mesyngier
    Claudio Mesyngier avatar
    5 posts
    Member since:
    Dec 2009

    Posted 12 May 2010 Link to this post

    I took a second look at the problem and the fix only worked because I replaced the Cassini executables from VS 2008 with the ones on VS 2010. So still is a problem (with a workaround now).
  9. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 12 May 2010 Link to this post

    Hello Claudio Mesyngier,

    Yes, we discovered the same thing in our testing yesterday. Sorry about that! Apparently we failed to test this when we released VS2010 support. We filed a bug report on this and will get it fixed as soon as possible.

    I am very glad to hear you do have a temporary workaround.

    All the best,
    Cody
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  10. Claudio Mesyngier
    Claudio Mesyngier avatar
    5 posts
    Member since:
    Dec 2009

    Posted 01 Jul 2010 Link to this post

    Has this issue been fixed?

    Thanks,
    Claudio
  11. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 01 Jul 2010 Link to this post

    Hi Claudio Mesyngier,

    Yes it has. The fix for this bug (63991) was first included in our public 2010.1.5.18 release.

    Sincerely yours,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top