01-16-2013, 05:03 PM
(This post was last modified: 01-16-2013, 05:52 PM by siva.kanukollu@yaho.com.)
hi
I am currently working on a java based cms tool which has xhtml based edit fields.
qtp identifies them as java objects but not as java edit due to which we are unable to
1.use set method to enter data(instead using type method which while running takes more time to enter a lengthy string)
2.to retrieve text present in the field as well with getroproperty("innertext")
tried mapping this java object to javaedit but it does not work
When I record, got the below code for text fields:
QTP does not seem to support xhtml based java objects.
Has anyone worked on this?
Appreciate a solution to this issue.
Thanks
I am currently working on a java based cms tool which has xhtml based edit fields.
qtp identifies them as java objects but not as java edit due to which we are unable to
1.use set method to enter data(instead using type method which while running takes more time to enter a lengthy string)
2.to retrieve text present in the field as well with getroproperty("innertext")
tried mapping this java object to javaedit but it does not work
When I record, got the below code for text fields:
Code:
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_3").PressKey "r"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_3").PressKey "s"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_3").PressKey "t"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_5").Click 70,10,"LEFT"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_4").Click 69,13,"LEFT"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_5").Click 67,7,"LEFT"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_6").Click 54,93,"LEFT"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_4").Click 83,14,"LEFT"
JavaWindow("Escenic Content Studio").JavaObject("XHTMLEditorUI_4").Click 83,14,"LEFT"
QTP does not seem to support xhtml based java objects.
Has anyone worked on this?
Appreciate a solution to this issue.
Thanks