KabInfo.Net                                           

 

Q.  IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
A. u can click on the icon in the tree view to view the result of every action
Q. How the exception handling can be done using QTP
A. It can be done Using the Recovery Scenario Manager which provides a wizard that gudies you through the process of defining a recovery scenario. FYI.. The wizard could be accessed in QTP> Tools-> Recovery Scenario Manager .......
Q. How many types of Actions are there in QTP?
A. There are three kinds of actions:
non-reusable actionan action that can be called only in the test with which it is stored, and can be called only once.
reusable actionan action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.
external actiona reusable action stored with another test. External actions are read-only in the calling test, but you can choose to use a local, editable copy of the Data Table information for the external action.
Q. I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?
A. U can still make the notepad open without using the record or System utility script, just by mentioning the path of the notepad "( i.e., where the notepad.exe is stored in the system) in the "Windows Applications Tab" of the "Record and Run Settings window.
Q. How do you plan test automation?
  1. Prepare the automation Test plan
  2. Identify the scenario
  3. Record the scenario
  4. Enhance the scripts by inserting check points and Conditional Loops
  5. Incorporated Error Handler
  6. Debug the script
  7. Fix the issue
  8. Rerun the script and report the result.