Hi,
my analyst decided to move some of the tests that he had already made (and finished) into a folder inside the project and now it won't compile anymore. I opened said project with VS 2008 (and the developer edition of WebUI 2010.2) and fixed the broken Telerik references. Now the project runs great on my VS, but every time that he tries to run it on his WebUI QA Edition, it asks to save the file (even though he didn't make ANY changes) and shows a compilation error.
Can anyone help us with this?
Thank you very much
Sam
my analyst decided to move some of the tests that he had already made (and finished) into a folder inside the project and now it won't compile anymore. I opened said project with VS 2008 (and the developer edition of WebUI 2010.2) and fixed the broken Telerik references. Now the project runs great on my VS, but every time that he tries to run it on his WebUI QA Edition, it asks to save the file (even though he didn't make ANY changes) and shows a compilation error.
Can anyone help us with this?
Thank you very much
Sam
4 Answers, 1 is accepted
0

Sammy78
Top achievements
Rank 2
answered on 04 Aug 2010, 02:18 PM
Ok.. got it to work perfectly on VS, but when my analyst tries to open it on his QA edition, it asks for him to save files again (even though he didn't change anything in the file) and here's the error
I added the right references to the project for Oracle. Oddly enough, that code worked fine in the 2010.1 version of QA, but since he switched to 2010.2, it doesn't6 want to work anymore.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 7: (BC40056) Namespace or type specified in the Imports 'System.Data.Odbc' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 8: (BC40056) Namespace or type specified in the Imports 'Oracle.DataAccess.Client' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 81: (BC30002) Type 'OdbcCommand' is not defined.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 82: (BC30002) Type 'OdbcDataReader' is not defined.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 86: (BC30002) Type 'System.Data.Odbc.OdbcConnection' is not defined.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 89: (BC30002) Type 'System.Data.Odbc.OdbcConnection' is not defined.
D:\Documents and Settings\dboldu2\My Documents\WebUI Test Studio Projects\TestProject1\New Test.aii.vb: Line 92: (BC30002) Type 'OdbcCommand' is not defined.
I added the right references to the project for Oracle. Oddly enough, that code worked fine in the 2010.1 version of QA, but since he switched to 2010.2, it doesn't6 want to work anymore.
0
Accepted
Hello Sammy78,
First, the list of DLL's that need to be imported is kept separate between the Dev edition and the QA editiion. Unfortuantely there's no way around this. Visual Studio maintains the list of DLL imports in its .vbproj file. Since this file may or may not exist in a QA edition project we had to maintain a separate list in our settings.aiis file. This is why you're getting "Namespace or type specified in the Imports 'System.Data.Odbc' doesn't contain any public member or cannot be found."
You will need to add the same imports in the QA edition that you used in the References section of your Dev edition project. See the attached screenshot for where/how to add these references.
As for problem where you're being prompted to save files that didn't change, I've seen then when you have old left over results that refer to tests that no longer exist (got renamed, moved, deleted, etc.). Manually delete these results from the Results and TestResults folder and this problem should clear itself up.
Best wishes,
Cody
the Telerik team
First, the list of DLL's that need to be imported is kept separate between the Dev edition and the QA editiion. Unfortuantely there's no way around this. Visual Studio maintains the list of DLL imports in its .vbproj file. Since this file may or may not exist in a QA edition project we had to maintain a separate list in our settings.aiis file. This is why you're getting "Namespace or type specified in the Imports 'System.Data.Odbc' doesn't contain any public member or cannot be found."
You will need to add the same imports in the QA edition that you used in the References section of your Dev edition project. See the attached screenshot for where/how to add these references.
As for problem where you're being prompted to save files that didn't change, I've seen then when you have old left over results that refer to tests that no longer exist (got renamed, moved, deleted, etc.). Manually delete these results from the Results and TestResults folder and this problem should clear itself up.
Best wishes,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0

Sammy78
Top achievements
Rank 2
answered on 04 Aug 2010, 05:58 PM
Thank you Cody! I was able to fix the projects with your solution and they seem to work fine now.
Thanks for all the help.
Sincerely,
Sam
Thanks for all the help.
Sincerely,
Sam
0
Hi Sammy78,
Thank you for the update! Let me know if I can be of further assistance.
Kind regards,
Cody
the Telerik team
Thank you for the update! Let me know if I can be of further assistance.
Kind regards,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items