Need help on compilation error

5 posts, 1 answers
  1. Gaurav
    Gaurav avatar
    21 posts
    Member since:
    Apr 2011

    Posted 10 May 2011 Link to this post

    Hi ,

    I am using latest Test Studio. I have added following custom code in stand alone version.

    [

    CodedStep(@"Type 'AT12345' into FirstNameTextbox", RequiresSilverlight=true)] 
    public void Fill_Information_CodedStep() 
       
    // Type 'AT12345' into FirstNameTextbox 
     Random rand= new  Random(); 
    Pages.Application.FrameContentFrame.SilverlightApp.FirstNameTextbox.SetText(true, rand.Next(999, 999999), 10, 100 ); 
     }

     

     

    When i run the test it throws compilation error. Please refer attached screen shot.  But it is not throwing exact error details. How to know what is the exact error? It just throw it is a compilation error in external code

     

     

     

  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 10 May 2011 Link to this post

    Hello Gaurav,
        there should be a Log button visible in the Test Studio GUI (screenshot 1). Click on it for details on the compilation problem. If its not immediately visible you might need to expand the Steps view. You can do that by dragging the expand control on the left (screenshot 2).

    Let me know if you require any additional assistance with this.

    Regards,
    Stoich
    the Telerik team
    Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
    Register Today!
  3. Gaurav
    Gaurav avatar
    21 posts
    Member since:
    Apr 2011

    Posted 10 May 2011 Link to this post

    Thanks a lot.

    But is there any setting of docking or autohide for the frame of Properties & Elements? Because in real scenario, if we scroll the window to make Log button visible, then 'property' & 'Element' window will become very small in size. In real scenario, we need all the window to be accessible easily
  4. Gaurav
    Gaurav avatar
    21 posts
    Member since:
    Apr 2011

    Posted 10 May 2011 Link to this post

    I got one way ,is that double clicking on that button to expand and collapse all the windows.
  5. Answer
    Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 11 May 2011 Link to this post

    Hi Gaurav,
       currently that's the only way to do it.

    Regards,
    Stoich
    the Telerik team
    Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
    Register Today!
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!