当前位置:网站首页>Appium interview questions

Appium interview questions

2022-06-22 02:00:00 wangmcn

Catalog

1、Appium What are the characteristics of ?

2、 carry ⼀ Next Appium Advantages and disadvantages ?

3、 What are the different types of mobile applications ?

4、 What are the important mobile application tests ?

5、Appium What types of tests are appropriate ?

6、Appium Inspector What does that mean? ?

7、 explain Appium The architecture of ?

8、 How much do you know about end-to-end Mobile Test Automation ? What should be kept in mind when performing end-to-end Mobile Test Automation ?

9、 What is mobile application testing , How is it different from mobile testing ?

10、 explain Appium The use of JSON Wire agreement ?

11、 stay Appium In the context of Appium Session?

12、 Testers are using Appium Can I run tests in a multithreaded environment when ?

13、 Is it possible to run Appium Used during testing JavaScript Interact with Applications ?

14、 explain Appium How it works ?

15、 distinguish Appium and Selendroid?

16、 distinguish Appium and Robotium?

17、 distinguish Appium and Selenium?

18、 Distinguish between open source tools 、 Supplier tools and internal tools ?

19、 Do you think automated testing can completely replace manual software testing ?

20、 Mention the tests you can't do with an emulator but can do with real equipment ?

21、 To write Appium What are the basic requirements for testing ?


1、Appium What are the characteristics of ?

Appium No need to make ⽤ Should be ⽤ The source code or library of a program .

Appium Have ⼀ Full of life ⼒ And participation ⾼ The developer community of , So you can easily get help from the community .

Appium ⽀ Hold multi platform test , This means that it can be in iOS Move 、Android Mobile and Windows table ⾯ Should be ⽤ Programs and other platforms ⾏ The same test ⽤ example .

Appium Allow test scripts to be combined with other test scripts ⾏ shipment ⾏.

Appium Medium ⼩ Modification does not require reinstallation ⽤ Program .

Appium ⽀ Hold envoy ⽤ Selenium Multiple languages of the client library ⾔, Include C#、Python、Java、Ruby、PHP、 with node.js Of JavaScript wait .

2、 carry ⼀ Next Appium Advantages and disadvantages ?

Appium The advantages of :

Appium yes ⼀ Open source should ⽤ Program , This means it's free to download and easy to set up .

It can ⽤ In mixing 、 Native and Web Should be ⽤ Program upload ⾏⾃ Dynamic test .

In order to make Appium And ⾃ Automation compatible , You do not need to ⽤ Integrate any new agents into the program , This is solved with other tests ⽅ The case is different . It will be uploaded to App Store The answer is ⽤ Procedural progress ⾏ test .

Appium Now there is ⼀ New features . Except that the movement should ⽤ Program testing , It is still ⽀ a Windows table ⾯ Should be ⽤ Program testing .

Appium yes ⼀ A cross platform 、 Open source mobile testing solutions ⽅ case , Allow us to enter ⾏ Cross platform testing . therefore , You will be able to cross multiple platforms into ⾏ test (Android and IOS Single of the platform ⼀ API).

Appium The shortcomings of :

No ⽀ a ⽣ When it comes to success ⾏ A detailed report of the test .

The test is a little slow , Because they depend on remote Web The driver .

Appium send ⽤ UIAutomator for Android, It only ⽀ a Android SDK、API 16 Or more ⾼ edition , This is not a limitation ,⽽ It's overhead . another ⼀⽅⾯,Appium Ben ⾝ Does not ⽀ Hold early API. in order to ⽀ Hold the older API, It makes ⽤ 了 ⼀ One is called Selendroid Open source library .

stay Mac OS On the device ,⼀ Only one shipment at a time ⾏⼀ individual iOS Script , It means ⼀ Only one shipment at a time ⾏⼀ One test . If we want to be in multiple iOS Equipment transportation ⾏ Our test , We will need the same number of Mac machine . another ⼀⽅⾯, Organize many Mac The cost of the machine will be very ⾼.

3、 What are the different types of mobile applications ?

