Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Drag and Drop in Java
#1
Not Solved
Version: QTP 9.5 + java add-in
Application tested: Eclipse RCP app

Hi,

I am evaluating QTP for our UI automated testing needs and I am blocked on the following scenario:

I am trying to drag and drop an element from a tree into an editor pane, which is a typical gesture in a graphical editor. There are several problems:

- The recording doesn't record the drag and drop, but merely a click on the destination pane
- I can't access the selected object in the tree programmatically in order to drag it. Absolute coordinates are not an option, since the tree contents may vary, and I need to identify the item by name. I can select the node through the JavaTree("Tree").Select, but it doesn't give me any coordinates or handle that I could drag.

Is this feature supported? How to do it? I have skimmed the documentation and forums without finding any example or answer.

Thanks!
Reply


Messages In This Thread
QTP Drag and Drop in Java - by EclipseDev - 07-02-2008, 07:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Drag and drop issue excellentpawan123 0 2,761 01-13-2015, 05:04 PM
Last Post: excellentpawan123
  Drag Drop from one MSFlexGrid to another MSFlexGrid bstalsb1 0 1,957 01-13-2015, 12:14 AM
Last Post: bstalsb1
  Drop down list class is a link thotamurali 2 4,231 08-22-2014, 05:48 PM
Last Post: thotamurali
  Selecting values from drop down using QTP. prempujaripati 2 46,860 06-26-2014, 06:06 PM
Last Post: rasmirani
Question How to do the QTP drag and drop between two different java objects? ioanaalm 4 8,042 05-23-2014, 03:34 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 1 Guest(s)