Hi All,
We are currently using Ranorex tool to perform UAT for our application. As part of our testing, we need to drag a cell from one table and drop it into another. We have been trying to perform this using user code(VB.NET) now. It would be great if someone/support team could share us their ideas/workaround.
Thank you
Anbu K
Drag a cell from one table and drop it into another
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Drag a cell from one table and drop it into another
Hi!
You can use the recorder to record this action.
What the recorder will create are 2 actions.
Martin
Ranorex Support Team
You can use the recorder to record this action.
What the recorder will create are 2 actions.
- - Mouse Down Event on the element you want to drag
- Mouse Up Event on the element where you want to drop the element.
Martin
Ranorex Support Team
Re: Drag a cell from one table and drop it into another
Thanks Martin for your quick response.
Recording is not working as expected in all the times.
I have tried that option too but the problem i faced was dynamically i want to drag and drop the items in one table to another table.
It would be best if you can send a piece of usercode to do drag and drop during runtime.
Recording is not working as expected in all the times.
I have tried that option too but the problem i faced was dynamically i want to drag and drop the items in one table to another table.
It would be best if you can send a piece of usercode to do drag and drop during runtime.
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Drag a cell from one table and drop it into another
Hi,
I have attached a solution where I recorded Drag&Drop in an example.
To see the generated code in the background, please open the Recording1.cs File. Regards,
Martin
Ranorex Support Team
I have attached a solution where I recorded Drag&Drop in an example.
To see the generated code in the background, please open the Recording1.cs File. Regards,
Martin
Ranorex Support Team
- Attachments
-
- DragDropExample.zip
- (357.62 KiB) Downloaded 208 times