Drag and Drop keyword in WebUI not working on different screen resolutions

Thanks for the suggestion.
I already tried this approach by explicitly waiting for both the draggable and droppable elements to be visible before performing the drag-and-drop action. However, the issue still persists and the drag-and-drop does not work.
Below is the code I used:


// Make sure the 2 elements are visible and manipulatable
WebUI.waitForElementVisible(
    findTestObject('Drag and Drop/Page_Droppable jQuery UI/div_draggable'),
    5,
    FailureHandling.STOP_ON_FAILURE
)

WebUI.waitForElementVisible(
    findTestObject('Drag and Drop/Page_Droppable jQuery UI/div_droppable'),
    5,
    FailureHandling.STOP_ON_FAILURE
)

WebUI.dragAndDropToObject(
    findTestObject('Drag and Drop/Page_Droppable jQuery UI/div_draggable'),
    findTestObject('Drag and Drop/Page_Droppable jQuery UI/div_droppable')
)

WebUI.closeBrowser()

Even after inserting these lines, the drag-and-drop action is still not working.
Please let me know if there are any other checks or alternative approaches I should try.

“This email and any attachments are confidential and may also be privileged. If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments. If received in error, notify the sender immediately and delete this email and any attachments from your system. Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended. vThink Global Technologies do not accept liability for damage caused by this email or any attachments and may monitor email traffic.”