could anyone give a quick example? I have a problem with timeout on IE or Firefox. I don't test only by myself but my coworker is trying to pass a test.
Here is a config file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler,ArtOfTest.WebAii, Version=1.1.900.0, Culture=neutral, PublicKeyToken=4FD5F65BE123776C"/>
</configSections>
<WebAii.Settings
annotateExecution="false"
baseUrl="http://localhost/yolkdev/"
clientReadyTimeout="50000"
defaultBrowser="InternetExplorer"
enableScriptLogging="false"
enableUILessRequestViewing="false"
executionDelay="0"
executionTimeout="60000"
localWebServer="None"
logLocation="C:\WebAiiLog\"
queryEventLogErrorsOnExit="false"
simulatedMouseMoveSpeed="0.3"
webAppPhysicalPath=""
/>
</configuration>
Test with NUnit Test
[TestFixture]
public class Test
{
[Test]
[Description("My simple demo")]
public void Test1()
{
var manager = new Manager(true);
manager.LaunchNewBrowser();
manager.ActiveBrowser.NavigateTo("http://localhost/sample1/");
Assert.AreEqual("Sample 1", manager.ActiveBrowser.Find.ByTagIndex("title", 0).InnerText);
}
}
Thanks,
Vorleak