primary ⽣ Should be ⽤ Program : primary ⽣ Should be ⽤ Procedure is ⽤ Specific programming language ⾔( for example iOS Of Objective C or Android Of Java) Programs written and installed directly on the device , Allow it to fully benefit ⽤ All features of the equipment . This machine should ⽤ The program can be offline ⼯ Do and benefit ⽤ Notification system of equipment . Should be ⽤ The store ( for example Google Play or Apple Of App Store)⽤ When installing this machine, it should ⽤ Program . The machine shall move ⽤ The program has ⾼⽔ Flat performance and reliability .Temple Run、Candy Crush And other local should ⽤ The program is ⽰ example .

Web Should be ⽤ Program :Web Should be ⽤ Programs are created specifically for mobile devices 、 Adjustment and managed movement Web Gateway . send ⽤ Mobile device's Web On Browser URL Visit them . When HTML5 When it was released ,⼈ We learned that they can have native like functions in their browsers , also Web Should be ⽤ Program becomes ⾮ Constant flow ⾏. Device functions are moving Web Should be ⽤ It is not allowed to ⽤.Google.com、m.snapdeal.com、m.yahoo.com And more ⽹ All stations are Web Should be ⽤ programmatic ⽰ example .

Mixing shall be ⽤ Program : Embedded ⼊ Transport on the equipment ⾏ And make ⽤ Web Technology created natives should ⽤ programmatic Web Should be ⽤ The procedure is called mixing ⽤ Program (HTML5、CSS and JavaScript). Mixing shall be ⽤ The program is transported in the local container ⾏, And make ⽤ The browser engine of the device (⽽ Not a browser ) Render locally HTML And handling JavaScript.Web A layer of abstraction to the native allows you to access mobile Web Should be ⽤ It is not allowed to ⽤ Device functions of , For example, accelerometer 、 Cameras and local storage . Mixing shall be ⽤ The procedure is not limited to single ⼀ Platform or mobile device . therefore ,⼀ Once built , It can be shipped on any device ⾏.Flipkart、Facebook、Twitter And other mixtures should ⽤ The program is ⽰ example .

4、 What are the important mobile application tests ?

can ⽤ Sex tests : can ⽤ The sex test is Web Should be ⽤ Program testing ⼀ Kind of ,⾮ It is often appropriate to assess that ⽤ How the program makes ⽤ It is easier for users to realize their ⽬ mark . In this test , Participants are given specific 、 The real environment makes ⽤ Should be ⽤ Program . In collecting ⾃ Final ⽤ User's direct input ⼊ On the basis of , can ⽤ Sex testing is also reliable . therefore , The test process is unbiased , At the same time, ensure that the protruding area is improved . can ⽤ Usability testing also ensures that the design is intuitive , And give priority to ⽤ Sex and customer experience .

Performance testing : The performance test is to move the response ⽤ Program testing ⼀ Important ⼦ Set ,⽤ The inspection shall ⽤ The program is in various ⼯ Performance under load 、 Stability and response energy ⼒. The main tasks of performance testing ⽬ The mark is to ensure that ⽤ The program is fully compliant with performance ⽬ mark . Besides , It should start ⽤ The program has previously addressed performance limitations . The bottleneck is the process inside the overall function of the system , It will cause the overall performance of the system to slow down or stagnate . The load test 、 Capacity test 、 Soak Test 、 Peak test and pressure ⼒ Tests are all streams ⾏ Performance evaluation form of .

Security testing : In today's world , Safety is ⼏ Almost every move should ⽤ Application development ⼈ Member's main concern . As report goes , For safety reasons ,80% Of ⽤ Users are more likely to delete should ⽤ Program . therefore , Focus on moving should ⽤ Security testing ⾄ It's important . Some programs ( For example, brigade ⾏ Should be ⽤ Program ) need ⽤ Of households ⼈ Information comes in ⾏ Various transactions . If your should ⽤ The program needs something similar , You must ensure that ⽤ Confidentiality of the program 、 Integrity and authenticity . You should be in your ⽤ Program upload ⾏ strong ⼤ Test of , To make sure there is no ⼈ Through unfair ⽅ Type invasion ⼊ He ⼈ Account for .

Interrupt test : The interrupt test shall be used to determine whether ⽤ When a program is interrupted before returning to its previous state ⾏ by ⾮ Always important . Call or text message 、 alert 、 Come on ⾃ Mobile response ⽤ Push notification of the program 、 The battery charge is not ⾜ Or full 、⽹ Loss and recovery of network connection and plug-in during charging ⼊ Or pull it out ⽰ example . If you send ⽣ interrupt , Should be ⽤ Programs should usually run in the background ⾏ And return to the previous state .

