Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fetch the coordinates of a button and perfom the action
#1
Not Solved
Could you please refresh me with the below scenario?
Version : QTP 10 , O/S: Windows XP Service Pack 3
Hi,
Some data is displaying on the applicaion which is almost like Excel data

say for example 120 rows and 5 columns
My requirement is i will be searching for a string among the data available on the application.
it has to search on the application if it exists then it has to fetch the coordinates (x,y)


Note: All the data displayed on the application is not recongnised as "Java Table" or "Java Butoons" which is recongnosing as "Java Terminal View"


once i get the locaions then i will be performing the script like

Code:
JavaWindow("xxxxxx").JavaTerminalView("xxxxxxx").Click x,y
here x,y are the coordintes of the object

Note: I have done some work on this like
First:
Code:
object.GetTextLocaion
Second:
TextUtil.GetTextLocation

by using that i am getting the error message as "un recoverable error"

Please suggest me regarding this,

Thanks in advance,
Venkat.Batchu
Reply


Messages In This Thread
How to fetch the coordinates of a button and perfom the action - by venkatbatchu - 01-19-2010, 09:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Any Method to fetch d cellData from Virtual Table? manishddeshmukh 0 2,183 08-09-2010, 05:34 PM
Last Post: manishddeshmukh
  reusable action called inside another reusable action in qtp ritugoyal 0 2,480 05-05-2010, 03:16 PM
Last Post: ritugoyal
  Parameterise the Cell coordinates for a Swf Table object neerukonda 1 4,253 08-05-2009, 10:30 AM
Last Post: savita.kale
  How to fetch the valid suggestions in to variables venkatbatchu 1 2,109 07-30-2009, 06:19 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)