In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Four processes necessary to become a master of QTP
If QTP wants to learn essence, I think we must go through four processes: from scratch to understanding, from understanding to familiarity, and from familiarity to refinement.
From scratch-beginner
This process is mainly familiar with the interface settings of QTP, as well as some basic uses, including the most basic recording and playback, low-level recording, parameterization, OUTPUT output, verification points, etc., you can also find some novice materials in the 51testing forum, we recommend that you can go here: http://bbs.51testing.com/thread-78399-1-2.html download QTP_Tutorial.chm, this step is the most basic thing Be sure to read it all and be able to try to do it independently through practical examples. Generally speaking, this stage is still an introduction, which is relatively easy to accept, and is also a level that most testers can reach.
At this stage, we must first have a basic understanding of the tools, as an entry level, personally recommend some learning materials, 1. Is the podcast website Xiaoqiang teacher talked about zero basic learning QTP,2. Recommend a book Tian Yanqin "QTP from practice to mastery" recommends this book because it provides many examples as well as source code, so you can click on it and experience it personally.
From have to understand-Intermediate articles
We already have some basic knowledge in this process, at this time, we can no longer stay in recording and playback, but need to write our own test scripts in the expert view. We need to be familiar with the various built-in reserved objects of QTP, the principles of QTP object libraries, descriptive programming and the use of GETRO,GETTO,SETTO, the application of DATATABLE methods, and custom REPORT. Can be proficient in using F7 script generator to write scripts, then we need to have some understanding of VBS, we can first learn some basic knowledge of VBS, and be able to skillfully use it, we recommend that you can download the VBScript scripting language tutorial (51Testing official textbook): http://bbs.51testing.com/thread-123064-1-1.html tries to write scripts by hand and optimize the scripts This makes our scripts more powerful and flexible.
At this stage, you are proficient in the common operations of QTP (setting of recording mode, parameterization, addition of checkpoints, segmentation and calling of Action, object library, descriptive programming), and understand the principles. At this stage, you can try to implement the examples that QTP comes with, or even copy them once. Pay attention to learning its coding specification and format. At the same time, you should begin to learn vbscript, proficient in commonly used QTP API functions.
From understanding to familiarity-Advanced articles
In this process, we already have the ability to write scripts in expert views, and we can modify and optimize scripts using simple VBS. At this stage, we need to learn some relatively advanced uses of QTP.
√ is familiar with com components including some methods and properties in fso,wsh,eom,aom,ado
√ learns to use DOM,DLL,DOTNETFACTORY,WIN32 API
√ special case handling, such as mouse events, WebCheck handling in WEBTABLE, can sometimes be solved with the help of gadgets written by yourself.
√ exception handling, including exception cases through VBS judgment, including error handling in VBS and scene recovery in QTP
After completing the above process, √ can proceed to the final process.
At this stage, try to get rid of recording, try to write code, QTP combined with some use of QC, proficient in the operation of Excel, you can learn VBA, at the same time to experience team development in the project team. How to do automated testing better
From familiarity to mastery-proficiency
To this process, in fact, it can be said to be a semi-expert, can independently solve the problems encountered in various tests, and then you can try to read some code written by the master, such as REPORTMANAGER,saffron, etc., proficient words are not everyone can achieve, this process also needs to learn the design of the framework, retain the extension of objects, plug-ins to expand development, and so on, as well as the comprehensive expansion of various aspects You also need to know about the latest technologies in real time. After reaching this level, you can already say that you know QTP like the back of your hand. It seems that I am still a long way from this level.
By the way, here are some very good QTP learning websites:
√ Chen Nengji's blog: http://blog.csdn.net/testing_is_believing
I believe many friends should know him. He once published a book "QTP Automated testing practice". He has some research on QTP. The content of the blog is good and has the function of throwing a brick to attract jade.
√ A blog named zzxxbb112: http://blog.csdn.net/zzxxbb112
If friends who have been visiting 51 recently should have seen it, he wrote an article that is detailed and easy to understand. The research on QTP is quite deep, and the technical content is relatively high. He learned a lot of advanced technology in his blog and appreciated him more.
√ if you are good at English, you can go to the most famous SQAFORMS forum: http://www.sqaforums.com.
There are many QTP masters on this website, and there are also many posts, recommendations and ADVANCEDQTP that we can learn from.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.