0% found this document useful (0 votes)
106 views

Realtime Interview Questions

The document contains interview questions from two companies - IGT and Aptean. For IGT, questions focus on testing concepts like smoke vs sanity testing, defect lifecycle, testing methodologies, localization testing, test execution reports, test plans, and risk-based testing. For Aptean, questions cover code completion, release candidates, differences between applications and DLLs, compatibility testing, performance vs automation testing, and database connectivity.

Uploaded by

Lân Hoàng
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Realtime Interview Questions

The document contains interview questions from two companies - IGT and Aptean. For IGT, questions focus on testing concepts like smoke vs sanity testing, defect lifecycle, testing methodologies, localization testing, test execution reports, test plans, and risk-based testing. For Aptean, questions cover code completion, release candidates, differences between applications and DLLs, compatibility testing, performance vs automation testing, and database connectivity.

Uploaded by

Lân Hoàng
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 38

IGT interview questions -Exp-3+yrs

1. Introduce yourself.
2. Explain your project.
3. Difference b/t smoke and sanity testing. Explain according to your project.
4. Defect Life Cycle explain. If you face any duplicate bug how will you handle it in your defect tracking
tool.
5. How many methodology you know? Which methodology you are using in your project?
6. Explain V & V model. What is hybrid model.
7. i18N and l10N testing explain . How you indentify other language in your web page?
8. How will you rate yourself in automation (out of 10).
9. How you will extract data from DB and put into text box. Write a code for that.
10. What is GDS?(Travelling Domain related).
11. What is test execution report what kind of fields are there?
12. What is test plan what are the features are present?
13. What is entry and exit criteria?
14. What is risk based testing?
---------------------Aptean interview questions--------------------------
1. what is code complete?
2. what is release candidate?
3. what is the difference between application and dll?
4. virus is a bug or not?
5. what is compatibility testing?
6. Difference between automation and performance testing?
7. what is smoke testing?
8. open interface used for?
What is registry??
post and get method,service pack
dff, b/t whit box testing and black bok testing
use of index,virtual root in web application,hotfix,
diff. b/t primary key and unique key..
main(){ int *p; *p=10; } what is error here?
what is the quit or black out phase in SDLC
open Database Connectivity..
Saurabh Garg Shibani MMTF wo word konsa tha jiski full form puchi thi?
mean time to failure

Robert Bosch
Testing Questions:

1. what is the difference between smoke and sanity testing?


2. what is the difference between load, volume and stress testing?
3. what is the type of review?
4. what is gorilla testing?
5. what is usability testing?
6. what is STLC?
7. what is regression testing?
8. where you write the test case and where you store that test cases?(according to tool they want
explanation about tool)
9. which defect tracking tool you used?
10. what you exhaust in testing?(type of testing)
11. what is the difference between verification and testing?
12. what is the bug life cycle?
13. how would you create traceability?

Selenium:

1. what is selenium-ide?
2. what is type of locators?
3. what are challenge you face?
4. what is the difference between selenium remote control and selenium webdriver?
5. what is the difference between Junit and testNG?
6. what is assert?
7. what are the type of automation framework?
8. what type of annotation?

Java:

1. what is abstraction?
2. what is encapsulation?
3. what is polymorphism?
4. they had given one matrix program and test only logic.

SQL:

1. what is the difference between primary key and foreign key?


2. what is the view?
3. what is the difference between float and double?
4. what you know in the sql?

Project & current employer:

1. what you know about this company?


2. explain your project?
3. how many employees are there in your company?
4. what is your work there?
5. who is your client?(and about client also)
6. in company how you test the application?
7. in your company who review the test cases?
8. which defect tracing tool you used?
9. how many automation tool you know?
10. how many defect tracking tool you know?
11. how many test management tool you know?
12. what is testlink?
13. what is mantis?
14. which is the latest version of selenium webdriver and which version you used?

Manager round:

1. What is the procedure you follow test the application?


2. What is difference between data driven module.
3. What approach would you take to test critical application.
4. How many employee are there in your current company.
5. What is your roles and responsibility in your current company.

Explain briefly your hybrid framework?


How to call keywords in scripts?
What is reflection API? Why we use this concept?
What is your roll in framework?
Is inheritance used in frame work ?where ?
Is polymarphisam used ?where explain?
Where is keep element locators? Which type locators used ?
Can you write email script?
Are you used ANT? Why we use ANT?

IGate Interview
1st round

What is selenium
what is Jenkins why we need iy?
what are the differences between rc and web driver
Difference b/w Grid & WebDriver?
Daily role in offfice?
About current project?
What is TestNg?why we need it?
Write code for gmail Login in RC & Driver?
Have you ever impressed your client?

2nd Round
Tell me about yourself?
Current project full end to end scenario..?
Differences bw RC and Webdriver
what is abstract class how it use for us?
What is Datadriven framework & Keyword Driven?
what is the difference between / and // in xpath
SDLC & Stlc?
We have SDLC but why we need STLC?
How you improve your knowledge on project?
Bug life cycle?
Did you involve in Test plan preparation?
What is smoke testing & sanity?
What type of testing did you do in your work?
If I give 5 freashers you only responsible what will you do?
What are that challenges you faced?
what value would u add to our company?

