SilkTest: Working with services
@ Th, 27 December 2007, 16:57There is an excellent blog post about how to work with Windows Services in SilkTest. You can find it here.
However, later author says, that in order to work with services which display names consist of two and more words (e.g. “Windows Time”), you should use their names instead of Display Names.
Fortunately, this is not the only one method. Using Name instead of Display Name isn’t that good, because names are short and sometimes it is hard to understand which service is used.
In order to work with two and more named services, you can put its name in quotes.
LIST OF STRING lsOut
SYS_Execute ("net start ""Windows Time""", lsOut)
ListPrint(lsOut)
Genka
04/24/2008 02:11:04 PM
test comment
Reply
Genka
04/24/2008 02:11:15 PM
test answer
Reply
You must be logged in in order to post comments
