June 2017 - All About Testing June 2017

What is the recipe for successful achievement?

To my mind there are just four essential ingredients: Choose a career you love, give it the best there is in you, seize your opportunities, and be a member of the team.

“All our dreams can come true, if we have the courage to pursue them.”

“I’m a great believer in luck, and I find the harder I work, the more I have of it.”

Success unshared is failure.

To make our way, we must have firm resolve, persistence, tenacity. We must gear ourselves to work hard all the way. We can never let up.

"Everyone you will ever meet knows something you don't."

he fact that I can plant a seed and it becomes a flower, share a bit of knowledge and it becomes another's, smile at someone and receive a smile in return, are to me continual spiritual exercises.

The secret of success is to do the common things uncommonly well.

Good things come to people who wait, but better things come to those who go out and get them.

Tuesday, 13 June 2017

CitiusTech Selenium/Java Interview Questions

1. What is the difference between Grid and Webdriver API?


2. How would you save a cookie value in Webdriver?


3. How would you locate a button which is present on UI with only Span class? It doesn't have an Id, class or 
anything.


4. Write a code for the explicit wait.


5. How will you invoke Firefox browser?


6. What will be the logic behind fetching a data from the data provider and inserting it on UI?


7. How will you specify a data provider under Test annotation?


8. Write a program for the reverse string.


9. How does method overriding differs from abstraction and inheritance?


10. Can we override the main method? Explain the reason.


11. Explain OOPS concepts?


12. Why do we go for POM? What does it refer to?


13. What is the difference between String and String Buffer?


14. What is the difference between String Buffer and String Builder?


15. What is mutable and immutable?


16. How will you configure Ant, Jenkins?


17. Why do we go for Apache API? The basic purpose behind it.


18. Script writing for a login page which is being used at your organization.


19. Why do we use generics for getting a list of multiple elements?


20. In what way method overriding in polymorphism and inheritance differs with each other?


21. What is the flow of fetching data from excel using Apache POI?


22. Why do we provide '\\' in java while fetching a path of excel?


23. What are the types of exception which will appear finding elements?


24. What is an object array and why do we use it for data-provider.


25. What is the syntax of defining a data-provider class under @Test?


26. The difference between method overriding and overloading.


27. What is Static and Dynamic Polymorphism?


28. What is Static and Nonstatic in Java?


29. Explain OOPS concepts.

Xorient Technology Interview Questions

1. Tell me about yourself and project you are working?

2. Why we use static in the main method in java?

3. What is FindElement in WebDriver?Is it method or class?

4. What is WebDriver?

5. How do you write XPath? Give some example.

6. What is page object model? How will you implement this?

7. If we need to automate IRCTC website using page object model. How will you do this?

8. What is an object? What is the use of it?

9. What is the use of this code:

        WebDriver driver = new ChromeDriver();
   Please explain.

10. Which framework are you using?

11. What is Jenkins? How we can run the build?

12. What is web services?

13. What is WSDL?

14. Which protocols we are used in web services?

15. How to verify web services response?

16. Which response code do you know?

Friday, 2 June 2017

IbS Software Interview Questions

1. How do you create a project with the data of existing project?

2. After creating a new project with old data what are the changes you do?

3. What are the methods available in TestNG which are not there in JUnit?

4. What are benefits of using a method driven framework?

5. Reverse string "arshad - shaik", Output should like "Dahsra - kiahs"?

6. How do you handle if you getNoClassFoundException??

7. If you want to run only few test script then what is your scope?

8. How do you debug fail test cases?

9. Explain your current project?

10. Explain Framework?

11. What is white box testing?

12. How do you integrate Jenkins?

13. Which version of selenium you are using and how do you update it?

14. Today is your test script is running fine but tomorrow it won't run. What will you do?

15. Can you create package inside a package?

16. What are the challenges you have faced in your current automation project?

Capgemini Interview Questions

1. Explain the framework which is used in your project.

2. Write the code to fetch data from excel sheet. (most important question asked in most of the interview)

3. What is StaleElementReferenceException ?

4. What is Encapsulation?

5. What is polymorphism? Real time example?

6. What is the difference between /a and //a[tr] ?

7. Write a program to reverse the string?

8. What is the difference between implicit and explicit wait? Write syntax?

9. List the pop-ups and write code to handle it?

10. Write an anagram program?

11. Write a program to take a screenshot?

12. try {
           }
      catch(ArithmeticException ae){
       }
      catch (Exception e){
      }
      catch (LogicalException le){
      }
   Which catch block executed if you get Arithmatic Exception ?
   Which catch block executed if you get the Logical Exception?

13. There are 4 textboxes with the same class name but different id. How to fetch the text present in all textbox?

14. How do you click on checkbox using XPath?

15. How to print all the options present inside multiple Listbox?

16. In how many ways do you find the element in the web page?