3 Round HR
Why you are leaving?
How much salary you are expecting?
Next 4-5 year where you will be?
Salary slips,hike letters ,Notice period
MANHATTAN
1)What are the components of selenium?
2)What kind of AUTOMATION FRAMEWORK u are working upon?
3)If an object is changing after every build ,how can u handle it through coding?
  EX-: "NAME" IS A TEXT FIELD,AND DEVELOPER KEEP ON CHANGING      THE THE
NAME OF THIS TEXT FIELD

4)I Want to execute one FEATURE 50% and then want to execute other FEATURE  fully, how
will u do it?
5)What are the issues u have faced in the AUTOMATION FRAMEWORK? 
6)Want to execute particular module ,what will be your approach?
7)On what platform JENKINS is working?
8)How in JENKINS u will execute particular module?
9)How the testng class's execution happen?
10)What is the difference between ID and NAME?
11)What is the advantage of using locators like ID ,NAME over XPATH?
12)HOW u are executing the application on different platforms(OS)?
1.how do u handle dynamic elements without using xpath ( with example)
2.what are the different types of driver implementation?

4.program to display sysdate and time in text file (using file handling)
5.code for handling url in firefox browser?
6.How to get the text from the UI in runtime?
7.What is Check-in & check-out revert?
8.Which repository you have used to store the test scripts?
9.How to work with web list @ radio button in web driver?
10.How to work with dynamic web table?

GE

Tell me about urself?

where is ur company located?

tell abt ur roles and responsibilites in ur current project?

what is hybrid framework ?

which framework ur using?

explain ur framework in detail?

y u choose this frame work?

which type of test cases u select to automate ?and y ?

write a selenium code that u wrote in ur current project?

difference between find element and find elements?

explain abt select class and methods?

other way u can select element other than select class?

wat r the challenges u faced in ur project ?how u overcome it?

wat is ajax elements?how u can handle it ?


what is encapuslation?

what is abstract class ,method how u handle it ?

difference between throw and throws?

explain try catch block?

wat is ur contribution to ur organization or team?

wat is ur contribution in prepration of ur framework?

give me one invalid scenario in ur project? apart from usual reqirement

if an option given to change a framework wat is approach and y ?

wat is fianlly block ?how execution goes ?is finally block executes isrespective of expection or
not

give a scenario where finally block doesnt execute

expalin abt test ng and ant tool?

how u used in ur project?

wat is the use xml file in testng ?

given a scenario that 5 test cases r there i need to excute first and last 3 means 2 one shld not be
excuted ?how u make a changes in testng xml file

wat is null pointer exception ?is it checked or not

explain how will automate drop down list ?how will get size ?and text present in it?

give me another way u can send values other than sendkeys?

wat is rating u give urself in selenium and java?

if an option given manual/automation testing which one u will select and y ?

how do u prioritize ur work ?

---------------------------------------------------------------------------------------------

1.explain about ur selenium profile

2.what is differnce between datadriven and hybrid framework?


3.what is hybrid?

4.which framework you have used in ur project?

5.where do u add testtacse

6.what is // and /slash

7.what are the challanges you have faced in ur project

8.what is xpath

9.which selenium version ur working

10.how do find the xpath

11.what is regular expression

12.how do u connect database thro' selenium

13.how do u connect database thro' java

14.difference between verify and assert

1.Tell me about yourself

2.What is SDLC

3.Explain about selenium architecture in your company

4.What is Selenium IDE

5.What is Selenium RC

6.What is Selenium Webdriver

 
7.Difference between RC and Webdriver

8.Write a program to reverse a string in java

9.Write an sql query to list first 10 rows in two columns empname and salary

10.What is Bug lifecycle

11.What is final method in java

12.How do you call function in java

13.What kind of framework do you use

14.What is junit and how do you read data from xls

15.Have you used TestNG

16.How do you work on selenium

17.How do you handle popups

18.How do you handle https website in selenium

 
19.What is agile

20.What is sprint

21.How do you get requirements

22.How do you write functional test cases based on requirements

23.How do you start selenium server

24.How do you download and use selenium

25.What problems did you face in selenium

26.How do you identify element in Xpath

27.What is the use of Xpath

28.How much do you rate yourself in java and sql

29.Aptitude test booklet consisted of 15 pages and 29 questions and in them few questions had 5 sub
questions and time limit is 1 hour.

30.Different types of locators?

 
31. Selenium Framework that you are using in your current project?

32. How do you identify the Xpath of element on your browser?

33. Selenium function used for retrieving the attribute or value?

34. How do you differentiate check box if more than one check box is existed in your
application?

35. Difference between Assert and Verify?

36.Explain SDLC & STLC?

1. What is the alternate way to click on login button?

1. sendKeys(Keys.ENTER)

2. If the element is inside a form, you can use driver.findElement().submit();

2. How do you verify if the checkbox/radio is checked or not

driver.findElement().isSelected();

3. How to get the href of a link / get the source of image

driver.findElement(By.linkText("")).getAttribute("href");

driver.findElement(By.xpath("")).getAttribute("src");

4. Count the number of links in a page

List<WebElement> allLinks = driver.findElements(By.tagName("a"));


System.out.println(allLinks.size());

5. How to check all checkboxes in a page

