Quick test professional

QTP Tips QTP codes QTP Faqs and more

Get TooTip text from Java Table

JavaWindow(“abc”).JavaTable(“xyz”).Object.setColumnSelectionAllowed=False

JavaWindow(“abc”).JavaTable(“xyz”).Object.setRowSelectionAllowed=False

JavaWindow(“abc”).JavaTable(“xyz”).ClickCell”#1″,”#0″

set obj=JavaWindow(“abc”).JavaTable(“xyz”).Object.getCellRect(1,0,True)

JavaWindow(“abc”).JavaTable(“xyz”).FireEvent micMouseMove,0, “BUTTON1_MASK”, obj.x, obj.y, 1, “OFF”

msgbox JavaWindow(“abc”).JavaObject(“toolkit class:=javax\.swing\.JToolTip
“).Object.tipText

Advertisements

July 7, 2011 Posted by | Uncategorized | , , | 6 Comments