Problem running test after code migration to .Net 4.5

2 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Apr 2013

    Posted 03 Apr 2013 Link to this post

    Hi All,

    I have been using telerik WebAii framework with great success in the past few years when running UI automation. I am using the SDK directly (writing code) and I am not using the Test Studio UI to run my test.
    Test execution is happing via Visual Studio MSTest tool.

    I recently change my entire code to use .Net 4.5 instead of 3.5. Everything was working smoothly until I tried to run my UI automation. Most of the UI cases run with no issue until I hit a set of case that utilize 4.5 code. The test case outcome will succeed but it will put WebAii (or the machine) in some kind of odd state. All subsequent cases, regardless of their complexity will fail run trying to launch the browser
        this.Manager.LaunchNewBrowser()
    The API will timeout with little indication on the failure.

    I am not able to repro the issue on my local machine but this repro 100% in a lab environment. My local machine has IIS, SQL, Azure SDK, .Net 3.0, .Net 4.5, and many other component/software install while the lab machine has very little.
    I am running Windows 8 locally and the lab is running Windows Server 2012.

    Not using .Net 4.5 feature in the scenario I am trying to test is not an option so I need to find out what is causing the error.

    Has anyone experienced similar issues with WebAii and .Net 4.5? If so, is there any work around?
    Will a 4.5 version of WebAii be available anytime soon?

    Thanks.

    David.
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 08 Apr 2013 Link to this post

    Hi David,

    I am sorry to hear you're running into this problem. I'm not able to reproduce the issue with our latest internal build 2012.2.1527. Could you please try to upgrade to that build and see if the issue persists? You can download it from your Telerik.com account.

    Also please ensure you are running Visual Studio as administrator and the User Account Control is set to Never notify as seen in the screenshot. You also need to make sure your browser is configured according our documentation

    If you continue to have difficulty, please provide the error log for analysis.

    All the best,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top