当前位置:网站首页>Huawei app UI automation test post interview real questions, real interview experience.
Huawei app UI automation test post interview real questions, real interview experience.
2022-07-28 02:05:00 【Automated test】
1.Android APP When there is not enough memory , How to get memory ?
System priority end suspended ( Pause ) The process of , Free memory .
2.APP What are the common problems in testing ? What are the reasons ?
Common are crash、ANR( No response from application 、 stuck ), It's usually fragmented by devices 、 The Internet is volatile 、 Memory leak 、 Coding error .
3.APP Automated test tool
Open questions , With a little bit of subjective opinion :
- Compare the advantages and disadvantages of other familiar automation tools ;
- A brief solution to automation ( Brief at the same time, the key content please be specific ).
4.Android And web Test differences ?
The same thing :
- Test cases are designed according to equivalence class 、 Boundary value and other methods , The test principle is the same ;
- Most use black box testing to verify business functions ;
- Need to check the interface layout 、 The style and buttons are beautiful 、 Unity, etc (UI test );
- Test the speed of page loading and page flipping 、 Whether the login duration overflows or not ( Performance testing );
- Test the stability of the application system .
Difference :
- Mobile phone as a communication tool , Some actions, such as communication, will be helpful to APP produce ( Interrupt test );
- Mobile phone users are right about app Install and uninstall the product : From the last version / The last two versions are upgraded directly to the latest version ( Install uninstall test );
- web The most commonly used tools for automated testing are selenium, and android The more commonly used automation tools for mobile phone automatic testing are monkey、monkeyrunner、Appium( Testing tools are different ).
5.app What kinds of environments are there for testing ?
- The local environment :app Installed mobile phone environment and computer built automated test environment ( Like Android SDK etc. );
- Server environment :war Package deployment server , The browser can access the server .
6. A brief introduction Android SDK Installation steps of
- download jdk And android sdk;
- install jdk, Configure environment variables (java_home、classpath、 path).
7. Introduce the test points of mobile applications and their servers ?
- Mobile applications mainly have permissions 、 Install run uninstall 、UI、 function 、 performance 、 interrupt 、 Compatibility 、 Security 、 Return to 、 Upgrade update 、 User experience (app Of 11 Big test point );
- There are interface tests on the server side 、 Performance testing 、 Security testing .
8. How to determine bug Is it a client or background problem ?
This depends on the business , General data problems, front-end problems more , The general practice is to raise problems to the front-end development , They know whether it's their own problem or the data back in the background .
9. How to get the log information from Android
- Import the Android system log information into the local system in real time :adb logcat -v time > d:\mylog.log;
- Run using some app, Get this in real time app Log information (cmd The return information inside ) :adb shell monkey -p com.android.calendar -v 1000 > d:\mylog2.log.
10. common adb command
- View currently connected devices :adb devices;
- Install the software :adb install route \xx.apk;
- Uninstall software :adb uninstall < Package name >;
- Send files from computer to device :adb push < The local path > < Remote path > adb push C:\test1.txt /sdcard/;
- Download files from your device to your computer :adb pull < Remote path > < The local path > adb pull /sdcard/test1.txt D:
- Get logs in real time :adb logcat -v time > D:\mylog.log;
- Log in to the terminal device shell:adb shell;
- Find the package name / Activity name :adb logcat | findstr START ( Script , cmp= The latter value is Package name /activity name );
- start-up APP start-up ;
- adb shell am start -n packageName/activity;
- close app grammar :adb shell am force-stop Package name ;
- monitor APP Starting time adb shell am start -W packageName/activity;
- Monkey command :adb shell monkey -v -p mypackage 50.
11.APP How to test so many mainstream models
My mobile phone models are Meizu , Huawei , millet ,iphone7、iphone8 、iphone8plus 、iphone x Test compatibility , Some models that don't have , Let's borrow a colleague's mobile phone to test , At the same time apply for the company to buy , Or use Use cloud real machine .
12.App collapse ( Flash back ) reason
Too much cache garbage : Due to the characteristics of Android system, if you don't clean up garbage files for a long time , It will cause more and more cards to flash back , Running too many programs leads to insufficient memory .
Application version compatibility : If the application version is too low , Can lead to incompatibility , Cause a flashback . Besides , There are also some new versions In debugging , It will also cause the application to flash back .
resolvent : If the version is too old , Update to the new version ; If it's a new version, go back , Maybe the application is in revision debugging , You can uninstall and install the old version . Check APP Intermediate access to the network , In the component ImageView Whether it can be downloaded and displayed to app On the page . Check APP Of sdk Is it compatible with the mobile phone system . Flashback in some specific cases , For example, playing video , stay Android5.0 Upgrade to Android6.0 When , Some systems API The old version has , The new version doesn't have , When the time comes to go back to the object, it fails , Empty , The system will flash back .
13.Appium What are the starting methods
- The client starts ;
- Command line start .
14. Android UI Automated test tool
appium: It's a mobile automation framework , Can be used to test native applications , Mobile web applications And hybrid applications , And it's cross platform .
robotium: It's a foreign Android Automated testing framework , Mainly aimed at Android The application of the platform for black box automation testing , It provides the ability to simulate a variety of gesture operations ( Click on 、 Long press 、 Sliding, etc )、 Search and assertion mechanism API, Be able to operate various controls .
15.Android Mobile phones and IOS System difference
The operation mechanism of the two is different :IOS The sandbox mechanism is adopted , Android uses a virtual machine operating mechanism .
They have different backstage systems :IOS No third-party program can run in the background ; Any program in Android Can run in the background , Don't shut down until there's no memory .
IOS For UI The command has the highest authority , Data processing instructions have the highest authority in Android .
Finally, I made up some notes of learning materials
Want to edit learning materials, notes, documents
【 Private letter my key words “999” Free access 】 High salary resume template ( Interview collection is free )
If this article helps you , Please make up a little like ! Only in this way can I have the motivation to continue to update !
Have you learned today's little knowledge
Welcome to interact with us in the message area ~


