I am looking for QTP code which can drag a selected row from swftable and drop in one of the folder present in SwfTreeView.
I tried below:
SwfWindow("abc").SwfWindow("Inbox").SwfTable("def").Drag x,y
SwfWindow("abc").SwfTreeView("def").Drop x,y
however this does not work. Currently i am using low level to perform this action.
SwfTreeView is next to SwfTable. Can any one help me on this?
Thanks in advance!!!
-Paresh
Can some one please repsond on this.... I didnt get the option to post as a new topic.. So I am posting here as it related to this...
My application is able to capture with the rightclick operation. But the right click is not doing where the cursor point is. But is doing in the mid of the table, same place for all the rows. I wanted to do right click on each row of a SWFTable. Can you please let me know how to do it.
Here is the code...
PersonCount = 10
While PersonCount <> -1
With SwfWindow("ProCollection [Environment")
.SwfWindow("Production").SwfTable("PersonGridView").SelectCell PersonCount-1,2
.SwfWindow("Production").SwfTable("PersonGridView").Click ,,micRightBtn
.SwfToolbar("personGridMenu").Select "Edit Person Level Bio."
End With
PersonCount = PersonCount - 1
Wend
Hi Paresh,
Unfortunately at this time there is no high level ability to Drag and Drop between controls in TestAdvantage. Drag and Drop X,Y should work as long as you understand they expect control coordinates not screen coordinates. Also you may need to click on the control, or the sub-item object to be dragged prior to the drag operation depending on how your Drag\Drop functionality was implemented in the application under test(AUT)