SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    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: generic tag for BrowserChild

    Yes you can either use the TonyM approach "*"
    or If the caption can be read then define a function to determine what the tag will be and then call that function in the tag.




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

  2. #2
    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: generic tag for BrowserChild

    If your tag is going to change quite a bit that will cause the use of the wildcards "*" or "?" to not work well (sample tags: Customer-A, My Favorite Customer, The Best Customer I Ever Had, First Class Customer, and so on), then you may want to think of using a variable for your tag. Just like the way you would do in localization testing. Put all your known tags in a separate file.
    I believe the Online Help has topics on localization.


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

  3. #3
    Senior Member
    Join Date
    Oct 1999
    Location
    san jose, CA
    Posts
    172
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: generic tag for BrowserChild

    Thank you all for the prompt reply. Actually my tag will change completely sometimes ..So I might have:

    1)tag “Yahoo!”
    2)tag “welcome to msn”
    3)tag “generic tag for browser child”
    4)tag “XXXXXX”

    So now I know I can’t use wild card, the Silk version that I am using is 5.03 and the help has nothing about localization…any other ideas???

    Thanks a million
    Imad


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

  4. #4
    Senior Member
    Join Date
    Oct 1999
    Location
    san jose, CA
    Posts
    172
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    generic tag for BrowserChild

    Is it possible to pass a tag to the BrowserChild after you launch your Browser. This is my dilemma. I have a web site template that can be used for different customers. What I am interested in is testing certain functionalities of some standard objects which is in the template. The caption will change if I record it between customer A and customer B and let us say when we get customer X in the future. So my question is “Is there a way to have a generic tag for the BrowserChild in my inc file???”

    Thanks a lot!!
    Imad


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

  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: generic tag for BrowserChild

    You can use wildcards in your tags. So for your tag, you can have:

    tag "Customer *"



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

  6. #6
    Member
    Join Date
    Oct 2001
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: generic tag for BrowserChild

    Why can you not use multitags? If you put all of the captions into one window declaration, will this not have the desired effect as Silk will be able to recognise all of the windows using that one declaration.

    Paul

    ------------------
    Paul Tucker
    Merit AT
    www.merit-at.com
    Paul Tucker
    Merit AT
    www.merit-at.com

  7. #7
    Senior Member
    Join Date
    Oct 1999
    Location
    san jose, CA
    Posts
    172
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: generic tag for BrowserChild

    Multitag will not work because I will not know what the next tag will be. May be I wans’t clear of what I would like to do, let me try to explain it in a different way. Let us say today I recorded my inc file against yahoo so what I will have is:

    [-] window BrowserChild HomePage
    [ ] tag "yahoo!"
    [+] HtmlTextField QueryString
    [+] multitag "#1"
    [ ] "$searchString"
    [+] HtmlPushButton Go_Button
    [ ] tag "#1"
    [-] window BrowserChild FirstFlip
    [ ] tag "yahoo!"
    [-] HtmlLink Link
    [-] multitag "selecting (52 docs)"
    [ ] "#2"
    [ ] "$javascript:document.
    linksForm.submit()[1]"

    So now what I whould like to do is make the tag “yahoo!” generic (variable) so I can replace it with the next customer which I don’t know who ..By the way I have multitag on while recording but I get one tag for the BrowserChild am I doing something wrong??!!.

    Thanks alot for the help in advance..
    Imad


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

  8. #8
    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: generic tag for BrowserChild

    You're right imad, the Online Help does not show any topic about localization.
    I guess I must have seen it in one of their Manuals then.
    Have you tried submitting a "Request" to your Developers to see if they can change the caption of your BrowserChild window to say something like "Customer - YaHoo", "Customer - eBay", etc. In other words, having a common thing in the caption/title text so you may be able to use
    the wildcard characters in your tag? I hope that's not too difficult for you to ask. It shouldn't be too difficult for the programmer(s) to implement.
    Otherwise, you'll be back checking your application manually first just to see what caption is showing then modifying your multitag each time a new caption is found.


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

  9. #9
    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: generic tag for BrowserChild

    Why can't you just open that web page and get the caption which will become your tag then?

    Or am I missing something here?

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

  10. #10
    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: generic tag for BrowserChild

    I tried creating a function that calls the GetCaption() method and used this as the tag but it gives me a Stack Overflow error.

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

 

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

Copyright BetaSoft Inc.