SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Recording Suggestions

    Please post suggestions for how to record more effectively/accurately.

    Here's two.

    1) Record VERY slowly

    2) Record using Record Actions. This will show you each statement as you record it and you can remove incorrect or unneeded statements before pasting to your script.

    Hope this helps

    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

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

    Re: Recording Suggestions

    Suggestions like: Don't depend on it for everything?

    Sometimes a well placed ListPrint() of:

    GetChildren() and GetContents()

    can be used to capture everything you need to create declarations for transient objects such as popups and tool tips.


    John



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

  3. #3
    Member
    Join Date
    Jan 2002
    Location
    Nuremberg, Germany
    Posts
    77
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recording Suggestions

    If you record testcases after having recorded your window declarations, make sure that the recorded script commands act on the correct windows - sometimes the window tags are not unique enough so that SilkTest says your action took place in window A while you were using window B. Having your tags clear assures that you don't have to change those window names in your recorded script.

    In other words: Do not trust all the window tags that SilkTest records, and review them immediately.

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Location
    Santa Clara, Ca. USA
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recording Suggestions

    My experience is that tags are resolved from the top of your declarations down and Silktest is just looking for a window type match, making index values very unreliable. For several similar windows at a given level I remove index values in tags, and use record identifiers to test whether the proper declarations are being returned. Is there a way to tell silktest to resolve on Win ID before trying to match on index?

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

  5. #5
    Junior Member
    Join Date
    Jul 2001
    Location
    Hamburg,Germany
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recording Suggestions

    Hi,

    you can use the options menu during the capturing window declartions. In the order you check the item (for multitag) silktest use these information to show you the tags.
    Another way is to change the tags after you stop the declaration (press alt + ctrl + del). But this doesn't work well.

    Ulf

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

  6. #6
    Member
    Join Date
    May 2001
    Location
    Santa Clara, CA, USA
    Posts
    57
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recording Suggestions

    Yes I would also suggest dont depend on recording. It would be better if we could write the code though initially it takes a while but then down the line it would be very simplar to tweak the code as and when required. But definately we could use this tool would be a very good pointer on how Silk would act on some of the objects in Ur application.
    Bottomline I would say use it but dont depend on it

  7. #7
    Senior Member
    Join Date
    Apr 2001
    Location
    San Diego,CA,USA
    Posts
    108
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Recording Suggestions

    While recording make sure that you set every dialog active before (by clicking on the title bar) taking any action on that dialog.

    before recording make all the necessary changes to the frame file I usually make the tags nesting so that there are very little nesting in the recorded actions.
    for eg
    if the window declaration originally was:
    window dialogbox xyz
    tag "123"
    customwin xxx
    tag "x1"
    customwin x2
    tag "x2"
    TextField Name
    tag "username"
    I will modify it to:
    window dialogbox xyz
    tag "123"
    TextField Name
    tag "x1/x2/username"
    this way code for my set text action looks like:
    xyz.Name.SetText("text")
    otherwise it would have looked like
    xyz.xxx.x2.Name.setText("text")

    recoding slowly is very important make sure agent can keepup with you.



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

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

    Re: Recording Suggestions

    Hold down the ctrl key while accessing the Recorder Option menu item under Options. This will give you access to a checkbox labeled "set cursor to hourglass when behind". When checked, the recorder will change the cursor to an hour glass when it isn't ready for you to perform an action yet.

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

  9. #9
    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: Recording Suggestions

    James!!!

    How in the world did you find out about that little hidden gem?

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

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

    Re: Recording Suggestions

    James rules !!!!!!

    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

 

 
Page 1 of 2 12 LastLast

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:08 AM.

Copyright BetaSoft Inc.