Quick test professional

QTP Tips QTP codes QTP Faqs and more

Get TooTip text from Java Table

JavaWindow(“abc”).JavaTable(“xyz”).Object.setColumnSelectionAllowed=False

JavaWindow(“abc”).JavaTable(“xyz”).Object.setRowSelectionAllowed=False

JavaWindow(“abc”).JavaTable(“xyz”).ClickCell”#1″,”#0″

set obj=JavaWindow(“abc”).JavaTable(“xyz”).Object.getCellRect(1,0,True)

JavaWindow(“abc”).JavaTable(“xyz”).FireEvent micMouseMove,0, “BUTTON1_MASK”, obj.x, obj.y, 1, “OFF”

msgbox JavaWindow(“abc”).JavaObject(“toolkit class:=javax\.swing\.JToolTip
“).Object.tipText

About these ads

July 7, 2011 - Posted by | Uncategorized | , ,

5 Comments »

  1. Dear Mohan,

    Currently I am automating an applicatio which has Activex controls, I am facing following issues please suggest,
    1. How to retrieve data from activex grid control? currently whole is grid is identified as one object.
    2. is it possible to find the colour of the text displayed in activex grid?

    Comment by Vijay | July 13, 2011 | Reply

  2. Hii anna dis is pushpanth..im working as a jr tester in a level 3 company..iam very much interested in testing..im not havin tht much knowledge on coding. Im interested in learning qtp..i came to know tht automation testers wil be payed a very good salary..plz giv ur valvuable suggestions that my be helpful for my bright future..Anna dis is my gmail id “pushpanth2000@gmail.com”

    Hoping a valuable suggestion from you bro,
    Rgds,
    Pushpanth.

    Comment by Pushpanth | August 2, 2011 | Reply

  3. Hii anna dis is pushpanth..im working as a jr tester in a level 3 company..iam very much interested in testing..im not havin tht much knowledge on coding. Im interested in learning qtp..i came to know tht automation testers wil be payed a very good salary..plz giv ur valvuable suggestions that my be helpful for my bright future..Anna dis is my gmail id “pushpanth2000@gmail.com”

    Hoping a valuable suggestion from you bro,
    Rgds,
    Pushpanth.

    Comment by Pushpanth | August 2, 2011 | Reply

  4. How do you know what arguments to pass with the FireEvent and micMouseMove? I have searched the net and the Oracle download sites but cannot work it out. What does the first “0” mean and what do the arguments after the X,Y coords mean?
    Thanks

    Comment by Nick | September 7, 2011 | Reply

  5. hi

    Comment by suresh | January 2, 2012 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 132 other followers

%d bloggers like this: