SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Usage of symbols

    Hi,
    The variables are handling/using differently in SilkTest. Assume that sTest is a variable. What is the difference between below representation...?
    {sTest}, "{sTest}", @(sTest), $sTest

    ------------------
    Thanks & Regards,
    Palani.
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  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: Usage of symbols

    Palani,

    There are a number of different ways to work with variables in Silk. Read about the different operators and tagging. That will answer many of your questions and things will begin to make sense for you. The sheer volume of your recent postings suggests that you are grasping a great deal of what can be done with this tool. That is great!

    As for your specific examples:

    Use curly braces to place a variable in a string.

    The dollar sign is typically placed in a tag representing the WindowID, although it is also used when working with Symbols. Read the help on "Symbol" and you'll see how that works.

    The @ operator lets you refer to functions and variables indirectly, by name. While it is very rare, you can also use @ in a tag to refer to an object's location by coordinate; @(x,y). You can use @ to cast a data type as another type. For example, I want to pass this string {sNameOne} in as a menuitem to click on name.

    I hope this helps you a little.


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

  3. #3
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Usage of symbols

    Hi DJGray,
    Thanks for your reply. I appreciated your answers, are valuable to us.
    Previously I have worked with WinRunner and Visual Test. Each tool is having some advantages and disadvantages. Now I'm just comparing Silk Test by these tools....So that sometimes I have to post more questions.

    ------------------
    Thanks & Regards,
    Palani.
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

 

 

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 05:34 AM.

Copyright BetaSoft Inc.