SilkTest Question:

Download Job Interview Questions and Answers PDF

Does anybody know the escape sequence for space in Silk Test?

SilkTest Interview Question
SilkTest Interview Question

Answer:

Does anybody know the escape sequence for 'space' in Silk Test?
For eg :
On the cmd line I have to execute an exe, the location of which is : C:Program Filesxyzabc.exe
Now I need to escape the " " in 'Program Files'.


Answer1:
One thing is, you can use as C:Progr~1xyzabc.exe
Second one is give like myWindow.TypeKeys(" ")
Or just enclose the whole cmd in "". This will handle the space, I think this is your issue?
like:
string sCmdLine = "C:Program Filesxyzabc.exe"
Sys_Execute(sCmdLine)

Answer2:
You can use the command line with quotes when you have a long file name. so, if you need to execute "C:Program FilesMyProgProg.exe"
you can pass the quoted string :
""C:Program FilesMyProgProg.exe""

and it should execute Prog.exe correctly.

Answer3:
Might need to mix your quotes to make that work, like:
"'C:Program FilesMyProgProg.exe'"

Download SilkTest Interview Questions And Answers PDF

Previous QuestionNext Question
On the test GUI there is Cancel button and the hot key for that is Alt-c?How to write the single silk statement in two lines?