Http://bbs.51testing.com/thread-84332-1-20.html
1. Set wkbook = xlapp. wookbooks. Open (PATH) can only write absolute paths.
2. If it is stored in the Action directory, you can use the relative path.
3. environment ("testdir") obtains the file path and stores it in variables such as AA. Then, you can directly add the xls file (however, if you add environment variables, the location of the file is fixed)
4.QtpIn tools --> options --> folders, add the file (Pathfinder. Locate)
Http://bbs.51testing.com/thread-162994-1-23.html
1. itemnum = browser (). Page (). Frame (). webtable (). childitemcount (, "image ")WebImage (micclass) in the first column of the second row of the table on)
Http://bbs.51testing.com/thread-162731-1-23.html
Problem: After you manually add ondblclick to all the headers in custom of tools> Web Event Recording configuration, browser ("Browser "). page ("Baidu, you will know "). link ("zhi dao "). dblclick still does not work
Dblclick is generally used in ActiveX controls, So Link ("Jobs"). fireevent "ondblclick" should be used"
Http://bbs.51testing.com/thread-162611-1-24.html
Batch Delete qtpTestResult file: Start> Programs> QuickTest Professional> Tools>TestResults Deletion Tool (QTP9.0)
Http://bbs.51testing.com/thread-71155-1-24.html
In the drop-down box, why does WebList become a webelement? You can refer to tools> Web Events Recording Configuration, where you can capture WebList Events to see if they are set correctly. There are also many webbuttons and WebCheckBox. Or go to tools ---- options --- web ---- advanced and check the use standard windows mouse events (click, mouseover, mouseup or something)
Http://bbs.51testing.com/thread-87363-1-24.html
When you view the recorded script, the ActiveX control on the page is always disabled due to the current security settings. Therefore, this page is not realistic. I have set the security level to the lowest in the security settings, and the ActiveX control has all the relevant content enabled, or not. The Forum prompts Options-> Active Screen-> Appearance (Web) advanced: select Load ActiveX controls, but I cannot find it. Wait for a reply.
Http://bbs.51testing.com/thread-170654-1-1.html
Webelement, winobject, swfobject... these can be simply understood as the underlying elements and objects. (In short, it is probably the relationship between the father and the child)
Webelement can contain webedit, weblist, webbutton, and other objects. A simple example is
1,. webelement ("HTML Tag: = input", "index: = 0") can be seen, it can replace webedit.
2, or some elements (Web) that cannot be directly added or spy is not available, such as some special nodes and labels, we can also use webelement to operate on it, webelement ("HTML Tag: = div"), and so on.
Virtual Object excellent post reading:
Http://bbs.51testing.com/thread-42304-1-5.html
Checkpoint can return true/false. If you have time to test this function.