MoveTo Int32.MinValue throws Invalid Argument exception in Edge

Confirmed Issue #4476856 • Assigned to Stanley H.

Details

Created
Sep 4, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Test code:

driver.Url =

"
http://ie-snap/TestsNew/TH2EDGESTAGEDEV1/Edge/WebDriver/Sites/dragAndDropTest.html

"

;

IWebElement

img = driver.FindElement(

By

.Id(

“test1”

));

// Dragging too far left and up does not move the element. It will be at

// its original location after the drag.

Point

originalLocation =

new

Point

(0, 0);

Actions

actionProvider =

new

Actions

(driver);

actionProvider.DragAndDropToOffset(img,

int

.MinValue,

int

.MinValue).Perform();

Point

newLocation = img.Location;

Verify

.IsLessThanOrEqual(newLocation.X, 0);

Verify

.IsLessThanOrEqual(newLocation.Y, 0);

 

Expected: Test to pass

Actual: TEst fails

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To from “Mara P.” to “Vijeta P.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Vijeta P.” to “Ben B.”

      Changed Title from “MoveTo Int32.MinValue throws Invalid Argument exception in Edge” to “MoveTo Int32.MinValue throws Invalid Argument exception in Edge”

      Changed Assigned To from “Ben B.” to “Reinhold D.”

      Changed Assigned To from “Reinhold D.” to “Stanley H.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in