QTP 10 - Copy a value of PDF file to a DataTable (353 Views)
Reply
Occasional Contributor
vagnermsilva
Posts: 5
Registered: ‎01-31-2013
Message 1 of 3 (353 Views)

QTP 10 - Copy a value of PDF file to a DataTable

Good afternoon.

 

How do I copy a value from a PDF file to a DataTable?

 

Below is an excerpt from the script:

 

Window("Adobe Reader").WinObject("AVPageView").Drag 752,42
Window("Adobe Reader").WinObject("AVPageView").Drop 896,49
Window("Adobe Reader").WinObject("AVPageView").Type micCtrlDwn + "c" + micCtrlUp

 

I like to play and capture the value in the following DataTable:

 

DataTable("NumProposta",dtGlobalSheet)

 

Here attached a picture with the field you need to capture.

 

If anyone can help me.

 

 

Regards.

 

Vagner Maximino

Please use plain text.
Occasional Advisor
shashank_raj
Posts: 11
Registered: ‎12-09-2012
Message 2 of 3 (306 Views)

Re: QTP 10 - Copy a value of PDF file to a DataTable

It is Possible in Latest Version of QTP named UFT 11.5

In Previous version of QTP it is impossible
Please use plain text.
Occasional Contributor
vagnermsilva
Posts: 5
Registered: ‎01-31-2013
Message 3 of 3 (286 Views)

Re: QTP 10 - Copy a value of PDF file to a DataTable

Had some other way of doing this.

 

Capturing a field of a PDF file and put in DataTable?

 

 

If anyone can help me.


Sincerely.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation