Your contribution will go a long way in helping us serve more readers. Here are ui design interview questions and answers pdf most frequently asked Software Automation testing interview questions with answers. Test automation plays a very important role in the entire life cycle.
Most of the time when want to prepare for an automation testers interview, we focus only on the tool specific question. We should also consider the fact that learning and knowing the tool is just a mean and it’s not the ultimate goal. Automation is any action which can reduce human efforts. What all things can you automate? How do you identify the test cases which are suitable for automation? Identify the appropriate test cases for automation is the most important step towards automation.
Automating these cases which are not executed that often will not add value to the automated suite. Currently I do not have any automation in place in my project, now I want to implement automation, what would be my steps? Allocating time for enhancing and maintaining the scripts. How do you decide which tool you have to use?
Concluding which tool is best suitable for the project requires a lots of brainstorming and discussions. Once you identify the tool what would be your next steps? Once we finalize the tool, our next step would be to design the framework. A framework is a set of structure of the entire automation suit. It is also a guideline, if followed can result in a structure which is easy to maintain and enhance. What are the attributes of a good framework?
The framework should be adaptable to change. The commonly used methods or utilities should be written in a common file which is accessible to all the scripts. The suite should be written in a consistent format by following all the accepted coding practices. The scripts should be written in such a way that they are independent of each other. It is good to have implemented the logging feature in the framework.
It is good to have reporting feature automatically embedded into the framework. Once the scripting is done, we can have the results and reports sent via an email. Automation framework should be such that it is easy to integrate it with other application like continuous integration or triggering the automated script as soon as the build is deployed. Can you do without a framework? Frameworks are guidelines and not mandatory rules, so we can do without a framework, but if we create it and follow it, enhancing and maintaining would be easy to implement. What are the different types of automation tool you are aware of?
Paid tools like QTP, Load Runner, Ranorex, RFT, and Rational Robot. What generally is the structure of a framework? A file containing the URL, environment and login information. Where you maintain information like URL, login, password? This information should always be maintained in a separate file. Why do you want to keep this kind of information in separate file and not directly in code? URL, Login and Password are the kind of fields which are used very often and these changes as per the environment and authorization.
In case we hardcode it into our code, we have to change it in every file which has its reference. In case there are say more than 100 files, then it becomes very difficult to change in all the 100 files and hence can lead to errors. So this kind of information is maintained in a separate file so that updating becomes easy. What are the different types of frameworks?
Can you tell some good coding practices while automation? Any kind of test which you thing should not be automated? Do you think that testing can be done only at the UI level? Today as we are moving to Agile mode, testing is not limited to the UI layer.