SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2000
    Location
    Chicago, IL USA
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PDF Document Testing

    Anyone ever tried to verify the content of a PDF file? I have sucessfully manipulated the file if it includes a textfield or popuplist, content is a different story. Does SilkTest have the ability to get the text and do something with it from there?

    ------------------

  2. #2
    Member
    Join Date
    Jun 2001
    Location
    Berkeley, CA, USA
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PDF Document Testing

    You could try printing the contents of the .pdf to a file, then do a file comparison.

    You might have to break up the print jobs. A really large document might be too much for SilkTest to run it's comparison routine against.

    ------------------

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Location
    Chicago, IL USA
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PDF Document Testing

    I am actually more interested in comparing a specific line of text in the document and the entire document.

    ------------------

  4. #4
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PDF Document Testing

    I am not overly clear on what you want to
    do. However via Silk as the driving force you certainly can navigate to particular pages via Adobe and use the menu to copy pages into the clipboard.

    Then you can parse the clipboard list for textual content for your comparisons. You could even use this text as feedback to navigate to pages. It's primitive but depending on what you want to do, it could fit the bill.

    BTW does anyone know if later versions of Adobe have an export to other formats of files like txt or html?? (I doubt the translation to Word would help you at all :-)
    )


    ------------------
    "Smoke me a kipper, I'll be back for breakfast!"
    Sincerely
    Richard Weth
    Sr. QA Engineer
    mailto:rick_weth@yahoo.com



    [This message has been edited by rick_weth (edited 07-13-2001).]
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  5. #5
    Junior Member
    Join Date
    Feb 2001
    Location
    Portland, OR, USA
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PDF Document Testing

    There are some tools out there that allow exporting to text files. One I think is called Ghostscript.

    Another possibility is the Adobe SDK. You might be able to hook into a .DLL.



    ------------------
    Bill Hull
    QA Engineer
    Timberline Software
    www.timberline.com

  6. #6
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: PDF Document Testing

    If your pdf has mostly text, because I don't know what happens when you do a select all and there are weird document objects. Do this:
    ----------
    Add the angle bracket for the TypeKeys() argument.

    [This message has been edited by GodKnows (edited 07-16-2001).]

    [This message has been edited by GodKnows (edited 07-16-2001).]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:26 AM.

Copyright BetaSoft Inc.