Hello,
I have downloaded the last WEBAII framework (WebAii_Testing_Framework_2010_2_713_FREE_EDITION.msi) and this framework do not behave the same way as the previous one. During the exact same test (no code modification, only the framework update) I obtain now : 16/07/2010 12:29:11.374 ' - Unexpected dialog encountered. Closing the dialog, and halting execution.
It appears when a the IE8 Win32 OpenDialog is displayed (French System so, the title is Ouvrir and so on).
I have tried "manager.DialogMonitor.Stop" but, same error, it closes the dialog directly with this error.
Is there a way to indicate the framework to not monitor this window? It is because I manage this type of window using an external executable to manipulate the different OpenDialog by language.
Thanks & Regards.
-----------------
I have found a way that suit my need at the moment: "mySettings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle"
Regards.
Hi
I think there's a bug in Teleriks implementation of xpath, if the following snippet is on the page i get a xml error when running a find.
<a class="addthis_button_google_plusone" <%="g:plusone:annotation"%>="none"></a>
I'm doing find by expression like seen below:
private
HtmlFindExpression h1 = new HtmlFindExpression("xpath=//h1");
Assert
.IsNotNull(currentTest.Find.ByExpression(h1), "h1 not found");
The same xpath works fine in if using Selenium.
Below is the error message thrown:
The ':' character, hexadecimal value 0x3A, cannot be included in a name.
Workaround:
HtmlFindExpression("tagname=h1");
But i still hope you fix this bug.
Hi all,
I am getting the following exception after LaunchNewBrowser() is called (IE does get launched):
System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
----> System.NullReferenceException : Object reference not set to an instance of an object.
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()
at YuntuMerchantUITest.YunTuAutomationBVT.AccountInfoBVT()
--NullReferenceException
at ArtOfTest.Common.Win32.WindowManager.Attach(IntPtr& handle, Boolean findTabWindow, Boolean loadClr, IntPtr& hookId)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename)
I've seen similiar posts in the forum and have already done the following:
1. disabled UAC in server management tools
2. compile for x86.
3. loading the test dll using Nuit's x86 exe
4. change all IE security settings to align with the guide from WebAii.
Code:
Manager m = new Manager(false);
m.Start();
m.LaunchNewBrowser();
Environment:
IE8, version 8.0.7600.16385
Windows Server 2008 R2, 64bit
Same exact code runs perfectly fine my Win7 32bit machine. Same IE version and security settings. This leads me to believe it's a 32bit/64bit issue, however from TaskManager, the iexplorer.exe process has a *32 after it (which means it's a 32bit process).
Any insights? I am pretty much all out of ideas right now.
Thanks...
Xin
silApp.RefreshVisualTrees();
string sex=silApp.FindName("patientinfo").Find.ByName("tbSex").TextBlockContent);