Problem with multitag in window declaration
I have a window declaration as follows:-
[-] window JavaDialogBox Performer1
[-] multitag "Performer"
[ ] "Adapter"
"Performer" was the original tag & I have added tag "Adapter" by making it multitag.
Now, when I start running my batch of automated testcases, & when the "Adapter" window appears for the first time, that window is not recognized by SilkTest. But if we abort the batch run & start it again, then that time onwards the "Adapter" window is recognized without any problem.
Is it the problem with multitag? This is happening in SilkTest 5.0.3 & also with SilkTest 6.5.0. Does anybody know the solution to this problem?
Re: Problem with multitag in window declaration
I am not sure why you get this error, but instead of using a multitag, you use the pipe charater (|) to concatenate all the tags.
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">[-] window JavaDialogBox Performer1
[ ] tag "Performer|Adapter"</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">ST will evaluate the tag as follows (taken from the help)
Tag What happens at runtime
"#xyz|MyWin" A syntax error results, because #xyz is an illegal tag. The MyWin tag is never evaluated.
"Yes|OK" Yes is used when both Yes and OK exist and are unique.
"Yes|OK" OK is used when only OK exists.
"Yes|OK" OK is used when both Yes and OK exist, but Yes is not unique.
Hope this helps