⼿ Dynamic test :⼿ The dynamic test is ⼀ A proven ⽅ Law , It can completely solve the problem of movement ⽤ The complexity of program testing .⼿ Dynamic testing ensures that the finished product performs at its best as planned ⽅ Type of transport ⾏. stay ⽤ Example is not ⽴ Instant display ⽽ Easy to see , It has a special ⽤. Professional QA test ⼈ The assessor can evaluate the response in a short time ⽤ Procedure and ensure that it produces ⽣ Accurate results .

Compatibility test : Compatibility testing is the most important mobile should ⽤ Type of program test ⼀. It is ⼀ Kind of ⾮ Functional test form , This ensures that the movement should ⽤ Programs on various operating systems 、 Should be ⽤ Program 、 equipment 、 Internal hardware specifications and ⽹ Functions under network conditions . The compatibility test determines that the movement should ⽤ Whether the program is compatible with various operating systems and versions . It also tests the movement should ⽤ Programs and equipment 、 browser 、⽹ Network and other features compatibility . Backward compatibility testing and forward compatibility testing are two types of compatibility testing .

Localization testing : Movement for a particular geographical location should ⽤ The program must go into ⾏ Localization testing . The test movement shall ⽤ The program is unique to the region ⾔ and ⽂ turn ⽅⾯ The response of ⼒⾄ It's important . Local currency 、 send ⽤ The right time zone ⽇ Period and time format 、 Numerous local regulatory requirements and ⽂ Ben he ⽤ Household sector ⾯ It is only evaluated by localization test ⼏ It's an important area .

A functional test : Function movement shall be ⽤ Program testing ensures that ⽤ The function of the program is full ⾜ Specified requirements . This form of testing focuses on moving should ⽤ The main part of the program is ⽬ Bid and process . The functional test shall determine that ⽤ Whether the program can be started and installed correctly . It also tests the simplicity of registration and login , And the presentation of push notifications ⽂ Correct operation of this box and button .

Install the test : Install the test , Also known as implementation testing , Is to ensure that the movement should ⽤ The program is installed and removed correctly ⽅ Law . Besides , Installation testing is important to ensure that updates ⽆ Sew and ⽆ Mistakes are necessary . The installation test also checks if ⽤ The user failed to update the mobile account ⽤ The program will send ⽣ what .

⾃ Dynamic test : Some movements should ⽤ Program quality assessment is too complex and time-consuming . under these circumstances , Mobile response ⽤ Program testing ⾃ Mobile services began to play a role ⽤, Provide the best preparation and effective execution ⾏ Of ⾃ Automation test and ⼿ Dynamic test , This helps ensure quality , It also allows for faster release of quality products . therefore , When moving should ⽤ Program testing ⽅⾯,⾃ Automated testing is a reliable source of time and cost savings . There are many kinds of ⼯ Can hold ⾏⾃ Dynamic test .Appium That's one of them ⼀.

5、Appium What types of tests are appropriate ?

In into ⾏ When testing , Many scenarios can be tested , Especially for Web Should be ⽤ Program , It depends on the functional coverage you want to ensure .Appium In the test ⽤ Hu is making ⽤ Your answer is ⽤ It is very helpful for the scenarios encountered in the program .

On the other hand , If you need to test more than UI Simple interaction , that Appium It will become a limitation . Consider functions such as keyboard input . When it comes to complex touch / Keyboard mixed environment , The probability of error failure is very high ⼤. send ⽤ Appium Exchanging data is another ⼀ individual ⼩⿇ Bother . When your test needs to work with your response ⽤ When programs exchange data , You need to make ⽤ Strategies . So remember , Sending and receiving messages is not always that simple . This is not Appium The fault of .WebDriver The specification was created to ⾃ Automation process ,⽽ Not data exchange .

6、Appium Inspector What does that mean? ?

Appium Provides ⼀ individual “Inspector” To record and playback , Be similar to Selenium IDE Recording and playback of ⼯ have . It checks ⽂ File object model to record and play the local response ⽤ Program ⾏ by , And with any ⾸ Choice of words ⾔ Provide test scripts . You can make ⽤ Appium Desktop Medium Inspector To find or locate what should be ⽤ Elements of the program .

