DragAndDropToElementInIframe test fails in Edge

Duplicate Issue #4475613 • See Issue #4475551

Details

Created
Sep 4, 2015
Privacy
This issue is public.
Duplicates
See progress on Bug #4475551
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/iframes.html"

;

IWebElement

iframe = driver.FindElement(

By

.TagName(

“iframe”

));

((

IJavaScriptExecutor

)driver).ExecuteScript(

"arguments[0].src = arguments[1]"

, iframe,

WebDriverTestConstants

.dragAndDropPage);

driver.SwitchTo().Frame(0);

IWebElement

img1 = WaitFor<

IWebElement

(() =>

{

try

{

IWebElement

element1 = driver.FindElement(

By

.Id(

“test1”

));

return

element1;

}

catch

(

NoSuchElementException

)

{

return

null

;

}

});

IWebElement

img2 = driver.FindElement(

By

.Id(

“test2”

));

new

Actions

(driver).DragAndDrop(img2, img1).Perform();

Verify

.AreEqual(img1.Location, img2.Location);

 

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 “DragAndDropToElementInIframe test fails in Edge” to “DragAndDropToElementInIframe test fails in Edge”

      Changed Assigned To from “Ben B.” to “Mustapha J.”

      Changed Status from “Confirmed” to “Duplicate”

    • This appears to be an issue with using mouseDown/moveTo/mouseUp to simulate drag and drop in Edge. we have another test that’s also failing on the same test page doing a very similar command.

    • This bug has marked as duplicate. Please follow the parent issue to get new updates.

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

    Sign in