SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    testing 3 applications together..

    hi out there,

    i need some help!

    following problem:
    our application computes old age pensions and calls another application to show the printable results (the results are shown before they can be transmitted to the printer; so the user can decide if he/she wants to print at all).

    now: how can i run the old-age-pension-application and (!) examine the results in the second application in one run?

    i need to know if the second application is doing the right thing, dependent on the choices made in the first one.

    if i try to include two frame-files in the runtime, the error silktest returns says:
    "Variable wMainWindow is already defined in module (first application).inc at line 1"
    and another error that the "Window MessageBox" is already defined.

    Did i miss something?

    Any help would be greatly appreciated!

    Duck

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

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: testing 3 applications together..

    Running any number of applications simultaneously is easy if you handle the startup and default base state code yourself (ie: abandon test frame operation). Just create a separate set of declaration files for each application.

    Before you do that though, you may want create a declaration file manually for the printable results application and see if Silk can even see its WYSIWYG output.

    John


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

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: testing 3 applications together..

    Hi,
    thanks for the reply.

    But (please forgive my ignorance, im rather inexperienced in silktest) how to i handle the startup and default base state code by myself? and do i have to change anything in the existing include-files?

    by the way: silktest can see the output of the second application (and of the up to now unmentioned third application as well).

    thanks for any help!

    Duck

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

  4. #4
    Member
    Join Date
    Dec 2000
    Location
    India
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: testing 3 applications together..

    It is simple. The test case that you will running should be like this:

    [] testcase [mytestcasename] (your parameters ) appstate none
    // Write script to invoke your application and continue from there.

    I hope that helps

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

  5. #5
    Junior Member
    Join Date
    Mar 2003
    Location
    Columbus, GA USA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: testing 3 applications together..

    yes, it helps!

    now i know in which direction to look!

    thanks

    Duck

    ------------------
    ------------------------
    Smile, tomorrow will be worse.

  6. #6
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: testing 3 applications together..

    Or you can change the CONST wMainWindow to be a variable like WINDOW wMainWindow.

    create an appstate called App2BaseState like this:
    [CODE]
    appstate App2BaseState ()
    wMainWindow = App2 // or whatever the declared name of the App2 is
    DefaultBaseState () // call the normal DefaultBaseState
    [\CODE]
    Then anytime you want to invoke or use the other application in a script you simply call the function App2BaseState ()

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

 

 

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:42 PM.

Copyright BetaSoft Inc.