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.
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???”
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.
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:
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??!!.
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.