I've been getting compiled error "...can't find Telerik namespace..." when create Script Test or generate Customize Step in Code since installed the licensed version of Test Studio. This happens due to the existing of "Telerik.WebAii.Controls.Html;"
and "Telerik.WebAii.Controls.Xaml;" I fix this by commented out those two references and all customized code works as it should.
Check intellisense in the editor (Test Studio), only object under Telerik namespace is TestStudio().
Do I need those reference for future project? If yes how to fix it, if no how do I exclude those lines in Test Script?
One more note, I uninstalled the trial version before install User version.
Thanks.
10 Answers, 1 is accepted
it's seems you're hitting a know issue. We haven't fixed it yet because we're unable to reliably reproduce it. It appears seemingly randomly. You can resolve the problem easily by adding the necessary references. You need to add project references to all the DLLs located in this folder:
C:\Program Files (x86)\Telerik\WebUI Test Studio 2010.3\Bin\Translators
Here's a Jing video demonstrating how this is done:
http://www.screencast.com/users/TelerikTesting/folders/Jing/media/ecd4fe86-1318-4b0f-b2db-f750215f6106
Best wishes,
Stoich
the Telerik team
Thanks!
I m using trial version
I m also getting compilation error :
c:\Documents and Settings\kastle.localuser\My Documents\Test Studio Projects\Kastle_rachna\Building page.tstest.cs: Line 1: (CS0234) The type or namespace name 'WebAii' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)
c:\Documents and Settings\kastle.localuser\My Documents\Test Studio Projects\Kastle_rachna\Building page.tstest.cs: Line 2: (CS0234) The type or namespace name 'WebAii' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)
c:\Documents and Settings\kastle.localuser\My Documents\Test Studio Projects\Kastle_rachna\Building page.tstest.cs: Line 3: (CS0234) The type or namespace name 'WebAii' does not exist in the namespace 'Telerik' (are you missing an assembly reference?)
I recorded few test they were executed properly but after adding it as test step in another test, none of the test are now excutable. compilation error error is coming. can you help me in this. please give me steps to resolve the problem.
I believe the absolute same solution (seen in my first post) should be applicable to your situation. Let me know how it goes.
Regards,
Stoich
the Telerik team
Please try this link to the video instead:
http://www.screencast.com/users/TelerikTesting/folders/Jing/media/ecd4fe86-1318-4b0f-b2db-f750215f6106
Let me know if you still need assistance with this.
Cody
Telerik
Please advise on below error. I have added a code as delete operation was working in the scripts. Same code I'm trying to impliment to other scripts, I see the below error.
CS0234: The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)
This exception indicates that you have to refer to your protect System.Windows.Forms.dll. This dll could be found in the .Net installation folder - for example C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.
Regards,
Nikolay Petrov
Progress Telerik
Hello Nikolay,
I am also receiving the above mentioned exception. As per your solution, I have on my system .Net v 3.5 which does not contain System.Windows.Forms.dll that I can reference.
Please advise. Thanks,
Thomas
Nikolay, I have solved my own issue by downloading the latest .Net from MS. Thanks.