Good Morning,
I am evaluating several versions of the Test Studio automation tool, QA Edition, TS Express and also using the testing framework directly from Visual Studio.
Currently I am receiving an exception error when calling the Manager.LaunchNewBrowser() command from my sample program.
This only occurs when I launch IE9 as Firefox works fine.
Here is the log from Visual Studio:
Uncategorized: DialogMonitor.Start() : Using: ArtOfTest.WebAii, Version=2011.1.712.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c
Uncategorized: DialogMonitor.Start() : OS: Microsoft Windows NT 6.1.7601 Service Pack 1
DialogPlayback: DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
UIAutomation: AutomationExtensions.AddAutomationEventHandler() : Added a(n) WindowPatternIdentifiers.WindowOpenedProperty handler on element System.Windows.Automation.AutomationElement scope Descendants.
Framework: Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=1328, Path="C:\Program Files\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=133176)...
Error: RegistryConstants.GetRegistryRoot() : Unable to open key HKLM\SOFTWARE\Telerik
A first chance exception of type 'System.ApplicationException' occurred in ArtOfTest.WebAii.dll
Also, here is a code sample from my simple program..
I've tried many variations of this setup including various options in settings and changing how the browser is called.
Please help!!
Thank you
Craig
I am evaluating several versions of the Test Studio automation tool, QA Edition, TS Express and also using the testing framework directly from Visual Studio.
Currently I am receiving an exception error when calling the Manager.LaunchNewBrowser() command from my sample program.
This only occurs when I launch IE9 as Firefox works fine.
Here is the log from Visual Studio:
Uncategorized: DialogMonitor.Start() : Using: ArtOfTest.WebAii, Version=2011.1.712.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c
Uncategorized: DialogMonitor.Start() : OS: Microsoft Windows NT 6.1.7601 Service Pack 1
DialogPlayback: DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
UIAutomation: AutomationExtensions.AddAutomationEventHandler() : Added a(n) WindowPatternIdentifiers.WindowOpenedProperty handler on element System.Windows.Automation.AutomationElement scope Descendants.
Framework: Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=1328, Path="C:\Program Files\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
Framework: InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=133176)...
Error: RegistryConstants.GetRegistryRoot() : Unable to open key HKLM\SOFTWARE\Telerik
A first chance exception of type 'System.ApplicationException' occurred in ArtOfTest.WebAii.dll
Also, here is a code sample from my simple program..
Sub
Main()
Dim
webSettings
As
Settings.WebSettings =
New
Settings.WebSettings()
Dim
mySettings
As
Settings =
New
Settings(webSettings)
Dim
mgr
As
Manager =
New
Manager(mySettings)
mgr.Start()
mgr.LaunchNewBrowser(BrowserType.InternetExplorer)
mgr.ActiveBrowser.NavigateTo(
"www.google.com"
)
'-- this url is an example and not the one I am using...
Dim
mybtn
As
Element = mgr.ActiveBrowser.Find.ByAttributes(
"type=submit"
)
mgr.ActiveBrowser.Actions.Click(mybtn)
mgr.Dispose()
End
Sub
Please help!!
Thank you
Craig