Wednesday, August 17, 2011

What is the Difference between Insure and Ensure?

The difference between insure and ensure is subtle, especially when one throws the related word “assure” into the mix. Some people have strict rules about the difference between insure and ensure, with guidelines for appropriate usage, while other people use these words more or less interchangeably. The important thing to know is that, most of the time, interchangeable use is correct, except in very special circumstances, which we will discuss in a moment. Thanks to the fact that these words sound similar, if you accidentally mix them up in a spoken sentence, someone is unlikely to call you out on the difference between insure and ensure.

Assure, insure, and ensure all come from the same Latin root which means “to make secure.” Assure entered the English language first, in the 14th century, with “ensure” and “insure” following in the 1600s. All of these words have very similar meanings, suggesting a sense of making something certain or guaranteeing something.

The main difference between insure and ensure is that you insure something to be prepared in case something bad happens, while you talk about taking steps to ensure that something will (or won't) happen. For example, you insure your house against water and fire damage, but you put snacks in your car to ensure that you will have snacks if you get stuck in traffic. “Assure” is usually used in reference to putting someone's mind at rest and guaranteeing that something will happen, as in “I assured Sally that the memo would be finished by 3:00.”

Because the difference between insure and ensure is subtle, many people use these words interchangeably, unless they are talking about an insurance policy, an agreement with a company in which the company agrees to pay out a set sum in the event of a problem. You insure houses, cars, and other properties, and you can also purchase health and life insurance to guarantee payouts in the event of injury, sickness, or death. In some nations, people refer to life insurance as life assurance, stressing the idea that a payout will be guaranteed at some point because everyone has to die eventually.

Here's an example of all three words used in a sentence: “Joe assured his wife that he would insure their home to ensure that earthquake damage would be covered.” In this case, the protagonist of our brief story assures someone, putting her mind at rest so that she doesn't have to worry by affirming that something will definitely happen. He claims that he will insure his property against damage from earthquakes, preparing for an unfavorable event, to ensure or be certain that if their home is damaged in an earthquake, they will be able to rebuild or repair it.

Monday, August 15, 2011

QTP Framework

To start the testing with QTP, there is an important concept to understand i.e. framework. Frameworks basically define the way to handle the different operations in different methods.

As we all known we can create the test in two ways in QTP i.e. by recording and by scripting. We should also know that how we can improve the quality of test by using Framework concept. Basically QTP supports three kind of framework i.e. Linear, Modular, and Keyword Driven Framework.

In all three frameworks, Linear Framework is very easy and catchy by all newbie and beginner of QTP. Basically Linear Framework deals with individual script which is recorded under one Action and running individual. I think we all done this thing in very first when we get the QTP but I’m very sure, not all one know that we created and executed the test under Linear Framework. Anyway this is not big deal. I was also not aware when I get the QTP first time. So this is very simple and easy way to create the test by navigating through the application. But by using this method there are some limitations which we can not cross. Sometime when we test some business processes in one application, we may feel that some operations we repeat in all Linear Framework Script. To handle this situation we go with Modular Framework which solves this kind of problem by dividing the single test in multiple part or module.

In modular framework, tester basically divides the test in different parts which give the facility to use the different part of scripts in any tests. That solves the many problem of repeataion of test and gives the facility to make the script reusable? So in one sentence, Division of Linear Framework script in different parts called Modular Framework.

To understand the keyword driven framework, tester should know the basic of programming because it deals with function. In programming, Function is an important part of programming as they allow you to create chunks of code that performs a specific task. Basically we create the functions in the one test and calling these functions as keyword in other tests therefore we are calling keyword driven framework. This is very important and useful framework to deal and handle many critical tasks in testing through QTP.

Tuesday, August 9, 2011

QTP Add ins


QTP supports various applications, But it won't support all the applications by default. We need to load the corresponding add-in.

For example, if you are going to use QTP for a java application you need to load java add-in.

This add-in concept will help QTP to support wide-range of applications without compromising the performance. And, it will improve object identification reliability.

Find below the Add-in list supported by QTP. If you know any other add-in available for QTP, you can mention it in the comments section.


In previous versions of QTP, only few below mentioned add-ins will be available as default support.


Default Support
1. Standard Windows applications (invisible in the add-in manager)
2. Web objects / Applications
3. ActiveX controls
4. Visual Basic applications

In the previous versions, below add-ins should be loaded separately.

Additional QuickTest add-ins Support
1. Java
2. Oracle
3. SAP
4. .NET
5. Web Forms
6. Siebel
7. PeopleSoft
8. Web services
9 Main frame (Terminal Emulator)

You can select the required Add-ins while starting the QTP.

The below add-in manager screen will appear when opening QTP. In the screen you can select the required add-ins using the check-box.

If you don't want to see this add-in Manager again, you can uncheck the "Show on Startup" checkbox.



You won't see this add-in Manager if you have unchecked "Show on Startup" checkbox.


To make it appear again, you need to check the "Display Add-in Manager on Startup" checkbox in the Options Dialog (Tools->Options).



Object Identification window (Tools->Object Identification...) will allow to handle properties of Test Object classes available in each loaded add-ins.

Whenever we open an existing Test, we should load all the add-ins used in that particular Test. Otherwise the below message will be shown.

"The following add-ins were associated with your test but are not currently loaded."

Difference between qtp licenses

The seat license is specific to computer on which it is installed. Each installation of quick test pro requires a distinct permanent license key. When a QA Engineer selects seat license option during initial software installation, he/she also gets a 14 day evaluation period during which the company much request a QTP license code for a permanent license from HP/Mercury customer service.

The concurrent license is specific to organization on which it is installed. Each license entitles the company to one additional concurrent user running automated testing tool. There is no limit to the number of qtp 9.1 installations around company, but a special concurrent license server regulates the number of computers that can run a copy of quick test professional at any time.