SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Oct 2000
    Location
    Dublin, CA, USA
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I call appstate in SetUpMachine ()

    [-] multitestcase QUIZ ()
    [ ] STRING sMachine
    [ ] list of string lsMachines = {"PTK-183"}
    [ ] // Connect to all machines in parallel:
    [ ]
    [-] for each sMachine in lsMachines
    [-] spawn
    [ ] SetUpMachine (sMachine, , appstate none) //***ERROR)
    [ ]
    [ ] rendezvous
    [ ]
    [-] for each sMachine in lsMachines
    [-] spawn
    [ ] SetMachine (sMachine)
    [ ] Quiz1 ()
    [ ]
    [ ] rendezvous
    [ ]
    [ ]
    [ ]
    [-] Quiz1 ()
    [ ]print ("America")

    ================================================== ===================

    Sir,
    If I call "appstate none", on SetUpMachine (), It's giving error,
    How can I call appstate then? thanking you,

    Shafi.


    ------------------
    HyderFatima

  2. #2
    Member
    Join Date
    Nov 2000
    Location
    Tampa, FL USA
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I call appstate in SetUpMachine ()

    I've not used this, but according to the doc, the app state must be a STRING. Try
    [] SetUpMachine (sMachine, , "none")

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

  3. #3
    Guest

    Re: How can I call appstate in SetUpMachine ()


    ====
    SetupMachine(STRING sMach1, WINDOW wMainWindow optional, STRING sAppState optional)
    ====

    The sAppState argument is optional. If you want an appState of "none", do not pass anything to the sAppState parameter.

    ------------------
    Tony Mrozinski
    Sr. Software Test Automation Engineer
    Residential Access Division
    Intel Corporation

  4. #4
    Junior Member
    Join Date
    Oct 2000
    Location
    Dublin, CA, USA
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I call appstate in SetUpMachine ()

    Thanks lot Tony,
    Why don't you find job for me in Intel, Your company will be Great! take care...

    Hyder

    ------------------
    HyderFatima

  5. #5
    Guest

    Re: How can I call appstate in SetUpMachine ()

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>
    Why don't you find job for me in Intel, Your company will be Great!<HR></BLOCKQUOTE>

    Though still employed, I myself happen to be looking for a new job at other companies. Just trying to stay one step ahead of the axe. Others have not been so lucky...

  6. #6
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I call appstate in SetUpMachine ()

    Just a small correction.

    Not specifying an appstate to SetUpMachine () uses DefaultBaseState.

    You can define an appstate which doesn't inherit and doesn't contain anything, and use that, "none" doesn't work propertly.

    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.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 09:19 AM.

Copyright BetaSoft Inc.