Forum Discussion
- rraghvaniChampion Level 3
Are you using scripts or keyword tests?
- RitaXuNew Contributor
using script testing
- KB1Champion Level 2
.
- RitaXuNew Contributor
Thanks for your help.
when I use Call aqDragDrop.dragDrop(sFilePath, objArea)
TestComplete will report error Object required: 'aqDragDrop'
There is no aqDragDrop object
- rraghvaniChampion Level 3
Is it necessary to perform drag and drop, or can you load the file?
- RitaXuNew Contributor
yeah, I want to drap file and drop to specified area in Chrome page, the manual operation is available.
- rraghvaniChampion Level 3
To identify the objects in Explorer, you will need to add the property value of WndClass to MSAA in Project Settings. This will expose Explorer objects to TC.
You then need to get the screen coordinates of your Chrome object, in order to move the item from Explorer to your object in Chrome.
If you record your actions, then convert record and playback to scripts, you will be able to see the coding that TC has generated. This will give you an idea, on how to perform drag and drop.
Related Content
- 2 years ago
- 2 years ago
Recent Discussions
- 14 hours ago