Does anybody know the escape sequence for space in Silk Test?
Submitted by: AdministratorDoes 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'"
Submitted by: Administrator
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'"
Submitted by: Administrator
Read Online SilkTest Job Interview Questions And Answers
Top SilkTest Questions
☺ | How to search for html link? |
☺ | How to read .xls file contents without using the ddt wizard? |
☺ | Need help regd. silk test runing thr .bat file on cmd prompt? |
☺ | How to launch 2 web application windows simultaneously thru Silktest? |
☺ | Can SilkTest run on Mac? |
Top Application Program Categories
☺ | AutoCAD Interview Questions. |
☺ | Microsoft Office Interview Questions. |
☺ | Microsoft Outlook Interview Questions. |
☺ | Microsoft Excel Interview Questions. |
☺ | WPF Interview Questions. |