Monthly Archives:August 2016


Interview questions @ Infosys

  1. Explain your project and role.
  2. What was your directory structure of your framework
  3. Where do you keep object repository
  4. How do you define WebElement.
  5. Web Element is class or interface
  6. How do you write java program to add 2 no.’s
  7. How do you access a function in a java program
  8. How do you define object in a class
  9. What are different components of selenium.
  10. What is your approach when you get build to test.How do you proceed.
  11. All things are not possible to test using selenium,What are those?
  12. what is regression.
  13. What is a test plan/ What is a test plan template.
  14. What is a test bed

SQL :- write a query to find out second highest salary of an employee and its name

Ans: select name,max(salary) from employee where sal < (select max(sal) from employee)


Advantages of selenium

1. Selenium is pure open source, freeware and portable tool.
2. Selenium supports variety of languages that include Java, Perl, Python, C#, Ruby, Groovy, Java Script, and VB Script. etc.
3. Selenium supports many operating systems like Windows, Macintosh, Linux, Unix etc.
4. Selenium supports many browsers like Internet explorer, Chrome, Firefox, Opera, Safari etc.
5. Selenium can be integrated with ANT or Maven kind of framework for source code compilation.
6. Selenium can be integrated with TestNG testing framework for testing our applications and generating reports.
7. Selenium can be integrated with Jenkins or Hudson for continuous integration.
8. Selenium can be integrated with other open source tools for supporting other features.
9. Selenium can be used for Android, IPhone, Blackberry etc. based application testing.
10. Selenium supports very less CPU and RAM consumption for script execution.
11. Selenium comes with different component to provide support to its parent which is Selenium IDE, Selenium Grid and Selenium Remote Control (RC).