Drag and Drop
I have a scenario to perform a drag and drop. My application is WPF(.NET)
when I record it looks like..
Set scrollViewer = Aliases.XXXXX.HwndSource_Window.Window.ImportGLWiz ardController.grdImportGLWizard.ScrollViewer
scrollViewer.VScroll.Pos = 0
scrollViewer.HScroll.Pos = 0
Set scrollViewer2 = scrollViewer.Grid.Grid.Border.Grid.Border.ScrollVi ewer
scrollViewer2.VScroll.Pos = 0
scrollViewer2.HScroll.Pos = 0
Set gridViewRow = scrollViewer2.frmImportContainer.usrKnowledgeRevie w.Grid.grdKnowledgeReview.rgvGLAccount.rgvGLAccoun tRow1
Set gridViewCell = gridViewRow.GridViewCell2
Call gridViewCell.Click(75, 15)
Call gridViewCell.Drag(75, 15, 346, -5)
Call gridViewRow.GridViewCell.Drag(81, 11, 337, 2)
Call Aliases.Explorer.wndShell_TrayWnd.ReBarWindow32.MS TaskSwWClass.ToolbarWindow32.CheckItem("TestComple te - C:\Users\XXXX\Documents\TestComplete 7 Projects\UN", True, False)
But when I playback nothing happens.
Is there a way i can perform this thru script.
Re: Drag and Drop
First of all, please clarify what control you are having problems with. Please tell us the target control's name, version, vendor, and the value of the ClrFullClassName property.
To help us learn more about the situation you are facing, please zip the entire project suite folder and send us the archive. Also, please record a video demonstrating the actions you want to perform on the target control and send it to us. For example, you can use Jing, which is a free recorder.