Q. what do you call the window testdirector-testlab?
|Q. How do u do batch testing in WR & is it possible to do in QTP, if so explain?|
A. You can use Test Batch Runner to
run several tests in succession. The results for each test are stored in their
Using Test Batch Runner, you can set up a list of tests and save the list as an .mtb file, so that you can easily run the same batch of tests again, at another time. You can also choose to include or exclude a test in your batch list from running during a batch run.
|Q. How to Import data from a ".xls" file to Data table during Runtime.|
A. Datatable.Import "...XLS file
DataTable.ImportSheet(FileName, SheetSource, SheetDest)
DataTable.ImportSheet "C:\name.xls" ,1 ,"name"
|Q.How to export data present in Datatable to an ".xls" file?|
|A. DataTable.Export "....xls file name..."|
|Q. Syntax for how to call one script from another? and Syntax to call one "Action" in another?|
A. RunAction ActionName,
[IterationMode , IterationRange , Parameters] Here the actions becomes reusable
on making this call to any Action. IterationRange String Not always required.
Indicates the rows for which action iterations will be performed. Valid only
when the IterationMode is rngIterations. Enter the row range (i.e. "1-7"), or
enter rngAll to run iterations on all rows. If the action called by the
RunAction statement includes an ExitAction statement, the RunAction statement
can return the value of the ExitAction's RetVal argument.