Forum Discussion
- Marsha_RModerator
Here's Drag
which will accomplish this for you
- naveens33_Contributor
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.
- Marsha_RModerator
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_Contributor
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.
- SAtishqatrainerNew Contributor
I tried to do this. But, it didn't workout. Do you have a minute to connect quiclky and show you the behavior?
EMail: satish.qatrainer@gmail.com
- Marsha_RModerator
SAtishqatrainer Sorry, I'm not able to do that but you can contact Support directly at this link
Related Content
- 12 years ago
- 3 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago