SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to test HTML Report in Window application?

    I am testing a Windows application, which open some HTML report in one of the windows (not the normal browser but an embedded browser).

    Is there a way to verify the HTML report contents from within window application embedded browser?


    [This message has been edited by Prasad (edited 03-12-2002).]

  2. #2
    Member
    Join Date
    Aug 2001
    Location
    Ireland
    Posts
    64
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to test HTML Report in Window application?

    You could try write the report content to a text file of some sort and then use the verify functions within SilkTest to achieve this ! All that you need to achieve this is in the SilkTest on-line help. Best of luck

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

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to test HTML Report in Window application?

    Yes I tried this, I copied all the contents to a text file using Type Keys "Ctrl-c" and "Ctrl-v"

    But the problem I faced is that the HTML Report contains HTML Table and I need to verify the contents of different columns of this table.

    So I want to check if I could enable to browser extensions while testing a windows application so that I use the standard browser methods for embedded browser?


    [This message has been edited by Prasad (edited 03-12-2002).]

  4. #4
    Junior Member
    Join Date
    Mar 2002
    Location
    Chennai,India
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to test HTML Report in Window application?

    Hi Prasad..
    Instead of doing all this write a function in VC++ for comparing two HTML files.Implement the function as a DLL.
    From silktest u can load the DLL and call the function in it.
    I dont think u can do anything else for it. We have done the same for comparing XML's.

    regards,
    rajesh


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

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Location
    Elizabeth, CO, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to test HTML Report in Window application?

    A couple of options here....

    If you can copy the HTML to the clipboard (as you said you could), you can retrieve that information from the clipboard with Clipboard.GetText () in SilkTest; the data will come back as a LIST OF STRING. That you should be able to compare.

    Or, you could write the information out to disk and then launch the HTML in a browser and use SilkTest's browser methods to examine the report. Generally, this is the way I've done it when I can get the report out to an HTML file.

    - Dave


    ------------------
    Amelior Technology
    dreed@ameliortech.com
    WaltzingRhino.com
    A concerned Borland customer, a fly in the ointment, a wrench in the works.

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

    Re: How to test HTML Report in Window application?

    User David Genrich (David.Genrich@e2open.com.nospam) posted:

    You can change from Windows testing to Web testing by changing your option
    set. You can do this from the TestPlan (see "Options Sets" in the online
    help).

    -David Genrich



  7. #7
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to test HTML Report in Window application?

    How do I change from windows testing to web testing in the middle of a test case and come back to the windows testing after the web testing is done?

    Can I enable the browser extensions in the middle of test case?

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

  8. #8
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to test HTML Report in Window application?

    Do you really need to enable/disable the browser extension? Try enabling it and leaving it enabled while you operate on the non-browser part of your app.

    I have a Java client app that sets up the environment then I have to use a browser to verify the system behavior. It's the normal browser, not an embedded browser. I simply have Java and the desired browser extension enabled all the time.

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

 

 

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 03:53 AM.

Copyright BetaSoft Inc.