Micro Focus QTP (UFT) Forums
QTP not recording Java pop window - 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 not recording Java pop window (/Thread-QTP-not-recording-Java-pop-window)



QTP not recording Java pop window - Yashvi - 07-17-2009

Hi,
QTP not recording Java pop window
I read post by Ankur :
By default, QTP does not record on the pop-up windows. The reason why QTP does not record is that the menu's parent window is not visible. By default, QTP records a command if the object and all its parents are visible. In order to enable recording on an object with an invisible parent, the parent must have the visible property as one of the mandatory properties.Hence set the visible property to mandatory for the parent object.

I am not sure if I understood this solution .
Where do I set the visible property.

Please advise.


RE: QTP not recording Java pop window - balakrish - 07-20-2009

Hi yashvi,

Go to Object Identification --> select the mandatory properties in that add the visible property to Mandatory properties
Go to Object repository--> click the add button --> select the pop window with the hand symbol ---> click ok.All the updated properties are added to the Pop window object.

Regards
Bala


RE: QTP not recording Java pop window - QTPgrd - 07-20-2009

Hi Friends,

Can anyone please explain, what do you mean by Java Pop-up Window, if possible provide a screen shot.

Thanks,
QTPgrd


RE: QTP not recording Java pop window - Yashvi - 07-20-2009

Solution that you provided, didn't work.
Some how it is recording JavaWindow as just window.

When I tried:
If Window("text:=Import Vendor Inventory").Exist Then
Msgbox "True"
End If

This returns true.
Now when I try to add/spy on buttons on this window, it only identifies window and none of the component like button on it is recognised.

I am not sure whats missing.
Please help.


RE: QTP not recording Java pop window - Yashvi - 07-23-2009

I figured out the issue, it was with the code.
I don't understand the actual reason though.
On JDialog form, processEvent() function was defined.
When I commented that function , QTP works fine with this pop up form.

Pleas post a reply if you know the actual cause for this.
Thanks
Yeshvi