檢查這人有沒有test automation經驗的好問題
在interview 要做test developer 時, 這裡有一些問題, 可以用來檢查他的經驗如何. 我想這修問題還蠻全面性, 你有多少斤兩, 一下應該就可以看的出來.
至於作者寫的答案, 我想參考就好, 有些部份我並不完全相同, 不過可以用它來了解他問題的用意為何, 幫助也是蠻大的.
可惜這些問題大多只能問國外的candidate或是國外回來的, 國內的可能大都是回答不知道!!!
Question about Automation
by Jaanu
http://jaanujeeva.blogspot.com/
1. What automating testing tools are you familiar with?
Ans:
- Win Runner , Load runner, QTP , Silk Performer, Test director, Rational robot, QA run.
2. How did you use automating testing tools in your job?
Ans:
- For regression testing
- Criteria to decide the condition of a particular build
3. Describe some problem that you had with automating testing tool.
Ans:
- The problem of winrunner identifying the third party controls like infragistics control.
4. How do you plan test automation?
Ans:
- Prepare the automation Test plan
- Identify the scenario
- Record the scenario
- Enhance the scripts by inserting check points and Conditional Loops
- Incorporated Error Handler
- Debug the script
- Fix the issue
- Rerun the script and report the result.
5. Can test automation improve test effectiveness?
Ans:
Yes, Automating a test makes the test process:
- Fast
- Reliable
- Repeatable
- Programmable
- Reusable
- Comprehensive
6. What is data - driven automation?
Ans:
- Testing the functionality with more test cases becomes laborious as the functionality grows.
- For multiple sets of data (test cases), you can execute the test once in which you can figure out for which data it has failed and for which data, the test has passed.
- This feature is available in the WinRunner with the data driven test where the data can be taken from an excel sheet or notepad.
7. What are the main attributes of test automation?
Ans:
software test automation attributes :
Maintainability - the effort needed to update the test automation suites for each new release
Reliability - the accuracy and repeatability of the test automation
Flexibility - the ease of working with all the different kinds of automation test ware
Efficiency - the total cost related to the effort needed for the automation
Portability - the ability of the automated test to run on different environments
Robustness - the effectiveness of automation on an unstable or rapidly changing system
Usability - the extent to which automation can be used by different types of users
8. Does automation replace manual testing?
Ans:
There can be some functionality which cannot be tested in an automated tool so we may have to do it manually. therefore manual testing can never be repleaced.
(We can write the scripts for negative testing also but it is hectic task).
When we talk about real environment we do negative testing manually.
9. How will you choose a tool for test automation?
Ans:
choosing of a tool deends on many things ...
- Application to be tested
- Test environment
- Scope and limitation of the tool.
- Feature of the tool.
- Cost of the tool.
- Whether the tool is compatible with your application which means tool should be able to interact with your appliaction
- Ease of use
10. How you will evaluate the tool for test automation?
Ans:
We need to concentrate on the features of the tools and how this could be benficial for our project.
The additional new features and the enhancements of the features will also help.
11. What are main benefits of test automation?
Ans:
FAST ,RELIABLE,COMPREHENSIVE,REUSABLE
12. What could go wrong with test automation?
Ans:
- The choice of automation tool for certain technologies
- Wrong set of test automated
13. How you will describe testing activities?
Ans:
Testing activities start from the elaboration phase.
The various testing activities are preparing the test plan, Preparing test cases, Execute the test case, Log teh bug, validate the bug & take appropriate action for the bug, Automate the test cases.
14. What testing activities you may want to automate?
Ans:
1. Automate all the high priority test cases which needs to be exceuted as a part of regression testing for each build cycle.
15. Describe common problems of test automation.
Ans:
The commom problems are:
1. Maintenance of the old script when there is a feature change or enhancement
3. The change in technology of the application will affect the old scripts
16. What types of scripting techniques for test automation do you know?
Ans:
5 types of scripting techniques:
Linear
Structured
Shared
Data Driven
Key Driven
17. What are principles of good testing scripts for automation?
Ans:
- Proper code guiding standards
- Standard format for defining functions, exception handler etc
- Comments for functions
- Proper errorhandling mechanisms
- The apprpriate synchronisation techniques
18. What tools are available for support of testing during software development life cycle?
Ans:
Testing tools for regressiona and load/stress testing for regression testing like, QTP, load runner, rational robot, winrunner, silk, testcomplete, Astra are availalbe in the market. -For defect tracking BugZilla, Test Runner are availalbe.
19. Can the activities of test case design be automated?
Ans:
As I know it, test case design is about formulating the steps to be carried out to verify something about the application under test. And this cannot be automated. IHowever, I agree that the process of putting the test results into the excel sheet.
20. What are the limitations of automating software testing?
Ans:
Hard-to-create environments like out of memory, invalid input/reply, and corrupt registry entries, make applications behave poorly and existing automated tools cant force these condition - they simply test your application in normal environment.
21. What skills needed to be a good test automator?
Ans:
1.Good Logic for programming.
2. Analatical sklls.
3.Pessimestic in Nature.
22. How to find that tools work well with your existing system?
Ans:
1. Discuss with the support officials
2. Download the trial version of the tool and evaluate
3. Get suggestions from peopel who are working on the tool
23. Describe some problem that you had with automating testing tool.
Ans:
1. The inabality of winrunner to identify the third party control like infragistics controls
2. The change of the location of the table object will cause object not found error.
3. The inability of the winrunner to execute the script against multiple langauges
24. What are the main attributes of test automation?
Ans:
Maintainability, Reliability, Flexibility, Efficiency, Portability, Robustness, and Usability - these are the main attributes in test automation.
25. What testing activities you may want to automate in a project?
Ans:
Testing tools can be used for :
Sanity tests(which is repeated on every build),
stress/Load tests(U simulate a large no of users,which is manually impossibele) &
Regression tests(which are done after every code change)
留言列表