Automation Testing

Automation is the buzz work in today’s testing world and every one are moving to automation and in the market there are many automation tools and the popular are HP QTP, IBM RFT, open source tools like Selenium and many others.

In order to enter the field of Automation Testing let us understand what automation is all about and why automation is needed. Find below some quick glance on Automation.

1. Overview of Automation: Automation is preferred in below cases.

-    Redundancy
-    Avoid Manual misses and assumptions
-    Reduce Cost
-    Reduce execution time
-    Unattended automation
-    Good ROI [Return On Investment]

2. Overview of  Framework: Framework is a concept/template/structure.


3. Types of Frame Work

Data Driven Framework

Depends on Test Data
User can provide the Test Data
QTP can auto generate the test data as well

Keyword Driven Framework

This require excel sheet till QTP version 9.2
This is in-built in QTP version 9.5
Sample script:

function func_add (i,j)
i=2
j=3
z=i+j
msgbox z
End function
Functions are stored in Function.qfl

Hybrid Framework

This is the combination of Data Driven and Keyword Driven.

How to set Internet Explorer as the default browser in Windows XP SP1 and above for QTP

It has been seen that if there are more than one browser in a machine and unknowingly if a  different browser is made default than Internet Explorer then when executing a script in QTP which requires to open an application in a browser it would become difficult if you use QTP versions less than version 10.

There is a way to set the Internet Explorer as default browser. Following are the ways to set the browser.

1. This can be done by using the Set Program Access and Defaults feature in windows to set the default browser. To set Internet Explorer as the default which also repairs the file association settings try the following method:

From the Control Panel click on Add/Remove Programs then choose the Set Program Access and Defaults button. Click the Custom button once. From the list that appears, select Internet Explorer and then click the OK button.

2. Another way is to directly click Start and Run. In the Run window type control appwiz.cpl,,3
The Add or Remove Program window will open.  Click the Custom button once. From the list that appears, select Internet Explorer and then click the OK button.


/* Tynt Insight tracker ----------------------------------------------- */