Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP does not seem to support xhtml based java objects
#1
Not Solved
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:

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to record JAVA Swing application with JAVA add-in Mrudula Chinchanikar 0 788 11-24-2021, 07:18 PM
Last Post: Mrudula Chinchanikar
  UFT not recognizing Java Objects/ Elements YogeshCallappa 0 3,122 11-08-2016, 02:44 PM
Last Post: YogeshCallappa
  UFT 12 not recognizing Java Swing objects uftuser18 0 3,144 07-22-2015, 01:58 AM
Last Post: uftuser18
  Can UFT 12.01 support flex objects ? ramya M 0 2,141 03-23-2015, 03:50 PM
Last Post: ramya M
  java objects not getting identified with java update 8 in uft 11.5 milukuraju 0 2,848 02-06-2015, 12:04 AM
Last Post: milukuraju

Forum Jump:


Users browsing this thread: 1 Guest(s)