What is the QTA
QTA is a cross-platform test automation tool for backend, native, or hybrid client applications. Within Tencent, QTA is the oldest automated test project of Tencent. It has been eight years since its development. The tool’s capability has also expanded from only supporting UI automated test on Windows terminal to test automation of Android, iOS, Web, background and cloud services. QTA is also the most widely used automation testing framework within Tencent, including the automation of PCQQ, mobile QQ, Space, music, Tencent cloud and other products. Currently, QTA is used.
·QTAF (QTA Framework) :
https://github.com/Tencent/QTAF
·QT4A (Quick Test for Android)
https://github.com/Tencent/QT4a
·QT4i (Quick Test for iOS)
QTAF (QTA Framework) is the basic Framework of QTA, including TestBase and TUia modules. QT4A and QT4i are UI test automation solutions for Android and iOS respectively.
The advantage of QTA
The ROI of UI automation is an industry consensus — in addition to testability, the UI test automation tools themselves are challenging to design and use, and many peers have abandoned or resisted using UI test automation because of these issues.
QTA team has accumulated rich practical experience in Tencent. Under the construction and operation of many star business teams, it has formed a sustainable automated test process, including QQ, QZone, AUDIO and video SDK, Now Live, Penguin E-Sports, Tencent Video, Tencent Cloud and other product projects.
Take QQ products for example:
AndroidQQ system test cases have 1000+, the daily pass rate is basically stable at more than 90%, at the same time, CI automatically triggers BVT test every day, the product without functional bug, the pass rate is basically 100%. In addition, there are other pre-launch verification tests. The Android QQ membership project executes about 270 tasks every day, most of which are completed within 10 minutes.
The number of iOS QQ function test cases is 200+, and the number of daily implementation cases is 600+, among which, CI automatically triggers BVT test every day, and the pass rate is guaranteed to be over 95% under the condition that the product is bug free. The number of iOS QQ membership projects is 300+, and the number of daily execution cases is 500+. Most tasks are executed within 30 minutes, and each task needs the support of about 10 execution nodes on average.
QTA has been widely used in Tencent and has accumulated a lot of experience and achievements. The QTA team also hopes that this open source update can share the methodology and practical experience of automated testing with the industry. Based on this open source, share and build a UI automation test tool that can be used in engineering.
Due to the functional orientation, the QTA team is not sufficiently involved in open source projects. This time, Tencent’s organizational structure has been adjusted, and the QTA team has become a part of the newly established Cloud and Intelligent Industry Business Group (CSIG). The subsequent QTA will be based on Tencent Cloud to help customers of industrial Internet and bring new vitality to QTA open source.
·QTAF added resource management module and test planning function, making it more convenient for QTA framework to integrate with other test execution systems;
·QT4A supports non-root versions, supports Android6 and above systems, and supports 64-bit apps;
·QT4A optimized the efficiency of screen capture, and added the function of screen recording;
·QT4i optimized the simulator Agent startup mode and supported the latest iOS12 and XCode10;
·QT4A and QT4i support PIP installation to simplify installation and deployment;
·QT4A and QT4i improve usage and design documentation.