Posts: 5
Threads: 1
Joined: Jun 2008
Reputation:
0
06-08-2008, 01:55 AM
Hi,
We are trying to automate a java application with QTP 9.2 and Java Add-in 9.1. I think there are swing objects in the application. Can these types of application be automated with QTP. We are facing issues while recognizing objects. Is there some kind of setting required or additional add-ins needed?
Any help on this will be appreciated.
Thanks.
Posts: 5
Threads: 1
Joined: Jun 2008
Reputation:
0
06-08-2008, 10:15 PM
Hi Sridhar,
Thanks for the reply. I have gone through that link. Even after doing what has been said there, we are facing the issue. I will explain the issues in detail:
1. We are not able to fetch data and compare from a JavaTable.
2. The buttons (ex. OK button) are being recognized as checkboxes
3. Is it possible to somehow fetch text and store it in a variable from a JavaObject which is inside the JavaInternalFrame (Not by using checkpoints).
Thanks.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
06-09-2008, 09:28 AM
"Read Me" which comes with every add-in can always give you the details about support for particular apps. I suggest you should go through that. HP has done a great job with "Read Me" and have identified several problems and their workarounds.
Now your questions:
1) Can you be more detailed. How are you trying? And what is the problem/error message you are facing?
2) This seems to be an issue. You need to raise a ticket with HP support.
3) Yes, if you are able to get value using checkpoints, you can fetch it in variables also. Try using "GetROproperty" and value name.
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
06-10-2008, 09:16 AM
1) you need to check the property where the required while is coming up. You can object spy for that.
2) Yes
3) same as 1
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
06-11-2008, 09:19 AM
oh yes..that should be "check the property where the required value is coming up"
ok, try inserting a standard checkpoint on the webtable, in the dialog box of checkpoint you will find a table where values are given. Note the coordinates (row,column) for those values. Then use Getcellvalue(row,column). Put it inside a loop to fetch all the values.
Posts: 5
Threads: 1
Joined: Jun 2008
Reputation:
0
06-12-2008, 02:13 PM
Sure Ankur... I will try doing it this way and let you know the result...
Thanks...