You Are Browsing ‘Testing Tools Blogs’ Category

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

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

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: using createobject...

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

I’m going to explain and show QTP Descriptive Programming (DP) through Google Sets site:   The goal of the present QTP tutorial is to describe: How to get number of controls (Links, Edits, Images, etc) with QTP DP.     Let’s investigate Descriptive Programming on examples. First of all, we should understand what Descriptive Programming means: What is QuickTest Professional Descriptive Programming (QTP DP)?   Answer: QTP DP is a run-time processing of objects which are not located in QTP Object Repository.     I’ve...

I created the following simple VBScript for QuickTest Professional to extract number of pages in PDF file: ‘ Function GetNumPagesInPDF returns the number of pages in PDF file ‘ FileName – path to given ODF file ‘ If a file isn’t found, then -1 will be returned Function GetNumPagesInPDF(FileName)     Dim oPDFDoc     Set oPDFDoc = CreateObject( “AcroExch.PDDoc” )       If oPDFDoc.Open( FileName ) Then         GetNumPagesInPDF...