High salary resume template ( Interview collection is free )
![]()
边栏推荐
- [Taichi] draw a regular grid in Tai Chi
- go 学习02 基础知识
- 样本不均衡-入门0
- 损失函数-交叉熵的原理及实现
- 以“数字化渠道”撬动家用电器消费蓝海,经销商在线系统让企业生意更进一步
- Solution of digital commerce cloud supply chain centralized purchase management system: centralized purchase system management mode, digital control of enterprise materials
- Open source flight control (Px4, ardupilot)
- GBase 8c 事务ID和快照(五)
- 53:第五章:开发admin管理服务:6:开发【admin管理员退出登录,接口】;(一个点:我们想要修改一个采用了某种编码方式的值时,新的值最好也按照这种编码方式编码后,再去修改;)
- 记录一次生产死锁
猜你喜欢

物企大变局时代,SRM供应商采购系统助力企业打造物业采购数字化标杆

Machine learning how to achieve epidemic visualization -- epidemic data analysis and prediction practice

都在说DevOps,你真正了解它吗?

Packet capturing wizard netcapture app packet capturing tutorial "complete"

Starfish Os X MetaBell战略合作,元宇宙商业生态更进一步

Fluorite network, difficult to be a "lone brave"

执行 Add-Migration 迁移时报 Build failed.

HyperMesh circular array - plug in

54:第五章:开发admin管理服务:7:人脸入库流程;人脸登录流程;浏览器开启视频调试模式(以便能够在本机的不安全域名的情况下,也能去开启摄像头);

Flink's real-time data analysis practice in iFLYTEK AI marketing business
随机推荐
What is method and methodology: understand the underlying logic of self-improvement
day7
GBase 8c 事务ID和快照(四)
简单为美-编程思路
执行 Add-Migration 迁移时报 Build failed.
ros2 launch文件常用模块
Netease cloud copywriting
Common modules of ros2 launch files
Real time data warehouse: meituan's real-time data warehouse construction practice
Software testing interview question: why should we carry out testing in a team?
实时数仓:美团的实时数仓建设实践
Gbase 8C transaction ID and snapshot (V)
Leveraging the blue ocean of household appliances consumption with "digital channels", the dealer online system enables enterprises to further their business
A letter to the user of qubu drawing bed
Flink's real-time data analysis practice in iFLYTEK AI marketing business
软件测试面试题:为什要在一个团队中开展测试工作?
A Tiger's Tale
Gbase 8C backup control function (IV)
BGP federal experiment
损失函数-交叉熵的原理及实现