Micro Focus QTP (UFT) Forums
QTP and JavaSpin object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP and JavaSpin object (/Thread-QTP-and-JavaSpin-object)



QTP and JavaSpin object - elsekra - 01-14-2009

Hello ! I am using QTP 8.2 with Java Adding , the application i am testing had a JavaSpin object . With QTP a can't directely use the record result to set à value to the Spin object
'JavaWindow("Enhance Invoice And Launch").JavaSpin("Concerned Period").Set "May 2009"' don't work when run

if some one can help
Thanks


RE: QTP and JavaSpin object - elsekra - 01-15-2009

I respond my own request Smile , il had find somting
JavaSpin is associated with JavaEdit object and to set value :

Code:
Set a=JavaWindow("Enhance Invoice And Launch").JavaEdit("Concerned Period").Object
a.setText("Q4 2008")