for (WebElement chkBox : allChkBoxes) {

chkBox.click();

for(int i=0;i<=allChkBoxes.size();i++){

allChkBoxes.get(i).click();

6. What is the output of the below code?

driver.findElements(By.tagName("img"));

7. How do you handle browser popup?

8. How do you handle elements present inside frame?

9. How do you handle Javascript alert/confirmation popup?

10. How do you launch IE/chrome browser?

11. How to perform right click using WebDriver?

12. How do perform drag and drop using WebDriver?

13. How to send ENTER/TAB keys in WebDriver?

14. Example for method overload in WebDriver

15. How do you upload a file?

16. How do you click on a menu item in a drop down menu?

17. How do you work with page onload authentication popup / windows based popup?

18. How do you simulate browser back and forward?

19. How do you get the current page URL?


20. What is an xpath?

21. What is the difference between ‘/’ and ‘//’

22. What is the difference between findElement and findElements?

23. How do you achieve synchronization in WebDriver?

24. Explain implicit and explicit wait

25. How do you handle untrusted certificates?

26. Write the code for Reading and Writing to Excel through Selenium

27. How do get typed text from a textbox?

28. What are the different exceptions you get when working with WebDriver?

 InvalidSwitchToTargetException [The frame or window target to be switched


doesn’t exist.]
 NoSuchElementException
 NoSuchFrameException
 TimeoutException
 SessionNotFoundException

Other questions

1. What is the current WebDriver version?


2. What is SIDE?
3. What is WebDriver
4. Explain the challenges you faced in automation
5. What are the languages supported by WebDriver?
6. What is the difference between verify and assert?
7. What are the limitations of Selenium IDE?
8. What are the browsers supported by Selenium IDE?
9. What are the disadvantages of Selenium?
10. How many ways can you identify an element using WebDriver / which are the locators used for
recognizing the objects in selenium WebDriver?
11. How do you clear the contents of a textbox in selenium
12. Is it possible to interact with hidden elements using WebDriver?

Framework questions

1.What is a Framework?

2.What are the different kinds of Framework?


3.What is Keyword driven Framework?

4.What is Hybrid Framework?

5.Different components of your framework?

6.Can you explain the Framework flow with a diagram?

7.How do you accommodate project specific methods in your framework?

8.How is the failure handled in your framework?

9.What kind of reports are generated by your framework?

General questions

1. Which is the default port on which selenium RC runs?

2. What are the prerequisites to run selenium webdriver?

3. What is the difference between selenium 1.0 and webdriver?

4. What are the advantages of selenium webdriver?

5. How to handle multiple windows in selenium webdriver?

6. Which are the locators used for recognizing the objects in selenium webdriver?

7. What is webdriver backed selenium?

8. When to use web driver backed selenium?

9. How to invoke an application in webdriver?

10. Where to download selenium webdriver?

11. Explain the technical problems that you had with Selenium tool?

12. What is Selenium Grid?

13. How many browsers are supported by Selenium IDE?

14. Can Selenium test an application on iPhone's Mobile Safari browser?

15. Can Selenium test an application on Android browser?

16. How many programming languages can you use in Selenium Web driver?

17. Have you read any good books on selenium?

18. Use of following-sibling ?


19. What is the Page Object design pattern?

20. What is StaleElementException? When does it occur?

21. How to get the number of frames on a page?

22. How to verify that an element is not present on a page?// use . length

23. How do you simulate scroll down action?

24. What is Robot class?

25. How do you verify that the given list of numbers on a web page is sorted in ascending order?

26. How to verify the presence of the success message on a page?

27. Which is the package which is to be imported while working with webdriver?

28. Who is the first person who started working on selenium?

29. Who is the person who started on webdriver?

30. How to verify whether the background color of a paragraph is green or not?

31. How to verify that the image changes on mouse hover?

32. How to login into facebook using webdriver?

33. How do you check that the pagination on google search page is working fine or not?

34. How to check if an element is visible on the web page?

35. How to check if a button is enabled on the page?

36. How to check if a text is highlighted on the page?

37. What is the selenium's recording language?

38. What are the capabilities of selenium IDE?

39. What are the selenium components?

40. How to insert a break point in selenium IDE?

41. How to insert a comment in selenium IDE?

42. How do you handle Ajax controls using selenium?

43. How do you handle the secured connection error in HTTPS?

44. How do you compare two strings or values are same?

45. How to handle the dynamic alerts which don't always appear?
46. How to upload a file using selenium?

47. How to navigate with browser buttons in selenium webdriver?

48. How to run the tests without a browser or with HTML unit driver in
selenium webdriver?

49. How to check the checkbox or radio button is selected?

50. How to get the title of the page?

51. How do u get the width of the textbox?

52. How do u get the attribute of the web element?

53. How do u read the text from the hidden elements?

54. What is the use of apache poi?

55. How to check whether a text is underlined or not?

56. How to verify whether the size of a div is 320px or not?

57. How to check the cursor type changes on hovering on a link?

58. How to verify that the font-size of a text is 12px?

59. How to verify that an image is to the right of text?

60. How to verify the presence of a horizontal line on a page?

61. How to change the URL on a webpage using selenium web driver?

62. How to get the CSS attribute of a web element using web driver?

63. How to verify the presence of tooltips on a web page?

64. How to hover the mouse on a element?

65. What is the use of getOptions() method?

66. What is the use of deSelectAll() method?

67. Can you handle flash using web driver?

68. Is WebElement an interface or a class?

69. FirefoxDriver is class or an interface and from where is it


inherited?

70. Which is the super interface of webdriver?


71. What is the difference b/w close() and quit()?

72. What is the difference b/w getWindowHandles() and


getWindowHandle() ?

73. What is the use of contextClick() ?

74. How to press Shift+Tab?

75. How to enter :(colon using web driver) ?

76. How to perform double click using webdriver?

77. How to check whether on click of an element ,a new tab will be


opened before clicking on that element?

76. What is the use of AutoIt?

77. What is the difference between dragAndDrop() and dragAndDropBy()?

78. How to type text in a new line inside a text area?

79. How to switch back from a frame?

80. What is the use of getPageSource()?

Sportskeeda
We have 65,000 URLs which we release 3 times a day. How will you test using 
selenium ?
keep 6500 urls and destination page in 10 excel sheet(10X6500=65000)
use threads and run the web driver code to check URL present in each sheet.

  happiest mind
    1.    how to right click,
     2.how do u do mouse action.write a program.
     3.design framework.
     4.what is constructor
   5.5.what is inh

1.  How to work with page onload authentication pop up/windows based pop up

2. How do you send ENTER/TAB keys in webdriver.


3. How do you upload a file.
4. How do handeled untrusted certification,what is untrusted certification
5. what is use of
   act.sendkeys(keys.ARROW_DOWN).perform()
  act.sendkeys("w").perform()
explain with example

how to launch Default browser through WebDriver?

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.firefox.internal.ProfilesIni;
public class Demo {
        public static void main(String[] args) {
                ProfilesIni prof = new ProfilesIni();
                FirefoxProfile p = prof.getProfile("default");
                WebDriver driver = new FirefoxDriver(p);
                driver.get("http://demo.actitime.com/login.do");
        }
}

Diff waits in Selenium?

driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

Thread.sleep(3000);

WebDriverWait w=new WebDriverWait(driver,1);


w.until(ExpectedConditions.titleContains("actiTIME - Enter Time-Track"));

How do you take screen shot?

FileUtils.copyFile(((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE),new
File("d:/abcd.png"));

How to add it in to result window

WebDriver driver= new FirefoxDriver();


 driver.get("http://www.gmail.com");
 FileUtils.copyFile(((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE),new
File("d:/abcd.png"));
 
Reporter.log("<img src='d:/abcd.png'></img>");
in eclipse Goto Run->Run ->Run Configurations-> Argument tab -> VM arguments
type following code

-Dorg.uncommons.reportng.escape-output=false

How to enter date in date field using java script in web Driver?

WebDriver driver=new FirefoxDriver();


driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);
driver.get("http://www.yatra.com/");
JavascriptExecutor js=(JavascriptExecutor)driver;
js.executeScript("document.getElementById('datePickerDepart_dom1').value='18/07/2013'
");

How to take complete screen shot of the application and screen shot of required element?

WebDriver driver=new FirefoxDriver();


driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);
driver.get("http://www.yatra.com/");
File f=((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(f,new File("d:/FullImage.png"));
//photo of which element?
WebElement flights=driver.findElement(By.id("btnFindFlights"));
int x=flights.getLocation().getX();
int y=flights.getLocation().getY();
int width=flights.getSize().width;
int height=flights.getSize().height;
ImageIO.write(ImageIO.read(f).getSubimage(x,y,width,height),"png",f);
FileUtils.copyFile(f,new File("d:/flight.png"));

1. Suppose we have multiple tabs like in TestNG(Failed Tests,Run Last-test etc..)how


will u handle it?

if a tab is inside a page then it will be like clicking on Link, but web driver cant
handle tabbed browser

2. How to check whether the check-box or radio is checked or not?What is the method?

isSelected
3. In a drop-down we have many options out of which i want to write xpath for
particular option,How will u write?

//select[@name='somename]/options[1]

4. We have two similar hidden elements with same attribute how can u write xpath?

we should use style attribute

contains(@style,'display: none') --> for invisible elements

contains(@style,'display: block') --> for visible elements

5. How to handle untrusted connection in selenium-2?

it is automatically suppressed in Mozilla, for other we can use java script

6. Using AND,OR operation how can u write xpath for dynamic elements?

//a[text()>6 and text()<9]

//a[text()>6 or text()<9]

7. How to invoke JDBC in selenium-2?

Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ) ;

Connection conn = DriverManager.getConnection(


"jdbc:mysql://server","un","pwd" ) ;

Statement stmt = conn.createStatement() ;

ResultSet rs = stmt.executeQuery( "SELECT * FROM lk_ask_queries" ) ;

String res=rs.getString(1) - FIRST COLUMN

rs.close() ;
stmt.close() ;

conn.close() ;

8. How to automate windows or android mobile devices?

its big story..

9. How many test cases u automate per day?

4 to 5

10. Explain Automation Test life cycle?

Please see the class notes

11. I have a server message(Report generated successfully) but i need only report,how
u write the script?

String sMsg=driver.findElement(By.id()).getText();

System.out.println(sMsg.split(" ")[0]);

12. Why u call it as IDE?What actually mean IDE?

Its Integrated development environment

because it conatins Editor,Debugger,Intelli-sense coding features

13. How to handle Default Browser in Selenium-2?

you mean opening Browser with default profile?

ProfilesIni prof = new ProfilesIni();

FirefoxProfile p = prof.getProfile("default");

WebDriver driver = new FirefoxDriver(p);

14. What is bitmap Comparison?why we use it?


use to compare expected and actual images

15. will we use regular expressions?if so why?if not why?

we can use * in xpath for dynamic element

1. How do u compare bitmap in selenium webdriver?

We use "TakesScreenshot" and ImageIO classto comapare bitmap

2. How do u find whether checkbok is there or not?

findelement with try catch

3. Write a code to connect to a database?

Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ) ;

Connection conn = DriverManager.getConnection(


"jdbc:mysql://server","un","pwd" ) ;

Statement stmt = conn.createStatement() ;

ResultSet rs = stmt.executeQuery( "SELECT * FROM lk_ask_queries" ) ;

String res=rs.getString(1) - FIRST COLUMN

rs.close() ;

stmt.close() ;

conn.close() ;

4. What is Agile method?

its a type of SDLC and it is based on iterative and incremental development

5. What is scrum in agile method?

its a meeting

6. What are the templates of webdriver?


NO

7. How to capture the images in selenium webdriver?

We use "TakesScreenshot"

8. Why not regular expressions in selenium-2?

xpath is powerfull

1. How to get the partial server message using selenium webdriver?

it depends on how the server message is displayed,need more info on server message

2. I want to scroll the webpage?(30%,80%)

import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class Test1 {

    public static void main(String[] args) {


        WebDriver driver=new FirefoxDriver();
        driver.get("http://news.google.co.in/nwshp?hl=en&tab=wn");
        JavascriptExecutor js = (JavascriptExecutor)driver;
        Object o=js.executeScript("return document.body.scrollHeight");
        int i=Integer.parseInt(o.toString());
        System.out.println("Total height of the page:"+i+" pixels");
        int percentage=30;
        i=(i*percentage)/100;
        js.executeScript("javascript:window.scrollTo(0,"+i+")");
        System.out.println("Scrolling to "+percentage+"%");

  }
}
3. Want to take screenshot in a webpage?(Full or Part of it in a page)
WebDriver driver=new FirefoxDriver();
        driver.get("http://news.google.co.in/nwshp?hl=en&tab=wn");

        File f = ((TakesScreenshot)driver).

getScreenshotAs(OutputType.FILE);
        FileUtils.copyFile(f, new File("d:/abc.jpg"));

4. When do we go for automation?


For long term project having more regression cycle and app is stable

5. I have 50 testcases,out of which are all u go for automating it?

regression

6. What is Jmeter?where do u use it?

its a load testing tooll, can be used to test JDBC database connections, FTP, LDAP, Webservices, JMS,
HTTP, generic TCP connections and OS Native processes

7. Suppose i have RFE in an existing application,How do u automate it?

NO

8. What is the difference between QTP and Selenium?

QTP is proprietary software of HP, can automate any type of app, uses VBS
Selenium open source, only for web app, uses java/python/ruby/C#

9. Technical challenges in Selenium?

Cant work on existing browser, handling window popups, cant handle tab browser....

10. What is the difference that Selenium do extra than QTP?


parallel execution (GRID), supports all browsers, platform independent...

11. Difference between REaltive and Absolute Xpath?

relative is xpath by attribute (//)


absolute is xpath by position(/)

12. Types of locators?


8 types...id,name....

13. All the popups u taught in the class.


14. DIfference between Xpather and Xpath Checker?

they are just diff tools to check the xpath

1. How to get the partial server message using selenium webdriver?

what is server message? how it displ

2. I want to scroll the webpage?(30%,80%)

3. Want to take screenshot in a webpage?(Full or Part of it in a page)

4. When do we go for automation?

5. I have 50 testcases,out of which are all u go for automating it?

6. What is Jmeter?where do u use it?

7. Suppose i have RFE in an existing application,How do u automate it?

8. What is the difference between QTP and Selenium?

9. Technical challenges in Selenium?

10. What is the difference that Selenium do extra than QTP?

11. Difference between REaltive and Absolute Xpath?

12. Types of locators?

13. All the popups u taught in the class.

14. DIfference between Xpather and Xpath Checker?


15. How to identify 2 buttons (every thing same) but one is invisible?

xpath => //input[@style="display:none;"] //display:block

//input[@style="visibility:hidden"] //visibility:visible

Star mark

Selenium WebDriver

------------------

1)How to specify some delay in loading WebPage?

2)How to handle Confirmation Pop-Up?

3)What is the difference between TestNG and Junit?

4)Give the overview of your frame-work?

