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
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
I feel like I have written a good job. Thank you .. 1. Getting Started
AutomationI believe that many of my friends, including myself, are the same.
TestYou can't wait to download a tool and start using it. Then, you are dumb-eyed. In the face of such powerful qtp functions, I don't know how to start it. At the same time, it will seriously dispel our enthusiasm. Here, I suggest that
LearningAutomation friends should first understand some automation con
In this article, Tarun Lalwani summarizes the situations in which five qtp restoration scenarios will not be triggered:Why is my recovery scenario not getting fired?Http://knowledgeinbox.com/articles/qtp/recovery-scenario/why-is-my-recovery-scenario-not-getting-fired/
Debugging recovery scenario (RS) is always been a tough ask. But knowing situations where Rs won't work before hand can be of added
Advantage
I did some development for a short time before, and later I was mainly engaged in testing. I had a wealth of testing experience (but only limited to Black Box) and led the team for half a year. During this period, I learned 6-sigma (black belt) with my boss ), I have also made several patents, so I have a great deal of process, improvement, and sense on the customer's demand side, and I feel very innovative. Now I am dedicated to qtp automated develop
operating principle of QTP:
QTP will find the name of the object library by "User name input Box", find the following object name, and then find the Object Name Mapping property bag through the found object name, the script is to find the object name in the warehouse through the object name of the control, find the corresponding data and method through the object name.
(1) Win10 system, prompt to prevent application installation, workaround: Enter "cmd" in the desktop run, but do not point in, enter CMD after the command prompt in the top right-click Run as Administrator to open to the command prompt, and then paste the full path of the application to install the command prompt, Then hit enter, will directly eject the installation interface (1 and Figure 2)(2) Input certmgr.msc in desktop operation, enter;-Select "Untrusted Certificate" in the left column;-Sel
other regular expressions to change this field.
Select case result_message
Case ""
Msgbox ("the date format you entered does not match the standard ")
Case else msgbox (result_message)
End select
17. returns the position of a string in another string.Code: [copy to clipboard] instr (string1, string2)
18 sometimes, when the playback fails to find the object, it may not be because of your code, but because of your operating system and other settings;Code: [copy to clipboard] Example 1:
For exampl
box", and "Web page dialog box" on 2003"19"Is + *" Type FunctionCode:Isarray' is an arrayIsconnected 'determines whether qtp is connected to TDIsdate' is a valid date typeIsempty' determines whether to initializeIsnull' determines whether it is nullIsnumeric 'determines whether it is a numberIsobject' determines whether a function object is usedIsready' determine whether the device is readyIsrootfolder' is the root directoryQtp provides a global erro
= nothingEnd sub
10. "Is + *" Type FunctionIsarray' is an arrayIsconnected 'determines whether qtp is connected to TDIsdate' is a valid date typeIsempty' determines whether to initializeIsnull' determines whether it is nullIsnumeric 'determines whether it is a numberIsobject' determines whether a function object is usedIsready' determine whether the device is readyIsrootfolder' is the root directory
11. For method 1, select dtlocalsheet for parameter
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.