Forum Discussion
Hi SAtishqatrainer
Drag drop action is not recorded for me as well, but we can modify the code as below,
Aliases.AppService.HwndSource_MainWindow.Drag(50, 90, 100, 0)
Also,
The Drag action works in the following manner:
Moves the mouse cursor to the point specified by the ClientX and ClientY parameters.
“Presses” the left mouse button.
“Holds” the button down and moves the cursor to the distance specified by the toX and toY parameters.
“Releases” the left mouse button.
Hi naveens33_
Did you see that you and I posted the same answer? lol
It does help to scan the other posts to see what has already been suggested before you reply.
- naveens33_3 years agoContributor
Hi Marsha_R ,
Yes I have seen your post.But did you see properly what I have posted ? lol
I have not posted the answer by just reading the documentation. And I have not reply to all the question just posting what's already there in the documentation. Rather I also faced the same issue and tried myself in my project and posted my experience. Not just the posting what's already there in the documentation. Because, If I just google it like "Drag and Drop action in windows based application" I directly redirect to the following link
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/onscreen/drag-action-onscreen-object.html?sbsearch=drag%20then why should anyone come to community site.
- Marsha_R3 years agoModerator
SAtishqatrainer Did you get your solution?
naveens33_ Glad to see that the TestComplete documentation is helping you too!
Related Content
- 12 years ago
- 3 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 6 days ago