Test complete 8 records the drag and drop item in co-ordinate base ie. Drag(12,45,45,34). Are there other ways to use this function without using the coordinates? My concern is that the script will fail if the screen resolution is different on different test machines.
Well, you can try to evaluate the coordinates dynamically using properties and methods of the controls you work with. If you pass the dynamically calculated values as variables to the method, this will make your test reliable.