Hi,
I am currently using WebUI. My operation includes clicking on a button. When I am recording the operation using Design canvas, coordinates are recorded and playback operation is failing next time when I go to run the same code. I am giving below the code fragments as well as the error I am getting and also attaching the screenshot of the Button.
Please let me know if I can furnish any more information needed.
I am currently using WebUI. My operation includes clicking on a button. When I am recording the operation using Design canvas, coordinates are recorded and playback operation is failing next time when I go to run the same code. I am giving below the code fragments as well as the error I am getting and also attaching the screenshot of the Button.
Recorded Step:
[CodedStep(@"Click on MnuButtonDialogueImage", RequiresSilverlight = true)]
public void WebAiiTest1_CodedStep1()
{
// Click on MnuButtonDialogueImage
Pages.SBX21.SilverlightApp.MnuButtonDialogueImage.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, -2147483374, -2147483534, ArtOfTest.Common.OffsetReference.TopLeftCorner);
}
Playback Error:
Exception thrown executing coded step: '[WebAiiTest1_CodedStep1] : @"Click on MnuButtonDialogueImage", RequiresSilverlight = true'.
InnerException:
System.InvalidOperationException: Point (274, 114) outside bounds of browser window: (0, 144, 1440, 703)
......
Please let me know if I can furnish any more information needed.