GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Testing Tools  >  SilkTest

 Print  |  
Question:  Silk test Scripts from command line

Answer: How to run the test scripts / projects from command prompt?


December 12, 2007 02:54:01 #1
 sushkumar   Member Since: January 2006    Total Comments: 12 

RE: Silk test Scripts from command line
 
Partner [-complog filename] [-m mach] [-opt optionset.opt] [-p mess] [-proj filename [-base filename]] [[-q] [-query query name] [-r filename] [-resexport] [-resextract] [-r] scr.t/suite.s/plan.pln/link.lnk [args]]


To load SilkTest, type:

partner

To run the test.s suite, type:

partner -r test.s on system "sys1"

To run the test.t script, type:

partner -m sys1 -r test.t

To run the test.t script with arguments, type:

partner -r test.t arg1 arg2

To run the tests marked by the query named query3 in tests.pln, type:

partner -query query3 -r tests.pln

To run tests.pln, and export the most recent results set from tests.res to tests.rex, type:

partner -q -resexport -r tests.pln

To edit the test.inc include file, type:

partner test.inc
     

 

Back To Question