SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSV Data verification using SilkTest?

    Hi.
    I am a novice to SilkTest. We are exploring if SilkTest can help us in automation effort. We wish to automate a JSP based Web-Application. This app generates report in CSV/PDF format based on filter criterion specified on web-page. And we need to verify content of these reports generated at run-time in PDF/CSV.
    Do u feel it's possible? How do we verify? Roadblock I see is that we need to deal with Browser (JSP web-page) and Windows(CSV format reports). Any pointers are welcome.
    I

  2. #2
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: CSV Data verification using SilkTest?

    We sort of do the same thing but with out JSP.
    The way you should handle is that
    (1)let ST interact with gui to generate these reports in csv or pdf format.
    (2)verify to see if the content is correct manually (This is a one time process)then make them baselines.
    (3)Next time when reports are generated by automation compare csv file using ST file comparision function.
    As far as PDF comparision you 'd need a licence to enable PDF comparision feature. Or you can also convert PDF into text file and then do your comparision.This functionality requires the installation of a tool from Adobe.
    Hope this will help

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

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: CSV Data verification using SilkTest?

    For Acrobat files we open up the file in a web browser and select all to get the contents of the PDF. We then write the list of string down to text files and use comparison functions at that level.

    ------------------
    Steven Tyler
    SQA Automation Team Manager
    Workforce Central Group
    Kronos Incorporated
    E-Mail: styler@kronos.com
    www.kronos.com
    Improving the Performance of People and Business™
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  4. #4
    Member
    Join Date
    Sep 2002
    Location
    Foster City, CA, USA
    Posts
    55
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: CSV Data verification using SilkTest?

    If you do what Styler says about pasting the text into Notepad, then you won't need a baseline file at all. Put all the stuff you want to verify under the VerifyProperties method under the textfield, such as:

    Notepad.TextField1.VerifyProperties({...})
    <captured text down here>

 

 

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 02:29 PM.

Copyright BetaSoft Inc.