Skip to main content

Posts

Showing posts with the label QTP Tutorial

HP QTP Tutorial Chapter 8

1 Automation In my previous chapter, I discussed about the features available in Insert Menu, QTP Checkpoints and usage of Output Value features. This chapter covers the features available under Automation Menu option. This chapter explains the following features available under Automation Menu : The features under Automation are very frequently used when you need to do the scripting. You can control your recording, run your test, and update your Test. We will cover most of the features in detail in this chapter.  1.1 Record Recording features work in 2 ways. One when you are starting a new test and want to start recording for generating the Test Script and when you want to enhance existing script for new features in your AUT. I will explain both the mode. We will start with Record for New Test. When you are starting with New Test, and about to start with recording of your scenario, you have to either press F3 or navigate to Automation=>Record. As soon as you have ini...

HP QTP Tutorial Chapter 5

1 Insert The Insert Menu will help you in inserting various verification points, New Steps, Function, and Call to Action etc. While describing the various commands which are available in Insert Menu, I will also be mentioning the hot keys to access some of the commands. See the below screen shot what command is available in the INSERT Menu: 1.1 Checkpoint Let me first describe what a checkpoint is all about. The Checkpoints feature is provided in Automation Tool for simplifying the test case automation where you need to validate the state of the application. For e.g. You might want to test that when you open a web page or form, you will be able to see 5 Input Boxes and 2 Buttons. Out of the 5 Input Boxes, 3 should be editable, 2 should be ready only. Likewise 2 Buttons – 1 will be disabled by default and 1 will be enabled by default. In such a case you can use Tool Checkpoint feature. I hope this now clarify what is a checkpoint and its usage. If you read the QTP documentation i...

HP QTP Tutorial Chapter 4

1 View Menu The View Menu will provide you the options for setting the view of your Test. You can choose to view or hide the various options available under View Menu. The below section will outline the important information on the options of View Menu. See the below screen shot for the options available under View Menu: 1.1 Active Screen The Active Screen is a screen which shows the Screen Shot capture while doing the recording. You will be able to see the Screen Shot, if your QTP Settings allow capturing Active Screen. If you are not able to see the Active Screen after recording is completed, just goto View->Active Screen (Check for a tick mark against this option in View Menu). See the bottom panel where you will see an Active Screen Tab. (See screen shot below) As a best practice, you can enable this option but while saving the Test, do not save Active Screen with your test; it will unnecessarily increase the resources on your drive.  1.2 Available Keywords Thi...