In order to locate ⼀ Elements ,Appium The inspector provides four options :

(1) adopt id Look for the element .

(2) Find elements by class name .

(3) Through accessibility id Look for the element .

(4) adopt xpath Look for the element .

Appium Inspector No ⽀ a Windows,⽽ Is to make ⽤ UIAutomator Viewer as an option .

7、 explain Appium The architecture of ?

Appium yes ⼀ individual ⽤ node.js Programming language ⾔ Realized HTTP The server . It creates... On the device ⼀ Servers and waiting to come ⾃ Lord Appium Proxy command of the server . The test script consists of a test ⼈ Write and run on the equipment or simulator ⾏.Appium For various platforms ( Such as Android and iOS) Create and manage many webdriver conversation .

test ⼈ member ⽣ As a request, the generated test script is sent to Appium The server , Then execute on the simulator or device ⾏. Every supplier has ⾃⼰ Technology and ⽅ To perform on the device ⾏ test ⽤ example , for example IOS or Android. therefore , test ⽤ The example is Appium The server runs after receiving the command ⾏. To transmit command requests to Appium The server ,Appium send ⽤ JSON(Javascript Object Notation) Cable protocol . Here ⾥,JSON ⽤ To transfer data between the server and the client .

8、 How much do you know about end-to-end Mobile Test Automation ? What should be kept in mind when performing end-to-end Mobile Test Automation ?

End to end movement should ⽤ Program testing ⾃ Dynamism is ⼀ A software product is tested from beginning to end to ensure that ⽤ The program flow goes as planned ⾏ Of ⽅ Law . It built ⽴ The system requirements of the product and ensure that all integrated components operate as expected ⾏.

End to end (E2E) Mobile response ⽤ Program testing ⾃ Dynamic ⽬ The mark is from the final ⽤ Household ⾓ Du Jin ⾏ test , By copying ⽤ Household emissary ⽤ Should be ⽤ The reality of the program , And confirm the tested system and its ⽤ Components for data integrity and integration .

Now , software system ⾮ Often complicated , And with many ⼦ The system is integrated in ⼀ rise . If ⼦ Systematic ⼀ Hair ⽣ fault , Then the whole software system may send ⽣ fault . We take ⽤ End to end movement shall be ⽤ Program testing ⾃ Automation to eliminate this ⼀ huge ⼤ risk .

Holding on to ⾏ End to end mobile testing ⾃ When moving , The following should be kept in mind ⼏ spot :

(1) Should be ⽤ Program installation .

(2) In the absence of ⽹ Network access rights ⾸ The start-up shall be ⽤ Program .

(3) Should be ⽤ Program uninstall .

(4) If we should ⽤ The program is in ⽔ In the flat mode, the ⽀ a , You should ⽤ programmatic ⽅ towards .

(5) In various equipment and ⽹ The test under network conditions shall ⽤ The performance of the program .

(6) The test shall ⽤ The response of the program and in providing ⽆ Effective ⽤ The user credentials when it reacts .

9、 What is mobile application testing , How is it different from mobile testing ?

Test for ⼿ Should be made with mobile equipment ⽤ Functions of program software 、 can ⽤ Sex and ⼀ The practice of consistence is called moving should ⽤ Program testing . Mobile response ⽤ Program testing can pass two ⽅ Complete with :⾃ Move or ⼿ dynamic .

It is different from mobile testing , Mobile testing focuses on the original of mobile devices ⽣ Should be ⽤ Program function , For example, call 、 SMS, media player, etc . meanwhile , When moving should ⽤ In the test , We only focus on the specific should ⽤ Operation and end-to-end features of .

10、 explain Appium The use of JSON Wire agreement ?

JSON Wire Protocol Is to exchange client and server data ⽅ Law . It is from WebDriver Development of ⼈ Created by . According to them , The agreement was signed by ⼀ The group passed RESTful API The standardized endpoints provided to the client consist of . This makes webdriver Ability to communicate with servers and clients , With ⾃ Action and execution ⾏ Mission . In this Agreement ,JSON ⽤ To transfer data between the server and the client . Before delivering the object to the server , client ( Or luck ⾏ WebDriver API The computer ) Convert it to JSON object .JSON The object is parsed by the server and converted back to JavaScript object . The response object is converted from server to JSON String and return to the client . In order to make ⽤, The client will JSON String conversion to JavaScript object .