5)What is your role in your current project?

6)What is the benefit of using TestNG?

7)What is Selenium IDE and Selenium RC?

8)What is WebDriver?

9)Can you inspect an WebElement with FireBug if the Browser is opened by WebDriver?

10)Can you open CMD using WebDriver?

Core JAVA

---------

1)Difference between Static and Non-Static Members?

2)Diffence between Array and ArrayList?

3)How to achieve Multiple Inheritance in Java?

4)What is Polymorphism? What are the different types of Polymorphism?

5)Diffence between Abstract Class and Interface?

6)What are the different kinds of Access Specifiers?Explain their visibilty?

7)In which type of Collection Dupplicate values are not allowed?

8)How to check whether two names or two Strings are equal or not?
9)What are Annotations?What is the use of Annotations?

10) Why Multiple Inheritance is not supported in Java?

11)What are the different Annotations methods?

1.How to retrieve the data from XML for login page?write a script..

DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();

DocumentBuilder builder = factory.newDocumentBuilder();

Document doc = builder.parse("D:\\login.xml");

String
un=doc.getElementsByTagName("un").item(0).getFirstChild().getNodeValue();

String
pwd=doc.getElementsByTagName("pwd").item(0).getFirstChild().getNodeValue();

2.I have 50 test cases out of which i need to run only 1 to 10 testcase how do u
handle?

