Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen scraping using mainframe coordinates versus using highlight edit/copy
#4
Not Solved
does the property of that control (on which you are working, that javaObject) uniquely identified by QTP in each session????

If it is, then i guess u will get the co-ordinate of that particular object in run time which is absolutely resolution interruption free....Whatever the resolution will be, it will return the x and y co-ordinate value on basis of that particular resolution where the run is going on.....after getting the co-ordinate in run time, then do click on that particular place......

i am giving u a sample code...hope it will work....And let me know whether ur problem got solved or not after this..........



Code:
Set obj = CreateObject ("Mercury.DeviceReplay")

absx =JavaWindow("Session A - A - TL5B0570").JavaObject("AccessibleScreenText").GetROProperty("abs_x")
    
absy =JavaWindow("Session A - A - TL5B0570").JavaObject("AccessibleScreenText").GetROProperty("abs_y")
    
obj.MouseMove absx, absy

obj.MouseClick absx, absy, 0



----------------
Thanx
Reply


Messages In This Thread
RE: Screen scraping using mainframe coordinates versus using highlight edit/copy - by souvikghosh_diatm - 07-18-2011, 05:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Capture All text from webpage and copy it... mpatra 3 4,914 07-25-2018, 05:33 PM
Last Post: vimlesh
  How to edit a text in aParagraph shaan.mishra87@gmail.com 2 2,374 08-26-2016, 04:48 PM
Last Post: shaan.mishra87@gmail.com
  Copy folders from ALM squadri 0 1,697 08-16-2016, 06:23 PM
Last Post: squadri
  Auto complete for Web Edit box branjitk 2 5,716 12-20-2014, 09:31 PM
Last Post: supputuri
  Highlight the Found text in Word/notepad Sivakumar2186@gmail.com 2 3,494 10-21-2013, 06:31 PM
Last Post: BadrinarayananR

Forum Jump:


Users browsing this thread: 1 Guest(s)