Client and server through JSON Wired protocols communicate with each other . Server to the appium The server sends a request to run ⾏ test ,appium The server sends the response back to the primary server .

Appium send ⽤ Move JSON Wire agreement , It is Selenium JSON Wire Protocol extension . In addition to building ⽴ Out of traffic , It also ⽤ It is applicable to other ⼿ machine ⾏ by .

11、 stay Appium In the context of Appium Session?

Appium A session is a response to a particular test ⽤ The medium through which a program sends commands . Commands are always up and down the conversation ⽂ The bigot ⾏. Holding on to ⾏ Before any command , The client makes ⽤ The session identifier is used as sessionId Parameters . The client library requests a session from the server . after , The server will return ⼀ individual sessionId Endpoint , This endpoint can be ⽤ Submit other commands to correspond with the under test ⽤ Program progression ⾏ Interaction .

Every “ test ” All contained in ⼀ In one session . Whereas Appium yes ⼀ A simple client and server based ⽅ Law , This is No ⾔⽽ Metaphorical . Release request , Also called session request , Sent by the client to the server . These queries make ⽤ JSON Wire Protocol With JSON Object format to communicate and convey information .

12、 Testers are using Appium Can I run tests in a multithreaded environment when ?

Yes ,Appium Allow testing ⼈ Members execute in a multithreaded environment ⾏ test . They only ⼀ Need to bear ⼼ It is important not to target the same at the same time ⼀ individual Appium Server operation ⾏⼀ One test .

13、 Is it possible to run Appium Used during testing JavaScript Interact with Applications ?

Yes , We can transport ⾏ Appium Make... During the test ⽤ javascript Correspond to ⽤ Program interaction . When we're in Appium Hold on to ⾏ When the command , The server will transfer the script encapsulated in the anonymous function to our application ⽤ Program , Then hold ⾏.

14、 explain Appium How it works ?

When we're in PC Installation on Appium when , It also installs ⼀ Public REST API Server for . It accepts ⾃ Client commands and connection requests , And in iOS or Android On the device ⾏ they . It makes ⽤ HTTP Respond, respond HTTP request . It makes ⽤ Mobile Testing ⾃ Automatic frame operation ⾏ Should be ⽤ programmatic ⽤ Household sector ⾯ To hold ⾏ request .

For example ⼦:UIAutomator ⽤ On Android API 16 Or more ⾼ edition ,⽽ Selendroid ⽤ On Android API 15 Or earlier .Apple Instruments ⽤ On iOS.

Appium stay Android Upper ⼯ do :

Appium Send the command to at Android Equipment transportation ⾏ Of UIAutomator Script .UIAutomator yes ⼀ individual Android primary ⽣ UI ⾃ Dynamic framework , Allows you to direct commands from the device ⾏ shipment ⾏ Junit test ⽤ example . Even though it is ⽤ Java Compiling , but Appium Can be from any ⽀ a WebDriver The language of ⾔ shipment ⾏.Android send ⽤ 了 ⼀ individual TCP The server bootstrap.jar. it ⽤ In the direction of Android The device sends a test command , then UIAutomator Can hold ⾏ This command .

Appium stay iOS Upper ⼯ do :

because Android send ⽤ UIAutomator,iOS send ⽤ UIAutomation. And Android similar ,Appium Delegate the command to the Mac Instrument environment transportation ⾏ Of UIAutomation test ⽤ example .Apple This should be provided ⽤ Program “⼯ have ”, It can hold ⾏ All kinds of activities , For example, build 、 Analysis and control iOS Should be ⽤ Program . another ⼀⽅⾯, It has ⼀ individual ⾃ Automation components , You can ⽤ JavaScript Writing commands . It makes ⽤ UIAutomation API Correspond to ⽤ Program UI Interaction .Appium send ⽤ Same library ⾃ Dynamic iOS Should be ⽤ Program .

15、 distinguish Appium and Selendroid?