Use testing.xml

Select only 10 testNG class, right click and select convert to TestNG which creates
testing.xml

with selected 10 testcases and run it

3.Write the code for retrieving data from database for login Page,where login page
consists of Emailid textbox,Password textbox,Login & Reset Button.If password is
wrong should reset,else should get login..

Please see the attached JDBC code for getting data from data base and pass them as
arguments for the method which does the above steps
4.Write the script so that any textbox should not exceed more than 10 characters?

Question is not clear..

5.How do u automate widgets which changes every millisecond?

Use explicit wait or jQuery or Java Scripts

6.How to automate videos?

No possible

7.How to run the tests without a browser or with HTML unit driver in selenium
webdriver?

WebDriver driver=new HtmlUnitDriver(true);

driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);

driver.get("http://demo.actitime.com/login.do");

System.out.println(driver.getTitle());

8.How to run Selenium 1.0 tests in webdriver?

WebDriver driver = new FirefoxDriver();

WebDriverBackedSelenium selenium = new WebDriverBackedSelenium(driver,


"http://demo.actitime.com");

selenium.open("/login.do");

selenium.type("name=username", "admin");

9. How to convert selenium 1.0 tests to webdriver tests?

Same as above
10. What is webdriver backed selenium?

Same as above

11. When to use web driver backed selenium?

