February 12, 2008
Tip15 - Set tag dynamically
Sometimes user may want to assign the tag dynamically at runtime. Replace the tag with a function call. See the Example.
Two dialogs have the same label or caption, but do not have identical contents. For example, one Open dialog has a Name text field and the other Open dialog has a Search pushbutton. See the Tip9.
For more Info, Pls see the Silktest help-> Index-> Multitag statement ->Multitag statement
Example:
[-] HtmlTable GridTable
[ ] tag "{GetTableTags()}"
[ ]
[-] String GetTableTags()
[ ] return (sGridTableTag)
0 comments:
Post a Comment