Posts

Fresh Interview Questions

- Difference between abstract class and interface - Types of constructors - Can you call parametrized constructor from default constructor and vica versa - In how many ways you can create an object - Why do we write public static void main() - Explain method overloading and method overriding - What will be the default order of execution of tests in TestNG - How do you control order of exeuction in TestNG- priority, dependsOn - How do you take screenshot in selenium - How do you handle exceptions - Name some of the frameworks you have worked with- TestNG, Junit, POM - Some features of Java 1.8 - Differences in Selenium 2 & 3 - What version of Jenkins you use - What version of Maven - Explain your automation framework - Explain static keyword - What type of data members / method can't be inherited to child class - Private - How do you access private data members of parent class in child class ? - Final keyword. - Is it necessary to intialize the final variable...

Brief cover letter

Role Description - Working independently with multiple remote teams in different geographies - Deliver effectively in fast paced multi-team agile environment - Maintain / Enhance test automation framework - Testing new features & write new test scripts using Selenium, TestNG, Java, Maven - Monitor nightly execution of test run through Jenkins & Selenium grid - Report defects and track them down to closure

Why are you looking for a change

Why are you looking for a change ? I loved my job at ABC Ltd and learned a ton for the first two years, but now the company is going in a different direction that doesn't make as much sense for my career progress -- so I'm looking at new opportunities, like this one. Why are you looking for a change? I worked at Angry Chocolates for four years until last December, when they closed their Edible Nail Polish division and I left the company along with my team. Since then I've been doing a little consulting, networking and looking at other cool companies in the area -- including yours! Why are you looking for a change? I helped to build a great Customer Service program at Wiggly Devices but it's more of a maintenance job now, whereas I'm looking for another big challenge. This opportunity really spoke to me because you're launching a new call center, and that's my specialty. Why are you job-hunting? I worked at the community college i...

String, StringBuilder, StringBuffer (Mutable vs Immutable Objects)

Difference between String and StringBuffer/StringBuilder String is immutable objects means once created it cannot be changed, reference will point to new object. If our application has string manipulation activity, then there will be many discarded string object in heap memory which might result in performance impact. StringBuffer/StringBuilder is mutable StringBuffer/StringBuilder can have characters/strings may be inserted in between or appended at end for which the  StringBuffer/StringBuilder automatically grow Difference between StringBuffer & StringBuilder Methods in StringBuilder are not synchronized hence better performance over StringBuffer Methods in StringBuilder are not synchronized hence it is not thread safe Examples with basic methods String public class StringDemo { public static void main (String[] args) { // Following are 2 ways to instantiate String object String s=new String("ABCDMNOP"); String s1="PqRS...