;"
"Put the browser object layer
Set Js.browser = Browser
Js.execscript _
Browser ("Baidu, You Know"). Page ("Baidu, You Know"). Webedit ("WD"). Set ("Iquicktest"); "
Analysis: After executing the above script, you will find that Iquicktest was successfully entered into the Baidu text box (don't forget to add objects to the object Library first. This I do not explain), do not worry, has not played, this is only a small start, there are many heavyweight not onstage, how can this end it. So I said
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 -
://www.io.com /~ Wazmo/QA/# test_automation
Download the test script for the qtp project (the qtp script design is described in discuz Forum as an example ):
Http://files.cnblogs.com/testware/QTP_Training_Scripts.rar
Related courses:
Http://blog.csdn.net/Testing_is_believing/category/639478.aspx
Learning Resources for "the road to successful software automation
Download the test script for the QTP project (the QTP script design is described in Discuz Forum as an example ):
Http://files.cnblogs.com/testware/QTP_Training_Scripts.rar
Related courses:
Http://blog.csdn.net/Testing_is_believing/category/639478.aspx
Learning Resources for "the road to successful software automation testing:Http://blog.csdn.net/Testing_is_beli
ManagementStart qtp and the displayed plug-in management interface is displayed.Select the plug-in to be loaded based on the control type of the tested application. For example, the qtp built-in example application "flight" is a standard windows program, and some of the controls are ActiveX controls, therefore, select to load ActiveX control during the trial.2. Recording and replaying settingsAfter selecti
test script development skills to introduce how to develop a "monkey" test program. This book is from simple to deep, from theory to practice. It is especially suitable for beginners to gradually learn and improve their knowledge structures in automated testing, it also introduces the use of various development methods of test scripts based on various practical usage techniques of qtp. It is the case guide and Best Practice Guide of
running mode to fast .)
If you are new to automation or qtp. read this beginner article on Automation Object Model (AOM ). AOM simplifies extends aspects of qtp scripting. it can help you in controlling qtp from an external file. (use AOM to control
ManagementStart qtp and the displayed plug-in management interface is displayed.Select the plug-in to be loaded based on the control type of the tested application. For example, the qtp built-in example application "flight" is a standard windows program, and some of the controls are ActiveX controls, therefore, select to load ActiveX control during the trial.2. Recording and replaying settingsAfter selecti
Qtp automated test series video completed ......
Course Design, recording, and post-production are all my own. I hope this series of video tutorials can help you learn qtp!
-------------------------------------------------
(Qtp automated testing SeriesVideo) Video release Update (30 sets have been updated ):
-------------------------------------------------
Video
Online to see a good article written, the personal feel that the summary of a more comprehensive, reproduced to share under. -_-
This article originates from: http://www.51testing.com/?161787
Engaged in a few years of testing, but also witnessed the development of testing, the test industry today is increasingly demanding practitioners, is no longer confined to the requirements will be written test cases, will perform detailed testing, can effectively detect system defects, and more and more ent
Qtp has three learning stages for your reference only:1. Basic qtp applicationsAutomation TheoryQtp tool Introduction: Basic Principles of qtp, qtp installation and configuration, qtp buttons and menu introduction, qtp keyword dri
Qtp Daniel Tarun Lalwani lists the 101 qtp deficiencies:
Http://knowledgeinbox.com/articles/qtp/general/101-limitationsenhancement-for-qtp/
It covers object spy, IDE, Object Library and management, script writing, AOM, recovery scenarios, test report, checkpoint
Some of them have long been a pain point for
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
will find qtp_plugin_installer.exe in C:/Program Files/Adobe/Flex Builder 3/installers. Restart QTP and select flex3.0.0 and web to start recording the test script.
QTP settingsI have not studied it carefully because of too many configurations. You only need to remember that there are three basic settings.File-> SettingsTools-> OptionsTools-> View Options
Flex Builder settingsAdd-include-libraries "c:/Pro
1, after installing the QTP to restart the machine.2, plug-in selection error,Processing mode: Restart QTP, check the Web plugin;3, after the installation of QTP, or disable some ActiveX control in IE browser, when the normal recording QTP, the object can not be recognized; (Ensure that the IE plugin is not disabled)(I
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
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
by the script and the script together, so that we can maintain the script while maintaining the relevant test data.
Driver. vbs: uses the Automation Object Model of qtp, which is also the entrance to the entire framework. You can directly execute this vbs script, so it can be used as an automatic Windows Task and executed at a specified time point.
Testplan: Test Plan, used to record the script information
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
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.