SPONSORS:






User Tag List

Results 1 to 9 of 9

Thread: Setup Test

  1. #1
    Junior Member
    Join Date
    May 2003
    Location
    Chennai,TN,India
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Setup Test

    How to test a setup in silk test?
    How do i include the setup.exe in test frame?


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

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    Are you wanting to test an install of your application?

    If so, which installer is being used. There have been a number of discussions here on this subject. Use the search engine and search on the name of the installer you are using.



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

  3. #3
    Senior Member
    Join Date
    Oct 2002
    Location
    Calgary, Alberta, Canada
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by balajis:
    How to test a setup in silk test?
    How do i include the setup.exe in test frame?
    <HR></BLOCKQUOTE>

    I would set it as a variable or constant in the frame file, then use "start()" method to begin your test.

    i.e.: in your frame file have the path:
    [ ] // CONSTANTS
    [ ]
    [ ] string sInstallExe = "C:\Temp\setup.exe"

    in your test case:
    [ ] Agent.SetOption (OPT_VERIFY_UNIQUE, FALSE)
    [ ] MainWin ("*").Start(sInstallExe)
    [ ] Agent.SetOption (OPT_VERIFY_UNIQUE, TRUE)

    //Note - using start like this is a bit of a hack, but it works. Since there is no MainWin for setup.exe, we use a wildcard, and turn the agent option to verify if the object is unique off. Then we turn it back on in case you need to use that Agent option later.

    I would then set the default base state to the first window of the install program, and capture the windows one by one in the frame file.

    Hope that helps.



    ------------------
    Beware of bugs in the above code; I have only proved it correct, not tried it."
    --Donald Knuth
    Beware of bugs in the above code; I have only proved it correct, not tried it.
    --Donald Knuth

  4. #4
    Junior Member
    Join Date
    May 2003
    Location
    Chennai,TN,India
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    I tried to start the setup.exe by giving
    MainWin("*").Start(Install)
    in my testcase.
    It starts the installation fine but after starting it gives a error message

    *** Error: Window '[MainWin]*' was not found

    How can i get rid of this error?

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    try MainWin().Start(install)

  6. #6
    Junior Member
    Join Date
    May 2003
    Location
    Chennai,TN,India
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    I tries this it says
    *** Error: Window'[MainWin]' was not found

  7. #7
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    Try running it from the Run dialog. I'm attaching declaration and function to invoke the Run dialog and type in executable.

    1068651705.t
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  8. #8
    Super Member
    Join Date
    Jul 2003
    Location
    Boulder, CO
    Posts
    1,276
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    You can also use SYS_EXECUTE and a shortut. Look in other recent posts from me for details.
    Chris R Mead

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

  9. #9
    Junior Member
    Join Date
    May 2003
    Location
    Chennai,TN,India
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Setup Test

    Thanks for ur suggestions.
    I tried SYS_EXECUTE to launch and it is fine.
    Once again thanks for u all.

 

 

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

Copyright BetaSoft Inc.