Recently, Tarun Lalwani released a beta version of powerdebug, a third-party debugging auxiliary tool customized for qtp:
Http://knowledgeinbox.com/products/powerdebug/powerdebug-beta-now-available-for-download/
Powerdebug is a plug-in Debugger for qtp. It provides a debugging IDE and enhances many functions, such as debugging code loaded with executefile, execute, and executeglobal, enhanced the display o
Because the default programming language for QTP is VBS, and VBS is a relatively limited scripting language, there are a number of features that are not well implemented when writing automated test scripts. In contrast, C # is a high-level programming language that enables functionality in most Windows environments. So we can use C # to make it impossible or cumbersome to implement under VBS.This article explains how
We have studied a period of qtp (quick test preparation sion). The recording method of qtp is summarized as follows:
Prerequisites: the Bata version of the system to be tested is also completed, and the test script is designed.Implementation Method: You can directly use qtp to record the system, follow the test style book, and then add a checkpoint.Features:
Summary of QTP connection to oracle Database
First of all, because many friends in the Group say that QTP is a little troublesome to connect to oracle, I am doing a complete tutorial on connecting to oracle. If you want to learn it, you can refer to it. The specific method is as follows:
1. No matter what language it is, it is essential to connect to the oracle client, which cannot be saved; I use 10g_win32
the test batch runner tool, but there is no report after running. HP has another tool called MTM.(Multi test Manager).
Q:In qtp, how to set other browsers (XP system, when using IE to access the program, every time the system always prompts to block the installation of ActiveX plug-in, you need to manually install. But this process is recorded to qtpThe playback is successful. When I parameterize a large amount of data for an input box, some will fa
Download the PDF version of this document:
Http://files.cnblogs.com/testware/QTP_Framework_Saffron.pdf
QtpTest Framework
------- By saffron
Directory
Reasons for testing the framework... 2
I. Solution:... 3
Ii. Framework runtime diagram... 4
3. project structure... 5
Iv. script writing specifications... 6
V. Script compiling example... 8
Causes of the test framework
1. The script file is too large:
X is mainly caused by two reasons: first, the object library file. By default, each empty objec
LoadRunner 8.1, qtp 9.2/qc9.0, testdirector 8.0, and rational robot 7.0 are installed in Windows XP.
LoadRunner 8.1
Run the menu samples setup and generate the mercurywebtours website. The user name and password of the website are Jojo/bean. You can register first, and then log on.
The Web server is a built-in Xitami with the directory c: \ Program Files \ mercury \ LoadRunner \ webtours. The password file Xitami. Aut contains the Administrator accoun
We often use registeruserfunc to register the specified test object when writing a qtp user-defined function. However, if you need to register many test objects, You need to register them one by one, which is troublesome. Anshoo Arora introduces a method for batch registration:
Http://relevantcodes.com/registeruserfuncx-register-methods-to-all-qtp-objects-automatically/
The key to this method is to use the
in QTP in whichDescriptionThe purpose of the object is based on such a basis:QTPis an automated test tool based on object recognition and there are three ways to manipulate an object:1, using the name of the control already recorded in the object library;2, using descriptive programming;3, usingDescriptionobject. in fact, for 2 and the3the understanding is similar, that is to say, whenQTPin the course of execution you need to give him a description o
QTP10 installation steps are as follows, relatively simple, basically the next step.Installation computer: WINXP + IE8First, install the QTP10.01. Download QTP10 installation files2. Click setup.exe3, installation Home, click the first item, such as:4, if your computer lacks some qtp necessary components, before the QTP formal installation will require you to install the following necessary procedures, foll
The following are the most commonly used features of the QTP (only the menu entry is provided below, others have many entrances, but the functions are the same)1. QTP above menu bar->tools->object Spy (object probe)----multiple portalsFeatures: Captures and views all categories, attributes, and supported methods of an object2. QTP above menu bar->resours->object
1. How to generate or modify SQL statementsUse Insert-> checkpoint-databasecheckpoint to generate a database checkpoint. During the generation process, you must set a query statement and obtain a query result table based on the query statement, the data in this table is the expected data. In the future, when running the script, qtp obtains actual data from the current database based on the query statement, and then compares the actual data with the ex
1. You can use function definition generator to conveniently customize a user-defined function)
2. Built-in function has a higher priority than user-defined function. Therefore, if the same name exists, qtp will first call the built-in Function
3. You can use registeruserfunc to register a custom function as a method for a specific object, or even overwrite the method of the original object ). Unregisteruserfunc
Registration Method: registeruserfunc t
People who use QTP automation know that the report is a very important document, but also the test is passed the certificate, then how to better write log it? Today I open the head, may have to be in the back to update this module content; First, let's give you an example;Function wrt_html (ostr) Dim fso,ologdim filedir ' file path ' on Error Resume nextconst forreading=1,forwriting=2,forappending= 8 ' parameter assignment (1: Read-onl
RSS subscribes to iquicktest (how to subscribe ?)Googlereader subscribe address: http://feeds.feedburner.com/iquicktest
Author: zzxxbb112Time: copyright, infringement required.
Source: http://blog.csdn.net/zzxxbb112
Edit multiple quicktest (r) pro tests and actions at once
We all know that qtp can open multiple function libraries, but qtp users have a very large limit when editing a single script, that
Yesterday, I encountered a strange phenomenon of qtp descriptive programming. The previous script suddenly failed to be verified. After several attempts, I finally found the rule, that is, there is an error in object identification in descriptive programming of qtp. If you have encountered this problem or have a good solution, please advise.
The crime scene is as follows:Define the object with descripti
| 2520711168 | 20bb51ad406405d79aef1c10da6cea01 | H = vi5rkmbc6h2zkqid2dttkbdjfg2nciez |/The download speed may be a little slow because there are few people to download at the beginning. If there are more people to download, it will be faster. We recommend using thunder to download.By the way, we can share a brute-force solution to express connect. If you can enable express connect, it will speed up a lot.Of course, this is also related to the network speed. If the network speed is so slow, it
Qtp
Read Excel
Data methodWhen building your own testing framework, or reading external data from Excel for checking, you must use the Excel COM object programming method. The readfile function in the script below implements this function, create an Excel application object, open an Excel file, and read the Excel data to an array. Arrrange = readfile ("D:/qtp/mywork/readexcelfiletest1/objecttree.xls", "Tree
Qtp allows simple monkey testing on Web ApplicationsFor example, you can traverse every link on the home page, select a link each time, click the link, return to the home page, select the next link, and so on. During the test, each action is written to the test log.
The following code is taken from codesamplesplus of qtp and some necessary modifications are made:
'Start IE browserSystemutil. Run "ipolice.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.