hi guys, i’m new with this tools
i wanna ask about drag and drop from this website: http://executeautomation.com/demosite/Dragging.html
this is the code
WebUI.openBrowser(‘Execute Automation’)
WebUI.setText(findTestObject(‘Page_Execute Automation/input_Login_UserName’), ‘Admin’)
WebUI.setText(findTestObject(‘Page_Execute Automation/input_Login_Password’), ‘Admin’)
WebUI.click(findTestObject(‘Page_Execute Automation/input_Login_Login’))
WebUI.click(findTestObject(‘Page_Execute Automation/a_Drag and Drop’))
WebUI.dragAndDropToObject(findTestObject(‘Page_/li_Drag Item 4’), findTestObject(‘Page_/li_Drag Item 3’))
when i want to drag object 4 to 3 it’s seems doesn’t right because the object doesn’t move like i want but status success
here’s the result
but when i want to move object 3 to 4 it’s work normal
WebUI.dragAndDropToObject(findTestObject(‘Page_/li_Drag Item 3’), findTestObject(‘Page_/li_Drag Item 4’))
here’s the result
is there anything wrong with my code or something else ?