SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    verify statictext with \'/\'

    Hi, all

    I am trying to verify the statictext which includes "/" tag in a java application. The verify failed everytime. The verify system recognize the '/' as '?' or '/' alternatively.

    Did anyone have a solution to this?

    Thanks.

  2. #2
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: verify statictext with \'/\'

    I think that what you're looking for is a way to tell Silk that the '/' is really a '/' character and not whatever it is that Silk interprets a '/' to be. For example, in a STRING value if you really want a double-quote as part of the string itself you use 2 consecutive double-quotes. Unfortunately, I have not found a way to do this in regard to the slash.

    I run into this big-time in regard to treeview items because my treeview items actually contain slashes but SilkTest interprets a slash as a delimiter between branches. So if you find a solution for the slash character please let me know.

    If you provide more details I might be able to help you solve this particular problem. Windows dec content for the control (class, identifier, and tag value), a sample valid value, and the code you're trying to use.


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

  3. #3
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: verify statictext with \'/\'

    You can replace the "/" character using the StrTran() function with <#Divide> and SilkTest should recognize the character every time.

    See Key names in SilkTest Help for more information.

    Mike

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

 

 

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 07:44 PM.

Copyright BetaSoft Inc.