SPONSORS:






User Tag List

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

    Re: Screwy identifiers

    You can also change the way the SilkTest creates declarations by going into Record Declarations and click on the Options button. You can have ID names created based on the Caption (default) or you can use the WindowID which is good if your app uses good internal names, or you can choose to have the naming based on the class of the object so that you have TextField1, TextField2, ect.

    Using the caption seems to be easiest with most applications, but I've found that a lot of web applications that are well made, names based on the WindowID are sometimes easier to use.


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

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

    Screwy identifiers

    User mndds (msacks@cyphermint.com.nospam) posted:

    I've recently started using SilkTest and have encountered a problem
    with identifiers. Instead of giving objects a name that makes sense,
    SilkTest labels them with a text string that logically belongs to an
    adjoining object. While I can figure out where everything is, the
    scripts appear to make no sense. The user manual's notes on change
    the name of an identifier don't make any sense either.

    Has anyone out there encountered this problem and found a way to
    rename objects?

    Thanks for your help.
    Marc Sacks
    QA Engineer
    Cyphermint, Inc.
    msacks@cyphermint.com

  3. #3
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Screwy identifiers

    Silk uses nearest object to idendify the target object if the target object has no visible or definable tag/text.

    That's okay as long as Silk knows what object you are talking about.

    Michael

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

  4. #4
    Member
    Join Date
    Jul 2002
    Location
    Chennai,TN,India
    Posts
    36
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Screwy identifiers

    An identifier is the GUI objectís logical name. By default, SilkTest derives the identifier from the objectís actual label or caption, removing any embedded spaces or special characters (such as accelerators).

    If the object does not have a label or caption, SilkTest constructs an identifier by combining the class of the object with the objectís index. The index is the objectís order of appearance, from top left to bottom right, in relation to its sibling objects of the same class.

    Note that the identifier is arbitrary, and you can change the generated one to the unique name of your choice at recording phase itself by using Ctrl+Alt option.



    ------------------
    Babu NM
    Babu NM

  5. #5
    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: Screwy identifiers

    You just change the name of the object in the declaration. The names are just what SilkTest see's as the most logical name and are basically suggestions. You can name them whatever you want.

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

 

 

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

Copyright BetaSoft Inc.