SHAFT is a unified test automation engine for web, mobile, API, CLI, database, and desktop e2e testing. Powered by best-in-class frameworks, SHAFT provides a wizard-like syntax to drive your automation efficiently, maximize your ROI, and minimize your learning curve with no limitations! Stop reinventing the wheel! Upgrade now!
Title: SHAFT Engine: Drag-and-Drop Fails on Subsequent Actions with NoSuchElementException After Initial Success
Description
I’m encountering an issue while performing multiple drag-and-drop actions using the SHAFT engine. The first drag-and-drop action executes successfully, but subsequent actions fail. Upon reviewing the console, I observed the following exception:
[INFO] java.lang.AssertionError: Failed to drag and drop against "AppiumBy.accessibilityId: drag-l2". Root cause: "org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters."
It is confusing since the first action completes as expected, but the others fail immediately.
Title: SHAFT Engine: Drag-and-Drop Fails on Subsequent Actions with NoSuchElementException After Initial Success
Description
I’m encountering an issue while performing multiple drag-and-drop actions using the SHAFT engine. The first drag-and-drop action executes successfully, but subsequent actions fail. Upon reviewing the console, I observed the following exception:
It is confusing since the first action completes as expected, but the others fail immediately.
Code Snippet
Link to SHAFT_Engine Console Logs
Console Logs
Link to SHAFT_Engine Allure Report
Allure Report
Environment
Steps to Reproduce
Attachment
Steps to reproduce (GitHub link)
This should help in logging your defect clearly for others to understand and reproduce the issue.