Cognizant Selenium Interview Questions - All About Testing Cognizant Selenium Interview Questions

Monday 15 May 2017

Cognizant Selenium Interview Questions



  1. How to switch from frame to the main window? tell syntax.
  2. What is the difference between POM and page factory?
  3. Where does automation fit into the testing flow?
  4. What are challenges that you faced while automating test cases?
  5. If the element is loaded by taking much time how to handle dis situation in selenium.
  6. What is the problem with thread.sleep in code?
  7. What is the concept of selenium grid?
  8. When we execute test cases in the grid where results will be stored in node or hub?
  9. Difference b/w quit and close.
  10. What all annotations used in TestNG in your project?
  11. If we wanna do data driven with TestNG what are all annotations required?
  12. Is it possible to pass test data through TestNG .xml file, if yes how?
  13. How to run specific kind of test cases using TestNG?
  14. How to prioritize test cases in TestNG?
  15. What are all interfaces available in selenium?
  16. Actions is class or interface?
  17. Why we using TestNG? what are benefits we get using TestNG? Can’t we execute test cases in order without using TestNG?
  18. Explain polymorphism in Java.
  19. What are types of inheritance in Java?
  20. Is multiple inheritance is possible in java? tell reasons.
  21. Is multilevel inheritance is possible in java? give the reason.
  22. How to check image is loaded correctly or not in the page?
  23. What is the purpose of sikuli?
  24. Is it possible to compare two images with sikuli?
  25. How do you compare the image in some path of drive and image on the page?
  26. Tell syntax for sikuli code.
  27. How to handle file upload window in selenium?
  28. Write a code for DB connection.
  29. Explain your project structure and flow.
  30. How do you handle exception handling in selenium?
  31. Explain runtime and compile time polymorphism.
  32. Write a code for multiple handling windows.
  33. How do you handle synchronization in selenium?
  34. How to generate user defined exceptions, write syntax.
  35. Difference between throw and throws keyword.
  36. What is auto it? how will you execute auto-it code in selenium?
  37. How to handle elements like ajax?
  38. How to handle elements which have no attribute inside tag?
  39. What is protractor?
  40. What are locators present in protractor?
  41. Explain oops concepts.
  42. Difference between sikuli and auto it.

0 comments:

Post a Comment