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

Currently no Oracle API function, method or property provides the necessary information for QTP to display how many records a Oracle table contains.

Fyi, there is a manual graphic user interface (GUI) notification used to indicate how many rows are being displayed as well as other messages. This control is a status bar normally located on the lower side of the Oracle application window

The usual syntax of such goes as “Record: 1/6” where the “1” represents the current index being reviewed from the currently displayed table and the “6” represents the total of rows or records available on the currently focused table.

1. Use the "OracleStatusLine" object provided by the Oracle Application to review such information.
Code:
Msgbox OracleStatusLine("...").GetROProperty("message")

2. If "OracleStatusLine" object doesn’t show all the required information, access the status bar with the Oracle’s backup recognition mechanism which is Java recognition:

Code:
Msgbox JavaWindow("...").JavaStaticText("...").GetROProperty("content")
    Or
set a = JavaWindow("...").JavaStaticText("...").Object.getItems
Msgbox a.mic_arr_get(0).getText


Try it out & see Smile
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Connecting to oracle DB with QTP rajendra649 2 26,769 12-04-2020, 06:19 PM
Last Post: Anita2020
  SystemUtil.Run is not getting recorded divyan 1 1,779 08-31-2017, 09:06 PM
Last Post: Ankur
  SystemUtil.Run method is not getting recorded pupuns2 5 8,112 05-12-2017, 01:20 PM
Last Post: Angeliks
  How to know UFT Qt-Addin Version suresh bona 1 2,600 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,647 04-01-2016, 05:34 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 2 Guest(s)