Selendroid:Selendroid yes ⼀ A sophisticated test ⾃ Dynamic framework ,⽤ To test the original ⽣ And mixing Android Mobile response ⽤ Program . The test is to make ⽤ Selenium 2 client API Created , And by moving or Web Should be ⽤ programmatic ⽤ Household sector ⾯ drive .Selendroid yes ⼀ A dynamic mobile testing framework , Can be in simulator and real Android intelligence ⼿ On board use ⽤, You can choose to set to Selenium Grip The nodes in the ⾏ and ⾏ Testing and extension .

Here are Appium and Selendroid The difference between :

Appium yes ⼀ A fit ⽤ On iOS and Android The open source ⾃ Automatic solution ⽅ case ,⽽ Selendroid yes ⼀ Only Android Test of ⾃ Dynamic framework .

Appium Medium ⼩ Modification does not require reinstallation ⽤ Program . however ,Selendroid It needs to be reinstalled ⽤ Program , Even in ⾏ Compared with ⼩ The same is true after the modification of .

Appium Have ⼀ A pang ⼤⽽ An active developer community ,⽽ Selendroid There is no .

Appium And ⼴ General framework and language ⾔ compatible . another ⼀⽅⾯,Selendroid And Jenkins and Selenium ⼀ rise ⼯ do .

And Selendroid Different ,Appium No need to make ⽤ Should be ⽤ Program source code or library .

Appium ⽀ Hold all Android API.Appium take UIAutomator ⽤ In ⼤ At or equal to 17 Of API Shangyun ⾏ Test of ,⽽ take Selendroid ⽤ In older API Shangyun ⾏ Test of . another ⼀⽅⾯,Selendroid Corresponding to different versions of Android API There are different versions .

16、 distinguish Appium and Robotium?

Robotium:Robotium yes ⼀ A fit ⽤ On Android Test framework for , can ⾃ Action and execution ⾏ primary ⽣ And mixing shall ⽤ Program testing ⽤ example . Development ⼈ The clerk can make ⽤ Robotium by Android Should be ⽤ Program construction is strong ⼤ Of ⾃ Dynamic graphics ⽤ Household sector ⾯ (GUI) test ⽤ example . Development ⼈ Members can also design functions 、 System and acceptability test scenarios , Coverage ⼴ General Android Activities .

Here are Appium and Robotium The difference between :

Appium yes ⼀ A cross platform test ⼯ have , optimum ⽤ On iOS and Android equipment . another ⼀⽅⾯,Robotium Is limited to Android.

Robotium only ⽀ a Java Programming language ⾔, but Appium ⽀ It's multilingual ⾔.

Appium ⼯ The appliance does not need any stress ⽤ Program source code or library ,⽽ Robotium ⼯ Tools need .

Appium Can test the original ⽣、Web And mixing movement should ⽤ Program ,⽽ Robotium Only the original ⽣ And mixing movement should ⽤ Program .

Appium ⽀ Hold many frames , for example Selenium. another ⼀⽅⾯,Robotium And Selenium Incompatible with many other frameworks .

You don't have to go in every time ⾏⼀ When you click Modify, reinstall Appium. however ,Robotium Simple changes to the code require a complete rebuild .

17、 distinguish Appium and Selenium?

Selenium:Selenium yes ⼀ Open source ( free )⾃ Automated test framework ,⽤ For validating across multiple browsers and platforms Web Should be ⽤ Program .Selenium Test scripts can ⽤ Multiple programming languages ⾔ To write , Include Java、C#、Python etc. .

Here are Appium and Selenium The difference between :

Based on making ⽤:

Appium - Appium yes ⼀ Seed flow ⾏ Of ⾃ Automated testing of open source software , Especially in the original ⽣ Should be ⽤ Program ( Such as Android and iOS Should be ⽤ Program ) in . It can also ⽤ In Android and iOS Environmental transport ⾏ The mixing of shall ⽤ In the program . This type of ⾃ The automation test can ensure ⼀ Dan Ying ⽤ Program cast ⼊⽣ production , There will be no systemic problems with any particular patch installation . It ensures complete integration testing , And avoid testing ⼈ Clerical ⼤ Volume ⼒ labour . By making ⽤ Appium,⽤ Users can easily avoid every time ⼿ The dynamic test shall be carried out on the whole ⽤ Each function of the program .

Selenium - Selenium yes ⼀ Seed through ⽤ Of ⾃ Dynamic test ⼯ have , Designed for any type of Web Should be ⽤ Program building . It is compatible with all current streams ⾏ Browser and operating system , Such as Windows、Linux and MACOS.

