)#perform the test process multiple times defRun (self): whileSelf.counter >0:self.testprocess () self.counter= Self.counter-1Time.sleep (3) #gets the current timestamp defGetCurrentTime (self): CurrentTime= Time.strftime ("%y-%m-%d%h:%m:%s", Time.localtime ())returncurrenttime#Storage of Data defsavedatatocsv (self): CSVFile= File ('Cpustatus.csv','WB') Writer=Csv.writer (csvfile) writer.writerows (self.alldata) csvfile.close ()if __name_
.(3) Redundancy requestSometimes it is found that the application makes multiple same requests within a short period of time, and the results are almost the same, which should be to minimize the number of requests, while keeping an eye on the program logic errors , perhaps the problem does not want to appear as simple as the surface(4) Useless requestThere are requests, and you will find that no one knows what it is, most likely a useless request from a previous version, or a sneak or even spy
Debugging with the simulator is cumbersome and very slow, with a mobile phone on hand to do the test machine, but has been unable to connect the computer.Baidu has a few to know, the first to connect when the choice:PC Assistant (Hisuite)This will load a similar drive disk resources, click Run will download the corresponding driver, updated the driver will be able to identify the device after the computer.Also remember to set the phone to allow debugg
. start LR12 virtualuser Generator, click file–new Script and Solution,single Protocol Select web–http/html, click Create4. Click the Red tab of the toolbar Record button,recording mode Select Remote application via LoadRunner Proxy, The port is set to the proxy port set on the phone (my port is set to 8899) andLoadRunner listens to this port, which is the proxy port for the phone connection. 5. Click the Play Back button to test if the script is ru
, whether the page function can be used normally, payment, sharing, page display is normalD. Normal browser, whether the page function can be used, payment, sharing, page display is normal3.h5 page AdaptationA. iphone: IPhone5, IPhone6 and other mobile phone systems, H5 page function is displayed normalB. Android Market popular model, System, H5 page function is showing normalC. Different resolution of the phone, H5 page function is displayed normalD. Different browsers, H5 page function is show
Note: It is often necessary for a developer to package the project into an IPA package and send it to a tester for testing during the project development process. This article maps a brief introduction to the packaging process.First, Product->archive (note, cannot be the emulator state, if the current debug state is the emulator, then archive is a gray non-clickable) simulator case: Remaining steps: Select Certificate Generation IPA package Save Note: Save the XCA while packaging rchive file for
Power consumption testare divided into two types:1) A specific value for direct testing of power consumption over a period of time2) indirect testing and consumption-related data or scenarios, so that through testing and optimization, the same can be achieved to reduce the power consumption of the effect
Use the Dumpsys command to view the application's wakelock mechanism and the running state of the services it owns.Adb-s By filtering your application's corresponding package name, you can s
Http://www.cocoachina.com/ios/20160525/16431.htmlhttp://www.jianshu.com/p/a6bab07c4062IPV6 's introductionThe difference between IPV4 and IPV6 is that the IP address is. (dot) split, which is split by: (Colon) (more details are self-searching).In the use of IPv6 hot spots, remember the mobile phone flight mode Oh, to ensure that the phone only in Wi-Fi internet, so as not to be connected to the network when the phone, will default to use cellular network (that is 2G, 3G, 4G traffic) Internet.Bui
input NPM--registry http://registry.cnpmjs.org install-g appiumNote:-G is a global parameter(3) command line input Appium detect if installation is successful(4) command line input appium-doctor detection environment(5) command line input pip install appium-python-client install appium-python-client6. Download the compressed package directly to Appium website(1) Website: Http://appium.io(2) Domestic (also includes other required address): https://testerhome.com/topics/680(3) command line input
/1/Software permissions1) risk of deduction: including sending text messages, making calls, connecting networks, etc.2) Privacy disclosure risk: including access to mobile phone information, access to contact information, etc.3) Check the application's input validity, authentication, authorization, sensitive data storage, data encryption, etc.4) Restrict/allow access to the Internet using mobile phone function5) Restrict/allow the use of mobile phone to send reception information function6) Rest
properlyIn the process of uninstallation, suddenly restart the device, re-access the program, the program can run correctlyIf the program is not in use, directly delete the files under the installation directory, the program can run correctlyWhen you are using the program, directly delete the files under the installation directory, the program can run correctlyUnder different system, uninstall, can unload normally.In different hardware environment, to uninstall, whether the normal uninstall.In
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.