Hi,
I am using WebUI QA version. And whenever i select the customize step in code and then exceute the test, it failed to complile with error 'Coded steps failed to compile' and the error log displayed is
I am using WebUI QA version. And whenever i select the customize step in code and then exceute the test, it failed to complile with error 'Coded steps failed to compile' and the error log displayed is
Type 'System.Windows.Forms.Keys' is not defined.
Please help to resolve the issue.
Thanks,
Saima
5 Answers, 1 is accepted
0

Madhu
Top achievements
Rank 1
answered on 19 Jan 2011, 05:04 PM
I'm also facing same issue, please someone provide a solution?
For time being, to execute your test go to Record Tab then Remove Script File (as shown attachment).
For time being, to execute your test go to Record Tab then Remove Script File (as shown attachment).
0
Hello Saima,
I'm afraid I can't reproduce such a problem running the latest version. It may depend on the exact step that is failing to compile and the exact code though. Can you post or send via .zip the error log please? Thanks a lot!
Regards,
Konstantin Petkov
the Telerik team
I'm afraid I can't reproduce such a problem running the latest version. It may depend on the exact step that is failing to compile and the exact code though. Can you post or send via .zip the error log please? Thanks a lot!
Regards,
Konstantin Petkov
the Telerik team
Interested in Agile Testing?
Check out Telerik TV for a recording of
Automated Testing in the Agile Environment
0

Madhu
Top achievements
Rank 1
answered on 19 Jan 2011, 06:36 PM
Hi Konstantin Petkov,
Thanks for prompt reply, I recreated this issue, please find attached video file and log file as well.
Your valuable response is appreciated.
Thanks,
Madhu.
0

Saima
Top achievements
Rank 1
answered on 21 Jan 2011, 10:42 AM
Hi,
Haven't recieved any update on it? Can anyone please help to resolve the issue? Many thanks.
Saima
Haven't recieved any update on it? Can anyone please help to resolve the issue? Many thanks.
Saima
0
Hi Saima,
All of the errors saying "Namespace or type ... cannot be found" along with "Type 'Telerik.WebAii.Controls...' is not defined." imply that your project is missing a couple of required dll references as shown in the attached screen shot. To add these missing references:
That should solve most of the compile errors. I am still concerned about the errors reported on lines 70 - 74 in Test.aii.vb. If the above doesn't complete resolve all of the errors, please send me that one file or the entire test project in a .zip file. Once I receive it I'll figure out what's wrong with it.
Greetings,
Cody
All of the errors saying "Namespace or type ... cannot be found" along with "Type 'Telerik.WebAii.Controls...' is not defined." imply that your project is missing a couple of required dll references as shown in the attached screen shot. To add these missing references:
- Open your test project
- Click Show Settings in the ribbon bar at the top
- Click Script Options on the left
- Click Add Reference
- Navigate to C:\Program Files\Telerik\WebUI Test Studio 2010.3\Bin\Translators
- Select Telerik.WebAii.Design.Translators.Html.dll
- Click Open
- Repeat steps 1-6 but select Telerik.WebAii.Design.Translators.Xaml.dll this time
That should solve most of the compile errors. I am still concerned about the errors reported on lines 70 - 74 in Test.aii.vb. If the above doesn't complete resolve all of the errors, please send me that one file or the entire test project in a .zip file. Once I receive it I'll figure out what's wrong with it.
Cody
the Telerik team
Interested in Agile Testing?
Check out Telerik TV for a recording of
Automated Testing in the Agile Environment