Can SilkTest Classic testcases be called by using their name strings?
This is achievable by using the @ operator to call these testcase names. By specifying this in a main function, all the testcase names specified will be called.
[ ] string sText [-] main () [ ] sText = "one" [ ] @ (sText) () [-] testcase one () appstate none [ ] Taskbar.Start.Click () [-] testcase two () appstate none [ ] print ("Hi")
Please note: all these testcases must be specified in the *.t file you are using. The example above will only execute testcase one. To run a main function please select run - run.