Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not recording Java pop window
#1
Solved: 11 Years, 4 Months, 4 Weeks ago
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.
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi Friends,

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

Thanks,
QTPgrd
Reply
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
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.
Reply
#5
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SAP GUI gets hanged while closing the Windows Pop Up kathirvelnagaraj 0 5,563 10-23-2015, 06:47 PM
Last Post: kathirvelnagaraj
Rolleyes QTP pop up window handling piyush8793 3 16,943 10-15-2015, 11:03 PM
Last Post: Venkateswarluponna
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 11,455 07-09-2014, 10:43 PM
Last Post: hhamilton
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,558 06-05-2014, 08:18 PM
Last Post: sbkhbk
  select a date from pop-up calendar Dertjon 1 5,812 05-13-2014, 02:29 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)