Project does not compile any more

2 posts, 0 answers
  1. Tessa
    Tessa avatar
    1 posts
    Member since:
    Sep 2011

    Posted 08 Sep 2011 Link to this post

    Hi.

    In my testproject I have some scripts with some code behind. Very simple code, I might add. It resizes the active browser:
    <CodedStep("New Coded Step")> _
    Public Sub resize_CodedStep2()
        ' ActiveBrowser.ResizeContent()
        activebrowser.ResizeContent(0,0,1024,690)
          
          
    End Sub

    Yesterday everything was running perfect.
    Today I have the following troubles:

    When I make a new test and add a code step to it, it fails and logs:

    '8-9-2011 14:36:18' - System.ArgumentException: Unable to find the test class type 'test_08091120' in your test assembly. Please make sure your test code behind is compiled with your latest changes.

     
    When I run a test I made yesterday, it still runs fine.
    The (only) code I use is: ActiveBrowser.Resize(0,0,1024,700)
    I would change it to: ActiveBrowser.Resize(0,0,600,100)
     When I change the values, it still runs fine. But it does not use the new code, i.g., it stille changes the browser size to 1024 x 700

    I looks like it does not compile at all.
    I work in the Stand Alone version, I did not found any option to start compiling.
    My project is in VB. The resize test only open a browser and resize it, no other steps.

    Can you tell me why it doesn't compile and how I can fix it?


  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 08 Sep 2011 Link to this post

    Hi Tessa,

    I am sorry you are running into this problem. Before we can determine what is causing it, we need to see your entire test project for diagnosing the root cause. Please place your test project into a .zip file and attach that. If you are worried about confidentiality, I recommend opening a support ticket for this problem and attach the .zip file to the support ticket. Unlike forum posts, support tickets can only be viewed by you and Telerik technical support.

    Best wishes,
    Cody
    the Telerik team
    Vote for Telerik Test Studio at the Annual Automation Honors Voting!
Back to Top