Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen scraping using mainframe coordinates versus using highlight edit/copy
#1
Not Solved
Good Morning.

We use QTP with our mainframe .net sessions. We copy fields, like policy numbers and account values using the Highlight drag, edit, copy feature. This process has to be adabpted to each person's screen session because they are all different sizes, even though the data appears in the same spot on the screen. What I would like to know if there is some vb code I can use to capture the coordinates of the screen to capture the same data, versus what are are currently using.

Here is a sample of the code we are currently using:
Code:
'stephen'
JavaWindow("Session A - A - TL5B0570").JavaObject("AccessibleScreenText").Click 322,47,"LEFT"
JavaWindow("Session A - A - TL5B0570").JavaObject("AccessibleScreenText").MouseDrag 322,47,509,47,"LEFT"
JavaWindow("Session A - A - TL5B0570").JavaMenu("Edit").JavaMenu("Copy").Select

This has to be adbpted for each persons computer and laptop using the script, so each person has to capture and change this twice.

Any help would be greatly appriciated.
Reply


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

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

Forum Jump:


Users browsing this thread: 3 Guest(s)