already code is written in selenium RC and want to use the same code in webdriver

12. Which version of selenium IDE supports webdriver?

2.3

13. How to invoke an application in webdriver?

WebDriver driver= new FirefoxDriver();

driver.get(url);

14. Which of Selenium IDE commands not supported in webdriver?

Nothing is supported

15. where do u add test tacse

File->add testcase

16. how do u connect database thro' selenium

No should use java code only

17. how do u connect database thro' java

Please see the attached JDBC code for getting data from data base
18. Explain about selenium architecture in your company

Explain the Frame work diagram

19. How do you handle https website in selenium

using RC or WebDriver

20. How do you start selenium server

java -jar selenium-server-standalone-2.34.0.jar -role hub

McAfee Interview Question

Questions:
1. He has given a scenario, like Say there is a coffee vending machine, it has 3 buttons, one for
coffee, one for tea and one for milk.
and there is  LCD display, and a led light to show whether the power is on or not.
Tell me as many as scenarios to test the functionality of the coffee machine.(both Functional and
non functional).
2. Logic to find whether the number is prime or not.
3. String comparison of two strings. (==)
4. Defect life cycle.
5.Logical thinking question: two trains are approaching each other, one is at 60kms/hr and
another is 90kms/hr.
the distance b/n them is 1800kms. What is the distance b/n them 20mns before they collide each
other.
6. Selenium code to open some browser and typing something in the text field.
7. Handling the Dynamic Check boxes inside a table.
8.Selenium code to reboot the system?
and some other Testing basics.

1.tell me some of the tools name which is used to store the script in common place?
2.how do you integrate selenium webdriver and java?
3explain with example Verify and Assert cammands?wher and when it s used?
4selenium IDE internally which language it uses?
5.Selenium IDE will allow to convert test written in java.c# when u switch over to selenium
webdriver?
6.if you have 1000 test scripts u  want to execute it in 2 hrs?how you handle this environment ?is
it possible you to handle in webdriver?
7.how to get a multiple data's from excel file?example list of 10 firstname and Lastname?where
and how you wil pass the values?explain with logic nd code?

