一、如何进行Monkey Test
一、简介
Monkey是Android中的一个命令行工具,可以运行在模拟器里或实际设备中。它向系统发送伪随机的用户事件流(如按键输入、触摸屏输入、手势输入等),实现对正在开发的应用程序进行压力测试。Monkey包括许多选项,它们大致分为四大类:
基本配置选项,如设置尝试的事件数量
运行约束选项,如设置只对单独的一个包进行测试
事件类型和频率
调试选项
在Monkey运行的时候,它生成事件,并把它们发给系统。同时,Monkey还对测试中的系统进行监测,对下列三种情况进行特殊处理(自动停止):
如果限定了Monkey运行在一个或几个特定的包上,那么它会监测试图转到其它包的操作,并对其进行阻止。
如果应用程序崩溃或接收到任何失控异常,Monkey将停止并报错。
如果应用程序产生了应用程序不响应(application not responding)的错误,Monkey将会停止并报错。
按照选定的不同级别的反馈信息,在Monkey中还可以看到其执行过程报告和生成的事件
二、测试准备
Monkey test前必须先进入android设备的adb shell(Android SDK环境配置不在此描述,网上有很多)步骤如下:
1.开始—>运行—>cmd
2. u**连接手机,输入 adb shell命令,待出现即可输入以下内容
3.进入手机后,输入相应的monkey命令即可测试
三、基本命令格式
adb shell monkey–p程序包–v测试次数
比如“adb shell monkey–p com.htc.Weather–v 20000”意思是对com.htc.Weather这个程序包单独进行一次20000次的monkey测试
其中程序包名称可以在串口终端这句命令获得:ls data/data显示所有程序包
四、测试Log获取
用Monkey test测试,为了方便分析问题,可以在命令monkey命令后面加上“|logcat-v time”,这样就能边测试边打印Log(记得用终端保存Log文本)例如:
adb shell monkey–p com.htc.Weather–v 20000|logcat-v time
但是这个组合在monkey测试完成后,logcat仍然在执行,测试时需要注意。
如果测试monkey碰到crash或者anr(程序强制性退出或不响应)现象时,在抓取log的同时需要提供traces.txt,步骤如下:
1.测试版本需要具备root权限
2.进入data/anr目录下面
3.将traces.txt文件拷贝到TF卡中,然后拷贝出来发给软件分析即可
二、有趣的国庆英语日记【精选十篇】
【#英语资源#导语】金秋十月鲜花艳,红旗飘扬秋菊香;唱响红歌颂祖国,祖国华诞万民贺;盛世太平百姓安,家家户户笑开颜;齐声恭祝祖国好,千秋万代国运昌!以下是考网为大家整理的内容,欢迎阅读参考。
1.有趣的国庆英语日记
On the National Day, my father took me to Tianmu Mountain, where the grass was green, the tall trees were green, and there were **all flowers blinking in the grass. We had a good time.At the foot of the mountain, we found a group of lambs, and I wanted to feel their hair. I boldly walked forward by myself. When I came to them, I gently stroked the hair of a lamb. Its hair was soft, like people's curly hair stuck on it. It was fun! In the lake at the foot of the mountain, I found a **all boat and jumped onto it with my father. We set the oars, I was responsible for rowing, and Dad controlled the direction. In this way, we formed a **all team, rowing through one bay after another. My father saw that I was not skilled, so he had to paddle himself. I looked at the boat and found a mop on it, so I used it as a tool to row.
After rowing for a while, my father and I began to play the game of fishing. I poured some fish food into a big mouth bottle and put it into the water. After a while, a **all fish caught the bait and bumped into it. I quickly grabbed it and put it in a basin with water. Then I caught several more. However, when I saw them swimming anxiously in the basin, I thought they would lose their freedom and happiness. I felt sorry for them, so I let them go again.
In this way, we had a happy afternoon!
2.有趣的国庆英语日记
The National Day on October 1 is the birthday of our mother, a day for national celebration, a day of excitement, happiness, and charmIn this beautiful festival, I went to a **all village in Lin'an. There are lush forests and mountains everywhere. I live in a homestay. The name of each room in this homestay is also very interesting. The best name I remember is Shaohua's father! This name makes people feel very kind. The guests who stay in the hotel give the guests a feeling of returning to their own homes. It's good to feel at home!
After we settled in the homestay, my parents took me to climb the mountain. Although it is autumn, the mountain is still green and luxuriant. The trees on the mountain are densely covered with shade and crowded together. If you look at them from high altitude, you will feel that the trees are like a group of ants moving. Walking on the mountain road, a breeze blew and it was very cool. Walking in the mountain forest, we felt our whole body and mind relaxed and really enjoyed the relaxation and pleasure of the holiday. The sun is going to set. It's time for me to have dinner. We turned around three times at a time and reluctantly went down the mountain.
This National Day is the happiest holiday I have ever had!
3.有趣的国庆英语日记
On October 2, my parents and I went to Zhengzhou Meteorological Station to visit.When I came to the hall, I saw a big globe. When I looked at the globe, I thought that our earth was so big, with land, rivers and mountains. It was really big!
Then we came to the earthquake experience area, which is a very **all hall and can only accommodate more than 20 people. I was very excited and waited for the experience. After it was quiet, the teacher asked us to stand on the board and look at the computer. Then the teacher turned off the light and the room was very dark. A video about the earthquake appeared on the computer screen. At the same time, my feet began to shake. I was very nervous and scared, but soon the earthquake experience was over. I really don't want such a disaster as earthquake in my life.
Then we went to watch 4D movies, which I never saw. After entering the screening hall, the teacher gave us glasses to watch the 4D movie. The movie started. It was terrible and shocking! At one time, animals rushed at me with their mouths open, at another time, huge rocks hit me, at another time, trains drove past me, and chairs shook violently with the picture, spraying water, snowflakes, etc. Although my clothes were wet, I was very happy.
Finally, we visited other museums, which were very interesting.
Through this visit, I learned a lot about weather. It's really a happy and meaningful day!
4.有趣的国庆英语日记
The annual National Day is coming, and new red flags and beautiful lanterns are hanging on the streets. People put down their usual tense mood of study and work, wear casual clothes, and take their families and relatives out to play happily.Today is sunny. My mother and I also went out to play during the holiday. First of all, we went to Grandma's house. Grandma's house is also a picture of National Day. The streets are clean and tidy, with five-star red flags flying everywhere. In addition to celebrating the National Day, people also have a picture of harvest and planting. My mother and I played at my grandmother's house for a few days, and then went to the zoo. We got on the bus all the way, and everyone's face showed a happy **ile. The doors of hotels, buildings and factories are decorated with colorful flowers, and the ground is spotless.
The zoo is also a lively scene. People hold national flags and take their families and friends to play. The children happily chase and blow colorful bubbles. People come to various scenic spots in groups to leave beautiful memories. In order to preserve memory, my mother and I also took several photos excitedly. Everyone is immersed in the sea of joy.
5.有趣的国庆英语日记
October 1 is the National Day. On this day, my schedule is also full.In the morning, the students of our school orchestra gathered at Yintai Union Square for a flash show, in which I played saxophone. Many parents and passers-by came to the scene, each waving a bright red flag to set off the festivity of the festival. The performance was very successful and the whole audience applauded loudly. After the performance, I made an appointment with some clas**ates to go to Victoria Hotel for lunch. We ordered a lot of delicious dishes, including shrimp dumplings, steamed buns, grilled chicken, and so on. We ate with gusto, talking and laughing, and were very happy.
After lunch, we went to Yintai together. The shopping mall was crowded. After separating from my clas**ates, my parents took me to Wuma Street. Wuma Street has a new look, and many visitors have taken pictures to commemorate it. I entered the exhibition hall of Wenzhou Imperial Examination Test Institute, where I learned about Wenzhou's top scholars in civil and martial arts, Wenzhou Normal School, and Yongjia School. It is really a place of great knowledge.
In the evening, my parents and I had"Second Senior Brother Pig's Feet" and Wenzhou wonton, which were very delicious. The lights lit up the night sky of the city. There were still many tourists on the road. The traffic lights at the intersection flashed alternately, as if playing music for the night of the city. My father drove me along the riverside road to enjoy the Oujiang River light show. The colorful lights are really beautiful!
This is really a full and happy day!
6.有趣的国庆英语日记
Today is the National Day. I went to visit the Jinan Science and Technology Museum with my teachers and students in a happy mood.I woke up at more than six in the morning, so excited that I didn't feel sleepy at all. Looking forward to it, my mother finally packed up her things, and we went to the assembly place to take the bus. We played with each other in the car, and soon arrived.
When I came to the Science and Technology Museum, the first thing I saw was a huge globe clearly marked with the name of each country. I found the position of China on the earth at a glance.
Inside is the Children's Science and Technology Museum. In front of many mirrors, some of us are getting fatter, some are getting shorter, some are getting thinner, and some are getting taller. It's interesting. When passing through the time-space tunnel, the constantly rotating sphere around the tunnel makes people feel dizzy, creating the feeling of passing through time-space; In the Forest Park, we played with some funny toys, such as Father Tree patting his face and monkey swing.
In the lobby on the second floor, we were just in the act of"getting angry". The actors' hair stood up one by one by the"electricity". It was really scary, but they had nothing to do. In the science and technology museum, there are also tilting cabins, tubeless faucets, etc., which let us experience interesting experimental phenomena. However, it is a pity that I am only in the fifth grade. There are many scientific phenomena that I cannot understand. We still need to keep learning and thinking in the future.
On the way back, we communicated with each other about our visit experience, and our happy laughter still rippled on the car.
7.有趣的国庆英语日记
On the National Day, Dad led us to the Botanical Garden. Among them, there are cacti, water flute lotus, drunken grass, pitcher grass... The most noticeable is the flytrap.The fly trap has a shell like"mouth", with a row of **all thorns on the edge of the"mouth", just like a tiger's mouth ready to launch its deadly strike.
Soon, several unlucky flies came. These flies ate honey in the"mouth" of the fly trap, and one of them was the most unlucky. It happened to be in the middle of the"mouth" of the fly trap, and the mouth"snapped" together. The **all thorns were originally red. After they lived together, they became green and gradually merged together. Then, the mouth slowly changed from the original bright red to green. At first glance, it really looks like green dumplings. In this way, after a few minutes, the big green dumplings slowly recovered to their original appearance. Only the fly had wings and retreated.
Later, we saw several other plants, but none of them could compare with the Venus flytrap. At this time, the mouth of the Venus flytrap became a big mouth. Because it is so fast and sharp, I want to give it another title- Lion Grass.
This trip to the Botanical Garden made me know a lot of plants, more about the habits of Venus flytrap, and how it catches grass. So I had an idea to make a specimen album on the National Day to record those happy times.
8.有趣的国庆英语日记
This National Day holiday, our family went to Ankang. The scenery there is so beautiful! The mountains rise and fall, the sky is blue, the lake is wide and calm, and there are towering trees. The beautiful scenery is really relaxing.The first scenic spot we went to was Ying Lake. Of course, sailing is indispensable for playing Ying Lake. My sister and I are very excited. We boarded a big white boat, which moved slowly on the calm lake. The sun shines on the water, sparkling, and sometimes there is a breeze blowing, which is really great.
Yinghu Lake has three islands: Birdsong Forest, Luojin Island and Cuiping Villa. The first stop is Birdsong Forest, where there are many fish sellers. These fish are **all silverfish peculiar to Yinghu Lake. The fragrance goes straight into my nose. Finally, we couldn't resist the temptation of grilled fish and ate a dozen at a time. Although there are not many birds in the forest, this is a good place to rest.
We went to Luojin Island by boat again. There is a tall tower on the island. I climbed to the height of. Looking around, I saw the green mountains, the calm lake and the panorama of Luojin Island.
The third place we arrived was Cuiping Villa, where there were tall and straight bamboo forests. Forty or fifty bamboo forests gathered together, completely covering the hot sun.
9.有趣的国庆英语日记
Today, the sky is high and the clouds are light, and the autumn is crisp. My parents and I go to the park happily.It's almost the park. From a distance, a colorful dragon flies at the gate of the park. A closer look revealed that it was a dragon boat made of colorful flowers. Entering the park, you can see the interesting"two dragons playing with pearls". Two dragons are fighting for a lantern, attracting many people to watch. There are many strange shapes made of colorful flowers and plants in the park, which make the whole park beautiful.
After enjoying the flowers, we went straight to the amusement park. We first played with the bumper car. There was a sight on the front and back of the bumper car, and a gun on the car. After hitting the sight, the leather hammer on the head knocked on the head. My father is skilled in driving, and I can shoot accurately, so I shoot when my father drives. We hit others 32 times and were hit 4 times. We won. Great! Then I went to sit on the swing. Once I got on the swing, the swing began to turn. I was high and low, just like a pair of wings, flying in the air. I exclaimed with joy:"It's so exciting!" After sitting on the swing, my head felt dizzy, but I still thought it was very interesting. I would like to sit next time.
Finally, we went to paint Baiyun Ceramics and painted a colorful car. My father also bought me a hat made of paper that will deform.
The park was so interesting that it was already afternoon before I knew it. I had to go home with my parents reluctantly.
10.有趣的国庆英语日记
Today is the National Day on October 1st. It is the mother's 73rd birthday.In order to celebrate this day, my mother, Aunt Hongpei and brother Wang Ziqi and I went to the Forest Park to see the long-awaited dinosaur after dinner this morning. We arrived at the Forest Park by bus.
When we arrived at the Forest Park, we made a big circle and decided to go to the Panda Park. There is also Dinosaur Paradise. Let's buy tickets first. After buying tickets, we went in, and the uncle who checked the tickets at the gate gave us a conch. I can't wait to rush in with my conch. There are many animals there, such as carapace, stegosaurus, spinosaurus, giant pandas, cattle, zebras, real crocodiles, and thunder dragons. However, these animals are all fake except crocodiles. I was disappointed and felt cheated. Although we have been cheated, we are in a beautiful mood to play!
We played for a long time before returning home. My mother and I went to visit brother Wang Ziqi again. I really enjoyed myself today!
Mother's postsc ript: I'm so disappointed. I can't see the real scene when I look at the beautiful propaganda pictures. Let's take advantage of the good fortune and return from the bad fortune! However, the children had fun! It's worth it!
三、MonkeyTest这个病毒删不掉
杀不掉,一般是由于木马病毒正在运行,或者有其他的病毒进程守护,造成的。
1、电脑杀毒建议安装专业的杀毒软件,用杀毒软件在安全模式下全盘查杀处理病毒应当可以清理彻底,推荐试试腾讯电脑管家,它是免费专业安全软件,杀毒管理二合一(只需要下载一份),占内存小,杀毒好,防护好,无误报误杀。拥有云查杀引擎、反病毒引擎、金山云查杀引擎、AVIRA查杀引擎、小红伞和查杀修复引擎等世界一流杀毒软件内嵌杀毒引擎!。
打开腾讯电脑管家——软件管理——搜索【顽固木马克星】
2、安全模式下,将该目录的所有文件按修改时间重新排列,将该病毒以及修改时间和病毒一样的文件删除(先纪录名字)。安全模式下,在运行中输入msconfig,在“启动”中将除了ctfmon之外的所有项目的勾去掉。在安全模式下,把刚才的名字一个一个在注册表中查找一遍,一样路径和名称的键都删除
3、如果遇到所有安全类软件打不开,就可以用安全模式试试。如果安全模式下也进入不了的话没有太好的办法了,可以尝试挂盘杀毒,也可以制作一个引导杀毒的工具,很多杀毒软件都有引导杀毒工具,或者是重装系统。
建议你在用杀毒软件检测出木马病毒后,第一时间进行清除。一般当扫描出木马后,都会帮您勾选好所有木马,只需要点击“立即清除”就可以了。有些木马需要重启电脑,为了彻底清除危害千万不要嫌麻烦哦。
感谢您花时间阅读本文!我们希望通过对【精选】Monkey Test的问题进行探讨,为您提供了一些有用的见解和解决方案。如果您需要更多帮助或者有其他疑问,请不要犹豫与我们联系。