SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Apr 2008
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Read contents of PDF using silktest


    How can you read the contents of PDF using silktest?

    It would be better if I can get it in .txt file

    Thanks,
    Nidhi

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Read contents of PDF using silktest

    Convert the PDF files to text and then verify both text files. YOu can get freeware for this. I am using TextMining Tool
    - http://text-mining-tool.com/download.php

    STRING sPDF2TxtUtil = "C:\EC_Automation\Text Mining Tool 1.1.42\minetext.exe"
    [ ] STRING sCmdExecute = "{sPDF2TxtUtil} C:\EC_Study\ExporttoPDF.PDF C:\EC_Study\ExporttoPDF_Text1.txt"
    [ ] Print ("Command: {sCmdExecute}")
    [ ] SYS_Execute (sCmdExecute)
    [ ] Print("+++++++++++++++++++++++++++++++++++++++++++ +++PDF file Converted to Text file Successfully++++++++++++++++++++++++++++++++++++++ +++++++++++++")
    // Comparing two Text file.

    [-] if (!SYS_CompareText("C:\XXX.TXT", "C:\YYY.TXT"))
    [ ] LogError("Files do not match")
    [-] else
    [ ] Print("+++++++++++++Exported PDF file and Text file is same+++++++++++++")
    Thanks,
    Ajay Pal More

  3. #3
    Junior Member
    Join Date
    Apr 2008
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Read contents of PDF using silktest

    I don't want to use any third party tools. Can I use any JAVA API to get the contents?

  4. #4
    Member
    Join Date
    Nov 2007
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Read contents of PDF using silktest

    Hi Nid,

    I don't think silk Test support PDF format.
    Thanks,
    Ajay Pal More

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 09:48 PM.

Copyright BetaSoft Inc.