.how to get delimiters(@,":&#) from text file?

(ABK SOFTWARE SOLUTION’QUESTION)


Q-1 What’s testing?
Q-2 what is need of automation
Q3-what is your daily work in your project?
Q4- what is traceability matrix
Q5- how many time you have review test cases?
Q-6 what is build verification testing?
Q7- how initializing object and variable?
Q8- how get the actual Page Title?
Q-9How you will configure your project?
Q10- Which type of test cases should convert in Automation test cases?
Ques11-which version of selenium you have used in your project?
Quest-12 what is your responsibilities describe in test plan ?

CUSAT TECHNOLOGIES pvt lmt?


Q- what is testing ?
Q-after over all testing activity you can say your application bug free?
Q13- when testing stop?
Q14-what is name of bug tracker which is used in your company?
Q15-when u will find a bug what will be state of bug at reporting time in your bug tracker?
Q16= when you will change the state of bug as ‘reopen’?

---------------Zalony technology pvt limited--------------------


Q-what is testing ?what are need of need of testing ….
Q-What is the smoke testing?
Q=what is bang big method.?
Q= what is benefit to writing the test cases?
Q- what is differences between retesting and regression testing?
Q- what’s differences between findElement() and findElements()?
Q-write the code to get URL of link in selenium?
Q-write a code get the page title..?

Genpact

1.what is get() & navigate()?


2.how can u right click?
3.How can u refresh?
4.how can u send a screen shot through selenium?
5.gave a expression & asked me finding the xpath?
6.How can u implement frame work in ur project?
7.What is the scope of implicitly wait? 
8. How can u find rows from a webpage? what is the method you used?
int rows=driver.findElements(By.xpath("//tr")).size();
s.o.p(rows);

1. What is method overloading?


2. What is method overriding?
3.what is polymorphism?
4.what is the difference between array & arrayList?
5.What do u mean by mutable & string is mutable or not?
6.difference between stringbuffer & strringbuilder
7.what is Interface & abstract class. Difference between them?
8.What is Type Casting? Give example?
9.Which collections are u used in ur project? 
10.Write a program for string reverse?

1.what is design pattern used for the Framework based


Singleton

2.How to take screen Shot in selenium code for failed Test Case.

FileUtils.copyFile(((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE),new
File("d:/abcd.png"));

3.How do u configure only Required Testcases for running the TestNG suit in XML..
add only required testng classes or create a Group and specify it

Nous interview Questions


1)Mouse Hover
2)Selenium Framework
3)Launching Browser
4)Difference between Alert and Pop up
5)Web Table

6)Clicking on a link and performing the action


7)IExcel sheet contains 5 rows with id name and attribute delete the first row which contains    
previous data

Impetus Info-tech
Difference between selenium RC, Selenium Web Driver,Selenium Core?
 How to get the data from the excel sheet?
What is non-functional testing?
What is Regression Testing?
They asked much about UNIX Shell Scripting, since they need Scripting language for
automation...

how do u know that a webpage is fully loaded in the java code?

WebDriver driver = new FirefoxDriver();


driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("http://www.fatcow.com/");

JavascriptExecutor js=(JavascriptExecutor)driver;
String state = (String) js.executeScript("return document.readyState");
System.out.println(state);

mobisy Technologies

prototype model, V model


acceptance testing
useability testing
write test cases for any application you are familiar with
what is defect report

why automation
different locators
program to login to any webpage
web element methods

BOB technologies

1. tell me about ur roles and responsibilities in ur current automation project


2. how many locators r there wat r they?
3. how u will identify the locators in web page?
4. how u will find out the colour of the text?
5. If parent browser having one field and child browser having one field how u will compare and
check 
6. if i have a web page called espn in that i have the name and ranking of cricketers how u will
check the ranking and name of cricketers in database are same or not.
7. inheritance topics
8. diff btwn testng and junit.

Bob tech

1. wat is diff btwn testng and junit?


2. wat r the challenges u faced in ur project?
3. is framework needed? y? can we run scripts with out using frame work yes or no?
4. wat is assertion? wat is the drawback? instead of that wat we use to overcome?
5 wat is globalization testing? localization testing?
6 wat is stlc?
7 bug life cycle? xplain hierarchy?
8 whch tool u used for defect tracking?
9 wat is nested class? enum?
10  wat is implicitly wait()? explicitly wait()? difference? where we use it?
11 how u traverse from child browser to parent browser?
12 if  parent browser have 4 child browsers how u will get the order which 1 is first?
13 how u will handle window popups?
14 wat is polymorphism? method overloading and method over riding?
15 how many test cases u wrote?
16 y u want to switch to other company?
17 how many employes r there?
18 wat is hybrid frame work? explain hybrid frame work?

Tavant

write  automation code for Frame?


driver.switch to(). frame(Element);

define keyword rewan framework?


define hybrid rewan framework?

define SDLC ?

write SQL query foe inner join.outer join.left join?

expian about your project?

1) Where we can store xpath or other locator value , (like object repository in qtp)
2) why we can not use CSS selector instead of xpath.
3) what is difference between @Before Method and @before Test
4) what is diffrence between @After Method and @After Test

TY

manual testing:
1) Explain about Defect life cycle.

Core java;

1) Diff b/w Static and Non static Members


2)Explain about Diamond problem in Java.
3)Explain about Ploymorphism.

Selenium:
1)Explain about framework?
2)How do you handle File down popup,File upload popup.and alert and confirmation popup.
3)write a code to read data from excel sheet.

Questions asked at AMADEUS labs


manual
1)Defect life cycle and defect tracking tool.
2)Severity and priority examples.
3)basic sql queris.
4)Architecture diagram for the project.
5)Requirement traceability matrix
6)Diffrent ways for storeing test data
7) Different testing techniques.

One simple puzzle

Questions on selenium:
1)How do you do mouse over action.
2)How do  you read data from excel sheet and notepad
Ans:i have said reading data from excel sheet so he said ok
3)Automation framework

Mphasis and AllianceGlobal Sevices

