Skip to main content

Posts

Showing posts with the label HP QTP Best Practices

HP QTP Tutorial - Chapter 9

1 Resources In my previous chapter, I discussed about the features available in Automation Menu including Run and Record Settings. This chapter covers the features available under Resource Menu option. This chapter explains the following features available under Resource Menu : Some of the features under Resources are very frequently used when you need to do the scripting and manage your Shared or Local Object Repository. You can manage your Object Repository; Associate your OR, Add Recovery Scenario etc. We will cover most of these features in detail in this chapter. 1.1 Object Repository When you are doing your scripting and want to view the Object Repository which is attached with the current Test Script, you can access it using Ctrl+R or by navigating to Resources->Object Repository. : You will see a below screen which is having multiple commands for modifying and adding new test object in your local or shared object repository. This is one of the screens which is ver...

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...

HP Quick Test Professional Tutorial Chapter 2

1 FILE Menu In the first series of this article you have seen the usage of various commands available in File Menu option. This paper is in continuation of my previous series and in this series we will mainly the File->Settings option. I have not included Setting explanation in the first series because understanding Setting is very important for real time usage. You will visit this option very frequently and you must understand its usage in a better way. 1.1 Setting To open the Settings Dialog, Click File->Settings (as shown below). We will see each useful option available in the above dialog which helps you a lot while you are developing your test script. I am going to explain about each option such as Properties, Run, Resources, Parameters, Environment, Web, Recovery, Local System Monitor (new in 10.0). 1.1.1 Properties In the Properties , many of the static things are self explanatory. You can use Properties for: · Adding or removing the associated add-ins for cu...

HP Quick Test Professional Tutorial Chapter 1

In this article I will explain how you can make use of File Menu option available in HP QTP. This is a very basic usage and I thought to start the Basic Series so that newbie's can learn QTP by following the complete series on this Blog. I will publish the Series subsequently. Next Series I will explain only about the File->Settings option which is very useful in real time usage. 1 FILE Menu 1.1 New Menu If you want to either create a new test, business component, or function library you have access the File->New-><<Sub Option>>>. Figure is shown below: 1.1.1 New Test New Test option is used to create a New Test Script. You can create a New Test by pressing Ctr+N, or click File->New->New Test . Once you do above operation, you will see a blank Test Script Page where you can record or write your VB Script code. 1.1.2 Business Component Business component is mainly used when you are planning to use Business Component Testing model and ...