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
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.
Baidu on the internet a bit, mostly said the following methods:Open IE and select [Tools]/[internet Options] from the menu to enter the Internet configuration interface. SELECT [Programs]/[Manage add-ons] to view the currently loaded ActiveX situation.When you see that the Bhomanager class is present and its status is "Disabled", click "Enable" to turn on this feature and save and exit to resolve the issue.When the Bhomanger class add-in is not found in the admin add-in, if you install
Two days ago, I learned three recording modes: "normal recording" (normal recording mode), "analog recording" (analog recording mode), and "low level recording" (low-level recording mode ).
"Normal recording" Mode: the default recording mode. It recognizes objects on the application, regardless of their location on the interface;
"Analog recording" Mode: allows you to record accurate mouse and keyboard operations. In this mode, you can record each mouse action, which is often used to drag the
In the qtp test, where a bug occurs, we want to leave evidence, but sometimes the webpage is not maximized, so that we can capture irrelevant images. Here we provide some methods, this phenomenon can be avoided as much as possible.
YesUse the built-in functions of qtp, suchOnly page captures, excluding the preceding tools and navigation barBrowser (" シテ"). Page (" ステ"). capturebitmap ("D:/1.bmp)Entire Bro
Datatable is a component used to create a data-driven and parameterized test for qtp integration. It is similar to an Excel table.
Qtp encapsulates the datatable operation and usage,
Here we have sorted out some basic operation data table method scripts.
1. assignment:
Datatable (paramname, dtlocalsheet) = value ------- assign a value to the local variable
Datatable (paramname, dtglobalsheet) = value -
For the first time, I felt the power of qtp. It looked at the software from another perspective, namely, the outside. If we look at ArcGIS from an internal perspective from the perspective of AO, and qtp is the opposite, we look at it from the external perspective, but both internal and external batches have achieved the same effect!
Window ("test version"). winmenu ("menu"). Select "Watermark Embedding"Wi
Many of my friends found that their hard drive root directory contains three files: mfc71.dll, mfc71u. dll, and msvcp71.dll.This is actually installedQtpGenerated after 9.x-these files are the VC 7 Runtime library files, and many common software cannot run without them.Some of my friends thought it was a virus and deleted them directly. As a result, when qtp was opened again, the dialog box in appeared, asking you to reinstall
Qtp supports direct access to the DOM (Document Object Model) and HTML tags can be accessed through the Dom. In qtp, Dom access is further accessed by using the object attribute of the page test object. For example, the following script obtains the object attribute on the Google homepage:
On Error resume nextSet Doc = browser ("google"). Page ("google"). Object'Obtain all objects in the page cyclicallyFor
We recommend a powerful API called screencapture API to capture various screen objects. The screencapture API can make up for the qtp capturebitmap function and add powerful screen capture functions to the test script. The screencapture API provides the following functions: (1) Capture desktops. (2) capture the current active window. (3) capture an area of the screen. (4) capture the window through the window handle. (5) capture an area of the window
First of all, because many friends in the group said QTP connect Oracle a bit of a hassle, I do a complete tutorial for connecting to Oracle, I hope that the need to learn friends can look at the following:1, no matter what language, connect Oracle client is not few, this is no way to save; I use 10g_win32_client; if you feel old, friends can use the new version;Decompression-Installation-the aspect is nothing more than the next operation, this side w
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
HP HP notebook does not have wireless network card device in Device Manager how to solve
1, in the Device Manager to view, found no wireless network card;
2, after restart press F10, enter Bios--exit--load setup Defaults, or according to the shortcut key below prompts, press F9 restore default settings;
3, the normal access to the system can be seen in the Device Manager of the wireless c
HP HP DL160 G6 RAID and Server2003 system installation method
HP ProLiant DL160 G6 Server
Manually install the Windows Server 2003 system and manually install all drivers
(Pictures from Xin Pengcheng)
Hardware environment: DL160G6
Software Environment: Windows Server 2003 SP2
Array card: HP Smart Array b110i SATA
About software testing, in fact, software testing and product testing QC very much the same.In fact, software development and software testing are different.First, the Software installation Follow the prompts and check "install Microsoft Script Debugger" to fully install. Second, the software start Select the appropriate plugin to load for the test object and select "Blank test" in the Welcome window. Iii. Bring your own resources F1 can get a rich help document, the menu Help->product Feature m
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.