1) Where we can store xpath or other locator value , (like object repository in qtp)
2) why we can not use CSS selector instead of xpath.
3) what is difference between @Before Method and @before Test
4) what is diffrence between @After Method and @After Test

SAP Labs

1ST ROUND( lead)


tell about ur self.
about recent(automation) project & roles nd responsibilities,
about 2nd (manual) project & roles nd responsibilities, 
where is ur development team is it client location or along with u?
tell me the test case template  (header, footer, body)
explain defect life cycle?
where u stay? whr is ur company located?
rate ue self on java?
explain testing environment
any questions to ask me?
2ND ROUND (project manager)
tell me about ur self?
what is white box testing?
what is black box testing?
should severity & priority mention in testing?
tell me challanges faced in ur project?
does manual bring more ROI or automation brngs more ROI?
automation uses : where is used y it should used?
what r the languages does selenium supports?
what is smoke testing? where u will do smoke testing? when u wil do accetence testing?
which technology u used?
do ur project related to mobility?
which one you feel comfort manual or automation ? reason?
tell me the three important things which r mandatory while doing testing in automation ?
explain defect life cycle?
how u will handle if image is scripted and executed in two different resolutions sysytems?
 how u will review? wat is the process?
which tool u used for defect tracking?
will u join immediately if offer released? how u will manage in ur company?
how many test case u wrote per day?
how many of ur team?
tell me the three important things which r mandatory while doing testing in manual?
do u have any offers in ur hand?
y r u looking for change?
which process u follow? explain it
who will expain the requirment? product owner or scrum master?
explain any of the sdlc process u feel free?
what is web server?
 

3RD ROUND (qa manager)


tell about about test ng
about annotation
explain in detail about 3 tire architecture on board ?
have u involved in any installation?
explain about 2 tire architecture?
what is diff btwn 3 tier nd 2 tier?
any 4 tire architecture?
explain white box testing?
explain which tool u used in W.B.T?
y r u looking for change?
have u done WHITE BOX TESTING?
how build comes can u tell me wat process how developers and testers communicate?
how build comes? wat does it contains?
xplained about company rules and regulations  & about their project out line.
ther hired me for their project as automation engg

written test:
1. manual testing :
match following with definition -- test plan, test case, test procedure, test objective,requirement
--testing multiple choice more than 1 answer
2. aptitude (10 ques): area between 2 parabola.
-- probability
-- speed and time
-- work and time
3. java
-- collection: which is sinchonized-- list, set, queue
--
4. reasoning

Technical interview: core java


1. how many primitive data type
2. why string is not primitive
3. access specifier
4. difference between default and protected
5. formatters sop("%d %f",3545,546.45)
6. can we store object
7. how to avoid any variable to serialize

manager interview(25 mins)


1. where is your comp.
2. what is your work
3. Why you want to join this or why you want to leave
4. how much comfortable in selenium
5. how much you rate yourself in java.

Director interview (90 min 2 person)


0.1) tell me about yourself
0.2) tell me % in 10th 12th btech
0.3) why they consistently decreasing
1. where do you work
2. tell me about your project
3. Big client like HP having CRM on windows??
4. i m client i gives you product what question you will ask so that at end you deliver me better
product.
5. what is setup of your automation project
Now problem starts---
6. how ur setup manage your test script fail-- which tool you use
7. how you store test script in server (check in , checkout ???) commit
More questions on real time environment on manual and automation testing
Ariba Technologies Bangalore

1-Which browsers are supported by selenium RC?


2-How do you identify the automation test cases?
3-How test cases you developed per day and till now??
4-Diff b/w Selenium RC and Web driver?

Company:   Manhattan Associates


job:    2-yrs exp in manual and Selenium Automation

-------------------------------------------------------------------------------------------
1st round:
written test:
1. manual testing objective questions:
match following with definition -- test plan, test case, test procedure, test objective,requirement
--testing multiple choice more than 1 answer
2. aptitude (10 ques):
-- area between 2 parabola.
-- probability
-- speed and time
-- work and time
3. java
-- collection: which is sinchonized-- list, set, queue
--
4. reasoning

-------------------------------------------------------------------------------------------
2nd round:
Technical interview: core java, database
1. how many primitive data type
2. why string is not primitive
3. access specifier
4. difference between default and protected
5. what is formatters sop("%d %f",3545,546.45)
6. can we store object
7. how to avoid any variable to serialize

-------------------------------------------------------------------------------------------
3rd round:
manager interview(25 mins)
1. where is your comp.
2. what is your work
3. Why you want to join this or why you want to leave
4. how much comfortable in selenium
5. how much you rate yourself in java.

-------------------------------------------------------------------------------------------
4th round:
Director interview (90 min 2 person)
0.1) tell me about yourself
0.2) tell me % in 10th 12th btech
0.3) why they are consistently decreasing
1. where do you work
2. tell me about your project
3. Big client like HP having CRM on windows??(my mistake in resume)
4. i m client i gives you product what question you will ask so that at end you deliver me better
product.
5. what is setup of your automation project
Now problem starts---
6. how ur setup manage your test script fail-- which tool you use
7. how you store test script in server (check in , checkout ???) commit
More questions on real time environment on manual and automation testing

You might also like