This is a migrated thread and some comments may be shown as answers.

Need help on compilation error

4 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gaurav
Top achievements
Rank 1
Gaurav asked on 10 May 2011, 08:02 AM
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

 

 

 

4 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 10 May 2011, 09:38 AM
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!
0
Gaurav
Top achievements
Rank 1
answered on 10 May 2011, 11:17 AM
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
0
Gaurav
Top achievements
Rank 1
answered on 10 May 2011, 11:24 AM
I got one way ,is that double clicking on that button to expand and collapse all the windows.
0
Accepted
Stoich
Telerik team
answered on 11 May 2011, 09:13 AM
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!
Tags
General Discussions
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Gaurav
Top achievements
Rank 1
Share this question
or