Based on design :

Appium - Appium The main ⽤ do HTTP The server , Because it will handle any type of movement should ⽤ Program . however , It's mainly in node JS Follow or develop the same ,⽽ Not to make ⽤ The standard Java or JS Code . therefore , Want to move in any type should ⽤ In the process of making ⽤ Appium Into the ⾏⾃ Development of automated testing ⼈ Staff must first install... On their systems Node JS, Then we can make ⽤ Appium ⼯ have .

Selenium - Selenium The main ⽤ It's about maintenance Web Should be ⽤ Procedure or ⽹ On the page ⾃ Dynamic logic . Its creation ⽅ The formula makes it possible to make ⽤ Browser activity responds quickly and easily to ⽤ Program interaction .

18、 Distinguish between open source tools 、 Supplier tools and internal tools ?

Open source ⼯ have : Open source ⼯ It is free to use ⽤ The framework and should ⽤ Program .⼯ The engineer built this ⼯ have , And on the Internet ⽹ Free of charge to others ⼯ Cheng Shi 、 Development ⼈ Members or enthusiasts develop and use ⽤, This is for ambitious developers ⼈ For the clerk ⾮ Often beneficial .

supplier ⼯ have : supplier ⼯ To have or cause to ⽤ Its ⼯ Companies with licenses for and codes are created . Can be interconnected ⽹ Get these ⼯ With the technology ⽀ a .

Inside ⼯ have : Inside ⼯ The company is ⾃⼰ send ⽤ and ⾃ I develop ⽽ Developed ⼯ have . They will never be available to the general public .

19、 Do you think automated testing can completely replace manual software testing ?

No ,⾃ Automated testing cannot completely replace ⼿ Dynamic software testing . This is because ⽤ Of ⼯ The tool is designed to execute after setting ⾏ test , And appropriately ⾃ Automation requires as little as possible ⼈⼯ Participate in . Although it is ⽅ then , But it should not ⽤ Instead of ⼿ Dynamic test ; contrary , It should ⽤ In repetitive activities , For example, thousands of virtual machines are required ⽤ Load test of users . If you only plan to ship regularly ⾏ The test script , be ⼯ Engineers should not ⾃ Automated test scripts , Nor should it be necessary ⼈⼯ Participate in new software builds to detect errors ⾃ Automate code reviews or error testing . total ⽽⾔ And , We can say ⼤ scale 、 Repetitive ⼯ It is more suitable for ⾃ Dynamic .

20、 Mention the tests you can't do with an emulator but can do with real equipment ?

Here's what we can do with real devices ⾏ But in the simulator ⽆ Fajin ⾏ Test list for :

(1) Test interrupts during calls and messages .

(2) The battery charge is not ⾜ Should be ⽤ The performance of the program .

(3) Should be ⽤ The program makes... On the battery ⽤ Influence .

(4) The scenario of installing or uninstalling a memory card from a device .

(5) The test involves blue ⽛ The emissary of ⽤.

21、 To write Appium What are the basic requirements for testing ?

Driver client :Appium Driver client emulation ⽤ The user is moving and should ⽤ In program ⾏ by .Appium Tests can be built with the help of client libraries , It encapsulates the various stages of testing and passes HTTP Send it to Appium.

Appium Session: because appium The test is in ⼀ individual session Zhongyun ⾏ Of , therefore ⾸ First set up ⼀ individual appium session It's important .⼀ Dan conversational ⾃ The automation is over , It will be finally ⽌,⽤ Households will have to wait ⼀ One session .

Expected to ⼒: In order to start the ⼀ individual appium conversation , Design ⼀ Some parameters called expected parameters are ⾄ It's important to . Platform version 、 Platform name 、 The device name and many other parameters are in these parameters . This also helps define Appium The server is expected to provide ⾃ Automation type .

Command driver :Appium Provides a way to make ⽤⼤ Quantity and performance ⼒ The command build test can ⼒.

Highlights

Written interview series

Mind map series

Linux Common command wallpaper

Interface Requests series

The test framework pytest series

Jmeter Quick interface test

Automatic test framework structure diagram

Mobile security framework (MobSF)

原网站

版权声明
本文为[wangmcn]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220126018731.html