Hi,
1) I was trying NUnit example below from (c:\Program Files (x86)\Telerik\Test Studio\Samples\Testing Framework\QuickStarts_NUnit_CS\) and added annotation. Annotation is moving as per code, but mouse not, it stays always on same spot. Any ideas? I have VS 2012 on 64bit win7, tried in IE9 and latest Chrome, project compiled as x86, .NET 4.0.
2) json2.js is missing and is referenced in project.
3) it seems any mouse action is not working:
4) VS template examples fails on any call to e.g.: TestDeploymentDir, ActiveBrowser.NavigateTo(Path.Combine(TestContext.TestDeploymentDir, TESTPAGE));
Any ideas please? It looks like some configuration problem, even I had clean install of all tools.
Thanks, David
1) I was trying NUnit example below from (c:\Program Files (x86)\Telerik\Test Studio\Samples\Testing Framework\QuickStarts_NUnit_CS\) and added annotation. Annotation is moving as per code, but mouse not, it stays always on same spot. Any ideas? I have VS 2012 on 64bit win7, tried in IE9 and latest Chrome, project compiled as x86, .NET 4.0.
[Test]
[Description(
"Use HtmlControls drag/drop native support"
)]
public
void
HtmlElementsDragDropSupport()
{
// Slow down the execution a bit so we can easily observe WebAii doing the drags<br>
Manager.Settings.ExecutionDelay = 100;
Manager.Settings.AnnotateExecution =
true
;
ActiveBrowser.NavigateTo(
"http://developer.yahoo.com/yui/examples/dragdrop/dd-basic_clean.html"
);<br>
// get the window element we are trying to drag.
HtmlDiv div1 = Find.ById<HtmlDiv>(
"dd-demo-1"
);
HtmlDiv div2 = Find.ById<HtmlDiv>(
"dd-demo-2"
);
HtmlDiv div3 = Find.ById<HtmlDiv>(
"dd-demo-3"
);
//Move Div1 50 pixels to the right and 25 pixels to the top.
div1.DragTo(50, -25);
// Move Div2 to where Div3 is.
div2.DragTo(div3);
// Validate both locations are the same.
Assert.AreEqual(div2.GetRectangle(), div3.GetRectangle());
}
2) json2.js is missing and is referenced in project.
3) it seems any mouse action is not working:
// Open the popup using mouse click so it doesn't hang execution.
Find.ByAttributes<HtmlInputButton>("type=button").MouseClick();
4) VS template examples fails on any call to e.g.: TestDeploymentDir, ActiveBrowser.NavigateTo(Path.Combine(TestContext.TestDeploymentDir, TESTPAGE));
Any ideas please? It looks like some configuration problem, even I had clean install of all tools.
Thanks, David