right click or convert javaobject into javatable
the java application have a list of rows and qtp identify it as JavaObject. we have to right click on one of the row and select one of the context actions.
I used getDeclaredMethods() to get the list of supported method and properties of related class "com.******.frontend.widget.swing.JSortList" . found only 1 public method doselect to select the row.
set obj = JavaWindow("Tasks - ABC").JavaObject("JSortList").Object
obj.doselect 3, true, true, true
msgbox obj.getCurrentModelRow()'returns 3
now we have to right click on selected row and we don't the co-ordinates of selected row(also no method available to get the co-ordinates of selected row).
any idea how to get the co-rdinates of selected row or how to right click without the co-ordinates.
the application does not accept keystrokes(sendkeys).
or is there any way to convert the java object into java table without using virtual object wizard. something like defing the rectangle area on the screen but not sure whether this concept will work on screen with different resolution.
Re: right click or convert javaobject into javatable
found something interesting at http://www.sqaforums.com/showflat.ph...979&page=0
not able to get getcursor.dll
Does any one know from where to get this dll(in hp site the link is not working)