lundi 30 juillet 2018

Drag and Assert Location Test

http://demoqa.com/draggable/

In the web page there are options for draggable testing, click on any option.

Code is able to drag the element but unable to assert its location properly

public void DraggableTest()
        {
            _dragPage.GoToUrl();
            _dragPage.CursorStyle.Click();

            Thread.Sleep(2000);

            _dragPage.Drag();

            Thread.Sleep(3000); 

            //_dragPage.DragSortObject.Location.Should().Be("{ X = 619,Y = 441}");

Any ideas ?

Aucun commentaire:

Enregistrer un commentaire