http://www.artoftest.com/support/webaii/topicsindex.aspx
and I am getting the following error:
The type or namespace name 'Manager' could not be found (are you missing a using directive or an assembly reference?)
I have "ArtOfTest.Common" and "ArtOfTest.WebAii" referenced and I did resolve on the 'Manager object' and it add this declaration to my code:
using
ArtOfTest.WebAii.Core;
yet it will still not build, and I missing a ref?
8 Answers, 1 is accepted
That sounds correct. The Manager class is defined in the ArtOfTest.WebAii.Core namespace. Would you paste your entire source code please? I'll take a look to try and see why it's not being picked up.
Sincerely yours,
Cody
the Telerik team

using
ArtOfTest.WebAii.Core;
namespace
ConsoleApplication1
{
class
Program
{
static
void
Main(
string
[] args)
{
//Get Manager
Manager manager = Setup(BrowserType.InternetExplorer, @
"http://webstage.ivey.uwo.ca/eZone"
);
}
private
Manager Setup(BrowserType browserType,
string
testURL)
{
//Initialize the settings you want used.
Settings mySettings =
new
Settings(browserType, @
"c:\log\"
);
//Create the manager object
Manager myManager =
new
Manager(mySettings);
//Start the manager
myManager.Start();
//Launch a new browser instance.
myManager.LaunchNewBrowser();
//Navigate to a certain web page
myManager.ActiveBrowser.NavigateTo(testURL);
return
myManager;
}
}
}
Here are my errors:
Error 1 The type or namespace name 'WebAii' does not exist in the namespace 'ArtOfTest' (are you missing an assembly reference?)
Error 2 The type or namespace name 'Manager' could not be found (are you missing a using directive or an assembly reference?)
Error 3 The type or namespace name 'BrowserType' could not be found (are you missing a using directive or an assembly reference?)
Refs:
ArtOfTest.Common ver: 2010.2.830.0
ArtOfTest.WebAii ver: 2010.2.830.0
I think you are missing the required dll references. See attached screenshot.
All the best,Cody

Refs:
ArtOfTest.Common ver: 2010.2.830.0
ArtOfTest.WebAii ver: 2010.2.830.0
would you like a screen shot of my refs
Something is missing and I just don't see it yet. Your source code file has no problem with the Manager class at all when I loaded it.
Is there a yellow icon on the dll reference as in the attached screenshot? This means VS cannot find the referenced dll, possibly due to a version upgrade. When this happens VS acts like the reference isn't there at all. If this is the case try setting Specific Version to false as in the other screenshot.
If that doesn't help, put your entire solution folder into a .zip file and send that to me. I think you'll need to open a support ticket before you can attach a file (I think the forum restricts file attachment to Telerik personnel only).
Cody


Cheers
The solution in Andrew's case was to select either ".NET Framework 3.5" or ".NET Framework 4" - see attached screenshot. We don't work with the client profiles.
Kind regards,Cody
the Telerik team