Some time ago, there were new products that needed to be recruited and arranged for and participated in several interviews. I have previously written an article about my recent phone interview experience. I will talk about specific interview questions this time, interview yourself while interviewing others.
The interview questions were designed by my colleagues involved in the interview. I am not clear about the questions of other colleagues. I will talk about two of my own questions.
In the past, there were always questions about how to test the Google homepage, test the cup, test the phone number, and so on. Here is a specific question. The first question is how to test the following table:
I. design test cases for the first problem
Many of the answers obtained during the interview are listed in a single article, for example:
1. Check whether the interface display is normal, various browsers, resolutions, and texts are displayed normally.
2. Is the data consistent with the database?
3. Whether the promote button is normal
4. Check whether the button on the next page of the previous page is normal.
5. Whether the list title supports sorting and whether the sorting function is normal (it is strange that there are not many people mentioned here, and autocomplete of similar drop-down lists is rarely mentioned)
6 .......
Rarely designed according to the test type, such as interface test cases, function test cases, and big data test cases,
I have never heard of listing them based on normal cases and exception cases.
2. If you design this table, what improvements will be made?
1. Some people may notice that there are 99523 results in total, and only forward and backward pages are provided. Do you want to add a Go to page function?
2. It seems that we have seen the first page and the last page in the list flip page. Is it added?
3. There are a lot of results. Do you want to add a search? (in fact, this data is searched)
4. This list displays only 10 results on one page. Can I display more results? Can I add more results to each page?
...
When I asked the second question, some interviewers were confused and often heard that "we all tested based on requirements". Then I asked, Do you pay attention to the user experience,
A lot of answers are: "well designed, we just test it." passive tests are mostly used.
3. What if you implement this table?
1. The simplest way is to pull controls, connect to the database, and bind dataset/datatable data to read data display.
2. directly connect to the database. What should I do if the front-end waits for a long time when the data volume is large?
3. There is still no better, pre-load, generate 10 page results on the server, this technology is used in a large number of online shopping site homepage promotion products
This is an optimization problem. Unfortunately, many tests do not have any interest in the design and implementation of the development, or do not understand it at all.
I have learned that many companies cannot readCodeYou do not have the edit permission to view the code. You can locate the test as a Development Service, but you are not fully using the test to help the development locate the error,
It allows developers to quickly fix defects and more choose to familiarize testing with the business.
4. A test engineer wrote an automated script to flip pages. However, when turning pages to more than 10 thousand results, the browser crashed. Why?
Many people think about this problem and give up, so I am prompted that when the crash occurs, the browser occupies 2 GB of memory, and few people mention viewing logs.
1. Can I write another script to monitor the resource usage of browser operations when using automation?
2. Can the internal test system enable the debug mode to record logs?
3. Can I view the development code and the code of the Development Implementation page?
4. Communicate with developers to troubleshoot errors.
...
I was very disappointed that I was rarely satisfied with the answer to this question. The students who passed the test paid more attention to the depth of the question. I gradually realized these questions as an interview question.
Similar questions, how to test the drop-down list, interested students can practice.
To be continued...