Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oracle Application recorded as Java Addin -QTP
#5
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi Naveen,

If you wan to try with the second option, then do follow the below steps.

By default the Object Spy only shows Oracle recognition against Oracle Test Object when the add-in is enabled, so either of the following can be done to get Java recognition instead of Oracle temporarily:
1.Re-launch QTP with only Java and Web Add-ins
2.Backup the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\JavaAgent\Oracle Add-in for QuickTest\Enabled, then set its value to zero (0) and restart QTP with Oracle and Web add-ins.
The backup is to return to previous settings/functionality when needed.

The status bar can sometimes show a syntax such as “Record: 1/?” where the question mark (“?”) is indicating Oracle hasn’t calculated or analyzed the table completely, therefore not determining how many rows or records are on the table. This requires forcing Oracle to analyze the displayed table and find the last record to change the question mark (?) for the real number representing the last record or row of it.

It’s possible to force Oracle to find that last record of the table via its own menu options:

1.Open the Oracle application menu called “View”
2.Navigate the menu until “Record” is found
3.Within the displayed sub-items of “Record”, select “Last”
4.Oracle will display a “Process” dialog window indicating “Retrieving next 100 records”.
5.If the amount of rows goes higher than the mentioned 100 records, then a “Decision” dialog window will appear and in order to get to last record, selecting “Continue to End”.

If QTP is used to automate these steps, then something similar to the following code could result:

Code:
OracleFormWindow("...").SelectMenu "View->Record->Last"
If OracleNotification("Decision").Exist Then
    OracleNotification("Decision").Choose "Continue to End"
End if
Reply


Messages In This Thread
RE: Oracle Application recorded as Java Addin -QTP - by sreekanth chilam - 12-08-2009, 06:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connecting to oracle DB with QTP rajendra649 2 26,994 12-04-2020, 06:19 PM
Last Post: Anita2020
  SystemUtil.Run is not getting recorded divyan 1 1,863 08-31-2017, 09:06 PM
Last Post: Ankur
  SystemUtil.Run method is not getting recorded pupuns2 5 8,217 05-12-2017, 01:20 PM
Last Post: Angeliks
  How to know UFT Qt-Addin Version suresh bona 1 2,744 08-17-2016, 08:35 PM
Last Post: Ankur
  Path of Flight reservation Window is not recorded in HP UFT 12.52 version mailtokopalverma@gmail.com 1 2,730 04-01-2016, 05:34 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)