SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Agent Option (OPT_VERIFY_UNIQUE, FALSE) ?

    Does anyone know any scenario where the default
    Agent.SetOption(OPT_VERIFY_UNIQUE, TRUE)
    is needed to be set to FALSE? And if so, can you please provide a sample or two?

    Thank you very much!

  2. #2
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Agent Option (OPT_VERIFY_UNIQUE, FALSE) ?

    We have this option permanently set to false; this is because in our aut we have thousands of different windows, many of which have similar captions, many of which vary at runtime in a way that is impossible to predict from silktest; so we have ended up with many many window tags with * in them somewhere (some of the tags are simply "*" because the caption of the window varies completely from instance to instance.
    As a result, a lot of our scripts have to assume that the right window is active at the right time, but that's as good as we can get.
    Anyway, if we had this option set to true, silktest would repeatedly complain that the window hadn't been uniquely identified and stop the script.

  3. #3
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Agent Option (OPT_VERIFY_UNIQUE, FALSE) ?

    Hi Vince,

    I wonder why Segue decided to provide the user the option of setting this Agent Option to FALSE if all he/she would get is an error!? hmmmm...

    When you say some of your tags are just plain "*", doesn't SilkTest complain about it not being unique? Please explain a little bit more...Thanks.

    [This message has been edited by Gilbert (edited 08-26-2000).]

  4. #4
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Agent Option (OPT_VERIFY_UNIQUE, FALSE) ?

    Well, we don't get errors because of this option being set to false, that we know of.
    And when we have a tag that is simply "*", silktest would complain that the tag is not unique except that we have the option OPT_VERIFY_UNIQUE set to false - all that this option should do is to suppress that exact complaint wherever silktest would normally complain.
    What are the errors you are getting?

 

 

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

Copyright BetaSoft Inc.