KabInfo.Net                                                         



 

Q.What are batch tests and how do you create and run batch tests?

A.  You can use Test Batch Runner to run several tests in succession. The results for each test are stored in their default location.

Choose Programs > QuickTest Professional > Tools > Test Batch Runner from the Start menu. The Test Batch Runner dialog box opens

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 do you store and view batch test results?

A.When you are ready to run your test batch, click the Run button or choose Batch > Run. If QuickTest is not already open, it opens and the tests run sequence begins. Once the batch run is complete, you can view the results for each test in its default test results folder (<test folder>\res#\report).
Q.What are the virtual objects and how do you learn them?
A. Your application may contain objects that behave like standard objects but are not recognized by QuickTest. You can define these objects as virtual objects and map them to standard classes, such as a button or a check box.
Q.How to record the function Key Strokes?

A By using SendKeys method

For Ex:

 Set WshShell = CreateObject ("WScript.Shell")

 WshShell.SendKeys "{F1}"

Q.What are Environment variable?

A.  Environment Variables are two types

            1. Built-in  

2. User-defined Internal

3. User-defined external

  • Built-in variables---- that enable you to use current information about the test and the QuickTest computer running your test. These can include the test name, the test path, the operating system type and version, and the local host name.
  • User-defined internal—variables that you define within the test. They are saved with the test or component and accessible only within the test or component in which they were defined.

User-defined external—variables that you predefined in the active external environment variables file. These variables are read-only in this context.