Software Testing Social Network

Free Software Testing Tutorial and Quality Assurance Portal

Home Blog navigation Category Testing Tools Blogs

Welcome to SQAT Blogs!

Category >> Testing Tools Blogs
Apr 16
2010

QTP Functional Testing Methodology

Posted by QTPExpert in QTP Functional Testing Methodology

QTPExpert

Each Test case is built using a series of Quick Test Professional Functions. Each function executes Quick Test Professional code to input data onto a screen.
Each object in the Quick Test Professional Function resides in the Object Repository, thus allowing Quick Test Professional to identify all fields in the application.
•    Each test case uses functions. Each function is either an applet on a screen or a whole screen depending on the amount of fields.
•    Each function is named AUT_Screen Name e.g. MyApps_Close_Application
•    Every field/object on the screen or applet must be learnt into the object repository and renamed where required to a more meaningful screen name.
•    Each function library must reside as .vbs file
•    All functions are accessible via the step generator.





Apr 16
2010

What are the Pre-requisites of QTP Automation Process?

Posted by QTPExpert in quicktest professional qtp , qtp winrunner , qtp loadrunner , qtp interview questions , qtp automation framework , object repository qtp , keyword driven testing qtp , descriptive programming qtp

QTPExpert

The following are pre-requisites or dependencies for QTP automation:

•    Knowledge and hands-on experience with the use of QTP;
•    Quality Centre (QC) and QTP installed and configured;
•    QC and QTP are integrated;
•    QTP Add-Ins are installed (if required);
•    QC user groups are defined and granted access to Quality Centre projects;
•    The application or product is in a stable state;
•    Creation of new automated scripts requires existing manual test cases to have been executed successfully.  This task is performed by the application tester or business representative and is performed prior to handover to QTP automation.
•    The manual test cases must have been executed successfully and that there are no other changes in the application.  Existing automated scripts can be updated directly to reflect the changes as part of maintenance releases.
•    All test cases must start and end at the same point. This is normally the First screen of the application. This allows for test cases to be batched together into a test suite.
•    All environment, software or data table changes must be advised to the automated testing team. There will potentially be an impact on the running of automated test cases with the introduction of these changes.
•    The test cases must not be data dependent.  All data required in the test case must be created in the test case. In the event that data cannot be created and the test case is data dependent, the data must be able to be restored, or manipulated back to the initial state after a test case updates the data. This then allows for any test case to be rerun at anytime


Existing manual test cases exist in QC in the standard format (see the QC user guide) and a copy of the test case to be automated are placed in the regression folder alongside any existing automated scripts. Refer to Section 6.1 for further information regarding Manual Test Cases.

Oct 03
2009

Web application performance testing using QTP

Posted by QTPExpert in Untagged 

QTPExpert

QTP is a functional automated testing tools, and the page loading time or  response time of a web application should be a performance testing thing.But as a matter of fact, QTP can also get page load time statistics by some functions. Because QTP using a VBS script and VBS script is so powerful that it can call any windows of the COM components and objects. So the idea of getting page load time is very simple, that is, we want to use VBS for IE page and get statistics of the page load time.

Implementation steps:

Sep 30
2009

5 Ways to call an external file in QTP

Posted by QTPExpert in Untagged 

QTPExpert

[Method 1]: the use of "SystemUtil.Run" command to support any file format called For example: SystemUtil.Run "C: testfile.txt"
[Method 2]: Use "InvokeApplication" command (invoke the executable program) Call executable applications such as: InvokeApplication "C: Program Files Plus! Microsoft Internet IEXPLORE.EXE"
[Method 3]: The "Excutefile" function calls the external file has three kinds of file formats can be called, and they are *. sql; *. vbs; *. txt suffix three kinds of documents such as: ExecuteFile "C: TEST.VBS"
Note: ExecuteFile function Although it can be used to import an external file into the QTP script, but can not be shared between the various ACTION. If you want it to be shared between the various ACTION external file, please refer to the following cases
[Method 4]: in [resources] option is called an external file in the "resource" option, there are three kinds of file formats which can be called, and they are *. sql; *. vbs; *. txt files of three suffix . Test → Settings → Resources → + Resources by adding an external file, you can in a QTP script to be shared between all of the external file ACTION



Aug 10
2009

QTP Descriptive Programming - How to get number of objects

Posted by Swarup in Untagged 

Swarup

I'm going to explain and show QTP Descriptive Programming (DP) through Google Sets site:

Aug 10
2009

How to get number of pages in PDF file?

Posted by Swarup in Untagged 

Swarup

I created the following simple VBScript for QuickTest Professional to extract number of pages in PDF file: