
ArtOfTest.WebAii.Core.Settings ieSettings = new ArtOfTest.WebAii.Core.Settings(ArtOfTest.WebAii.Core.BrowserType.InternetExplorer, String.Format(@"{0}\log\WebAii.txt", Directory.GetCurrentDirectory())); |
if (_MyMgr == null) |
{ |
_MyMgr = new ArtOfTest.WebAii.Core.Manager(ieSettings); |
_MyMgr.Start(); |
} |
_MyMgr.LaunchNewBrowser(); |
//_MyMgr.ActiveBrowser.Closing += new EventHandler(ActiveBrowser_Closing); |
_MyMgr.ActiveBrowser.NavigateTo(url); |
Never gets to NavigateTo method. The IE does launch and ready to surf.
Using VS 2010.
Any ideas?
Thanks
Rick
13 Answers, 1 is accepted
The forum thread here discusses the same problem. Please follow the steps there and let us know if you need further assistance.
Sincerely yours,
Konstantin Petkov
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.

Thanks

I am having the same problems. I have worked through all of the recommendations provided to prepare IE. I have also removed all addins except for the WebAII Test Exection Extension. I have removed all the toolbar items besides Home, Print, Page, Tools, and Help.
I found some articles about using vs_piaredist.exe if using VS Express. I am not using VS Express, and I found vs_piaredist.exe and vs90_piaredist.exe in Program Files\Common Files\Merge Modules (I have do have earlier versions of VS still installed, I wonder if that might be causing the problem?).
I just made a simple project using the template and these two tests:
[Test] |
public void NUnitLog() |
{ |
Log.WriteLine("Hi from WebAii"); |
} |
[Test] |
[Description("My simple demo")] |
public void SimpleTest() |
{ |
// Launch an instance of the browser |
Manager.LaunchNewBrowser(BrowserType.InternetExplorer); // Navigate to google.com ActiveBrowser.NavigateTo("http://www.google.com"); |
} |
The one displaying the log worked and the one launching the browser times out before I am able to navigate to google.
Here is my error log:
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo) |
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout) |
at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor) |
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle) |
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch) |
at WebAII_Proto.WebAiiNUnitTest1.SimpleTest() in D:\PolicyTech_OfficeModule\Office Module Trunk\WebAII_Proto\WebAiiNUnitTest1.cs:line 150 |
I am running:
IE7 7.0.6001
Visual Studio 2008 Standard Edition Version 3.5 SP1
Windows Vista Home Premium SP1
I am really excited about trying out WebAII. Thanks in advance for any help.
-- Rick

For me the culprit was the Enable Protected Mode was checked. Once I did unchecked that and shutdown IE, it worked.
That check box can be found in Internet Options -> Security. Notice that that setting is per zone, so you would need to uncheck it for each zone.
Good Luck.
Rick

Unfortunately, I tried that already with no more luck. I did find out that I can run the test just fine in Firefox, so it must be something to do with my IE security or some-such. My partner is also able to run it (in IE8) with no problems.
Unfortuantely, the thing page I am testing is all about an ActiveX control I am writing, so I need IE.
Thanks
-- Rick
(This following line was edited along with the attachment) Please try the attached PIA exe to see if that will work.
If that doesn't work, you can try going to the Framework installation folder in a Visual Studio Command Prompt.
The path is something like Telerik\WebAii Free Framework or Telerik\WebAii 2.0, unless it's the Art Of Test installation of the framework, then it's ArtOfTest\WebAii 2.0.
There should be a Bin folder or at least ArtOfTest.InternetExplorer.dll in the installation. Please try a regasm ArtOfTest.InternetExplorer.dll.
If that doesn't work, a reinstall may be required. Please try the versions found here:
http://www.telerik.com/community/free-products.aspx
http://www.telerik.com/products/web-testing-tools/webaii-framework-features.aspx
All the best,
Nelson Sin
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.

Im using windows server 2008 r2 standard,
VS2010 ultimate
EX 8
Any ideas?
Thanks,
Maayan.
Please checkout this video on configuring automation for server 03/08. Also, please try the folllowing:
- Close down all instances of WebUI QA or Dev edition, Visual Studio, and Internet Explorer
- Click Control Panel
- Click Administrative Tools,
- Click Local Policies
- Click Security Options
- Change "Network access: Restrict anonymous access to Named Pipes and Shares" from Enabled to Disabled
Regards,
Nelson
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.

I am facing a typical issue.
My browser (IE 7) doesn't Navigate to the configured URL.
It says No Active browser were found.This happends only in IE my application runs well on Safari and Firefox.
As a remedy i reset my IE and uninstalled webaii 2.0 removed all the webaii reference from the assembly and registry
and reinstalled the framework again but the same problem persist.
Please help me on how to proceed, I'll not prefer reinstalling the OS.
Please take a look into the screen shot attached
Thanks
Lalit
So just to confirm, please make sure IE 7 is configured as in this link. Also, make sure you install the WebAii framework and run your WebAii tests with a user account that is part of the Admin Group for the machine.
And please try disabling all the other Add Ons for IE except for the WebAii Test Execution Extension.
Kind regards,
Nelson
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.

"InnerException:
System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()"
Please explain how to fix this
There are many possible reasons that could cause this issue. In order to investigate it we will need more detailed information:
1. What kind of application do you test (HTML, SIlverlight, WPF)?
2. Please record a Jing video demonstrating the entire process, so we can better understand what is happening.
3. Provide us with a copy of your test and access to your application so we can reproduce the issue on our end and give you a solution.
4. Alternatively you can take a Fiddler trace using FiddlerCap and send it to us in a zip file. Basically with that trace I'll try to "simulate" your app in order to reproduce the issue.
One possible solution is to use MouseClick() insted of Click().
Hope to hear from you soon.
Boyan Boev
the Telerik team
Test Studio Trainings

It worked for as well. Thanks a lot