编程知识 cdmana.com

How to analyze whether a bug is a front-end or a back-end problem? Basic theory of software testing quality assurance

( The article begins with the official account. : Programmer Yifan , The official account replied 【 interview 】 I used to talk about the interview questions of large software testing companies )

 

Whether you do software testing now , At what level .

Theoretical basis of software testing and software quality assurance , Interview is absolutely inseparable .

Software testing, as an industry, has lost its soul without business .

Automation of everything 、 All the programming 、 Some software testing tools , All of them are auxiliary tests .

Our ultimate goal is to ensure the quality of our products .

So no matter what level of Software Testing Engineer , You have to master the theoretical basis of software testing 、 Documentation 、 Testing process .

 

If I'm an interviewer , You're here for an interview .

Well, the first one I'm sure won't ask you about the code , And I won't ask you about automation , And I won't ask you questions about test development .

I'll start with a few years of software testing , Do you have your own software testing thinking , Do you have your own experience .

For example, what are the phases of software testing ? And then the project process you tested before , What are the outputs at each stage ? How to implement it , Your role in software testing .

This kind of software testing interview questions , According to your answer , You know if you have any work experience . What you know about software testing , What are your responsibilities for your position , Is your positioning accurate .

They are all comprehensive issues .

 

Now it's all an agile development model , Many companies use agile development , So can you talk about agile development ?

Let's not limit ourselves to traditional problems , What is a test plan , What is test case writing and so on .

Agile development now belongs to the basic theory of software testing .

 

then Linux What are the common log view commands ? This is something more basic . You should at least be able to view the development log , Database .

 

Then I asked you , Online quality BUG What about frequent outbreaks ? What do you do as a test ? These are comprehensive issues , It's all about testing your work experience .

How many projects have you worked on , How do you deal with these problems .

 

And then how do you analyze one Bug Is it the front end or the back end ?

 

Like this one , This is the beginning of a software testing engineer 、 Intermediate will ask you the interview questions .

Like the problem on the top picture , You have to be able to fully interpret . How many answers can you give ? Welcome to leave a message in the comment area to discuss .

 

When answering these questions , We should base our work experience on it , To summarize .

You can't simply answer “ Right or wrong ”, We need to expand on the basis of the questions asked by the interviewer , Let's take the number 6 One question !

 

And then how do you analyze one Bug Is it the front end or the back end ?

 

You can see the software , Questions like this , You go to Baidu to the Internet is not easy to find . Welcome to talk about your own experience in the comments section .( Grab the bag ? Look at the interface return ?)

Request information through some interfaces , Grasp interface request information .( Some developer tools through the browser )

That is, check the interface , Check the interface. First you have to understand BUG What interfaces does it use , Then check the requested data , Is the data sent correct , What is the background feedback data ?

If the front end does not have a request interface , Or the parameters in the request do not match the requirements , So it must be the front-end problem .

Focus on : Request parameters , The response value returned

So we can look at a simple case .

 

I have a platform here , It's separate at the front and back , Only systems with separate front and rear ends will have this problem .

 

Suppose this is the system we are testing , We're in systems management - User management is there a lot of users here , This is the simplest user management system . Who are the people , Yes admin You know one , There is wood , There are Dangdang and so on .

 

 

Let's delete any of them first , There was no response from the page .

 

 

I'll delete the same one the second time , It reports Userld It doesn't exist, does it ?

 

  So if that's the case , Is it a front-end problem or a back-end problem ? At first glance, it's the front-end problem, right .

Judge the problem , Is it a front-end problem , We'll open it netkwork

 

Let's add a new user , It will call one add Interface , The user is added successfully .

 

 

When I add a user ,bug It may reappear occasionally . So when you look at the interface request , You need to see it. When you delete it, it only calls one interface , So it's not just about deleting this person , It actually needs to refresh this page , It needs to call the interface of the user interface again . At this time, you need to know how many interfaces it needs to call when doing this deletion function .

There may be some interfaces , The developer didn't call it , So that's the front-end problem , We need to take the initiative to refresh this time , Active refresh , It's going to get the whole page again . This time the deletion will take effect on the page . Therefore, this is because the front end calls one less interface .

This is a problem with the front end .

An interface is used .

I'll answer the interview question later , You can answer perfectly , Official account programmers can get detailed video tutorials if they still do not fully understand. .

 

版权声明
本文为[Programmer Yifan]所创,转载请带上原文链接,感谢

Scroll to Top