LTI Selenium Interview Questions with Answers

Download LTI Selenium Interview Questions PDF

Prepare for LTI interviews with 87 curated questions. The answer examples below explain key concepts; personalize project and experience responses truthfully. These are independent study resources, not official company interview materials.

Interview Questions with Answer Explanations

These study answers summarize the associated PDF material. Adapt personal, project and experience details to your own background.

Draw the Selenium implementation architecture in your project

A typical Java automation setup separates test scenarios, framework code, Selenium WebDriver, browser drivers, browsers, the application under test, test data, and reports. Present this as a representative architecture and adjust it to match the actual project. Test Scenarios (Cucumber feature files / TestNG tests) | v Step Definitions / Test Classes | v Page Objects (locators + page actions) | v Utilities: waits, config, data, screenshots, logging | v Selenium WebDriver API | v Browser Driver / Selenium Manager | v Chrome / Firefox / Edge <----> Application Under Test | v Assertions + TestNG/Cucumber Reports + CI (e.g., Jenkins) Explain the flow: a test starts a browser, calls page-object.

How do you check whether text is present on a webpage?

For a specific element, get its text and compare it. For a broad page check, inspect visible body text or use a suitable locator. Selenium does not provide one universal “contains text anywhere” method; common methods include getText(), isDisplayed(), getAttribute(), and assertions from TestNG/JUnit.

How do you check checkbox selected/unselected without using isSelected()?

Use the checkbox input’s checked property through JavaScript. This is a workaround; isSelected() is the preferred Selenium API when available.

How do you determine whether an element is visible or hidden?

isDisplayed() reports whether Selenium considers the element displayed. If the element is not in the DOM, findElement() throws NoSuchElementException; use findElements() or a wait if absence is expected.

Difference between findElement() and findElements()

• findElement(By): returns the first matching WebElement; throws NoSuchElementException if no match exists. • findElements(By): returns a List<WebElement>; returns an empty list when there are no matches.

How do you handle popup windows?

First identify the popup type. A JavaScript alert/confirm/prompt uses driver.switchTo().alert(); a new browser window or tab uses getWindowHandles(); a DOM modal is handled with normal locators; an operating-system dialog may require a different approach and should be avoided when a browser-native upload/download mechanism is available.

What is TestNG?

TestNG is a Java testing framework that provides annotations, test grouping, dependencies, data providers, parameterization, parallel execution, assertions, and reporting hooks. It integrates with Selenium to organize and execute browser tests. @BeforeMethod public void setUp() { /* create driver */ }.

How do you handle keyword-driven and data-driven frameworks?

In a keyword-driven approach, a test data sheet or test definition describes actions such as CLICK, TYPE, SELECT, and VERIFY; a keyword engine maps each keyword to reusable code. In a data-driven approach, the same test logic runs with multiple data sets supplied by a DataProvider, Excel/CSV/JSON, or a database. A project can combine both approaches.

What is a hybrid framework?

A hybrid framework combines useful features from multiple approaches—for example, Page Object Model for page organization, data-driven inputs for test variations, keyword-like reusable actions, TestNG for execution, and reporting/logging utilities. The exact combination depends on the project. Describe the components you really use and why. Section 2 — Files, pagination, locators, alerts, and collections.

How do you upload a file to a webpage?

For a standard HTML file input, use sendKeys() with the full file path; avoid interacting with the OS file chooser.

How do you handle a popup in WebDriver?

This duplicates Question 7. Choose the handling strategy by popup type: JavaScript alert → Alert API; new tab/window → window handles; HTML modal → DOM locator; OS dialog → supported OS automation or an alternative upload/download route.

How do you handle pagination?

Loop through pages until the target record is found or the Next button is disabled. Re-locate rows after every page change because the DOM often refreshes. boolean found = false;.

What are the Selenium locators?

• id, name, className, tagName, linkText, partialLinkText, cssSelector, xpath.

Difference between findElements and findElement

Same as Question 6: findElement returns one match and throws if none exists; findElements returns a list and an empty list when none exists.

How do you handle a popup window?

Same window-handle pattern as Question 46. Save the original handle, trigger the popup, wait for an additional handle, switch to it, perform actions, close it if appropriate, and switch back to the original window.

How do you handle an alert?

Alert alert = new WebDriverWait(driver, Duration.ofSeconds(5)) .until(ExpectedConditions.alertIsPresent());.

Difference between List and Set

• List: ordered collection, supports index-based access, and allows duplicates. • Set: stores unique elements; the iteration order depends on implementation (HashSet has no guaranteed order, LinkedHashSet preserves insertion order, TreeSet sorts elements). Examples in automation: List<WebElement> for all table rows or dropdown options; Set<String> for unique window handles.

Why use Set for window handles?

WebDriver.getWindowHandles() returns Set<String> because each open window handle is unique and no index-based order is promised. Use iteration or compare the new set against the original set; do not assume the second handle is always the popup.

Explain Map

Map stores key-value pairs. Keys are unique; values may repeat. Common implementations are HashMap (no guaranteed order), LinkedHashMap (insertion order), and TreeMap (keys sorted).

Explain Agile methodology

Agile delivers software incrementally, using feedback and collaboration to adapt to changing requirements. In Scrum, work is planned in sprints; the team refines the backlog, holds daily Scrum, reviews the increment, and reflects in a retrospective. Testing is continuous, not only a final phase. QA contributes to acceptance-criteria review, test design, exploratory testing, automation, defect triage, regression, and release-risk communication.

How do you use TestNG with WebDriver?

Use lifecycle annotations to initialize and clean up browser sessions, @Test to define tests, assertions to verify results, and @DataProvider or @Parameters for input data. Keep browser instances isolated for parallel runs (commonly one driver per thread/test context).

TestNG vs JUnit

Both are Java test frameworks and both support assertions and lifecycle hooks. TestNG traditionally offers built-in groups, flexible dependencies, XML suite configuration, and DataProvider features. JUnit 5 offers a modern extension model, parameterized tests, and a strong ecosystem. The best choice depends on project requirements; avoid saying one is universally better.

Draw your Selenium framework architecture

This is a repeat of Question 1. Show the real layers in your project and be able to explain the call path from a feature/test to a page object, WebDriver, browser, assertion, report, and CI job.

Explain Waterfall model

Waterfall is a sequential lifecycle commonly described as requirements → design → implementation → testing → deployment → maintenance. It can be suitable when requirements are stable and formal phase approvals are important. Late changes can be costly because testing and feedback arrive later than in iterative models.

Explain defect life cycle

A typical workflow is New/Open → Assigned → In Progress → Fixed/Resolved → Retest → Closed. If the fix fails, QA reopens the defect. Other states may include Rejected/Invalid, Duplicate, Deferred, Cannot Reproduce, or Not a Bug, depending on the organization’s workflow. A good defect includes steps to reproduce, expected and actual results, environment/build, severity/priority, logs/screenshots, and relevant test data.

Explain SDLC life cycle

Typical phases are requirements gathering and analysis, planning/feasibility, design, development, testing, deployment, and maintenance. Actual models may be sequential or iterative. Testing activities and QA reviews can occur throughout the lifecycle.

Tell me about yourself

Use a short, truthful answer: experience length; manual and automation strengths; core stack; leadership responsibilities; one achievement; why the role is relevant. Example: “I have around 13 years in software testing, covering manual and automation testing. My automation stack includes Selenium with Java, Cucumber, TestNG, API automation, and Playwright. I contribute to framework maintenance, test planning, execution analysis, defect investigation, and coordination across QA, development, and business teams.

Explain your project and its architecture

Use this sequence: business purpose and users → application components → your role → automation architecture → CI/reporting → major challenge and outcome. Avoid exposing confidential client data. Sample architecture: TestNG/Cucumber tests → step definitions/test classes → page objects → reusable utilities/configuration/test data → Selenium WebDriver → browser → application. Results flow to assertions, logs, screenshots, reports, and the CI pipeline.

What framework are you following? Explain it.

Use the hybrid framework answer in Question 10 and describe each component with a real example. Explain why the design separates locators/actions, test logic, test data, and reporting.

Excel sheet coding

Apache POI is commonly used to read and write Excel workbooks. Choose the workbook implementation based on file type, and close resources with try-with-resources.

Difference between HSSF and XSSF

• HSSF handles the older binary .xls Excel format. • XSSF handles the newer XML-based .xlsx format. HSSF and XSSF are Apache POI APIs. For large .xlsx files, SXSSF supports streaming writes to reduce memory use. WorkbookFactory can often select the correct implementation from the file content.

What if data can come from .xls or .xlsx?

Use WorkbookFactory.create(InputStream/File) rather than manually selecting HSSFWorkbook or XSSFWorkbook. Ensure the Apache POI dependencies support both formats and handle corrupt files, passwords, missing sheets, and blank cells.

How do you run 50 test cases together?

With TestNG, list tests in testng.xml or use suite groups. Maven can invoke the suite; parallel execution is possible if tests are designed to be thread-safe and each test has an isolated WebDriver instance. <suite name="RegressionSuite" parallel="methods" thread-count="4"> <test name="Regression"> <classes> <class name="tests.LoginTest"/> <class name="tests.ProfileTest"/> </classes> </test> </suite> To run through Maven, configure the Maven Surefire Plugin and execute mvn test. Parallelism is optional; begin sequentially if shared test data or application state can cause collisions.

Advantages of TestNG; why use it?

• Annotations for setup and cleanup • Groups and suite selection • DataProvider and parameterization • Test dependencies and priorities where appropriate • Parallel execution when tests are thread-safe • XML suite configuration and integration with build tools Use it because these features help organize, parameterize, and execute a large regression suite. Mention the actual features your team uses.

If two methods run in parallel, does TestNG create two separate reports?

Not necessarily. TestNG normally generates suite-level reports that include results from tests/methods in that run. Parallel methods do not automatically mean one separate report per method. You can configure listeners or reporting libraries to create separate files or grouped views.

Multiple frames: find all frames, visit each, and identify an element

Switch into each frame, search for the target, and return to default content before trying the next frame. Nested frames require recursive traversal. The example below checks direct child frames and searches for an element by ID.

What locators are used in WebDriver?

Same locator list as Question 15: id, name, className, tagName, linkText, partialLinkText, cssSelector, and xpath. Section 5 — WebDriver, browsers, capabilities, build, and repository.

What is WebDriver?

WebDriver is Selenium’s browser automation API. It lets code navigate, locate elements, interact with controls, manage windows/frames/alerts, and inspect browser state through a browser-specific driver or supported driver-management mechanism.

Do we need a driver for Firefox? Why?

Selenium needs a WebDriver implementation to communicate with Firefox. GeckoDriver acts as the bridge between Selenium’s WebDriver commands and Firefox. In modern Selenium 4 setups, Selenium Manager can help obtain/configure GeckoDriver automatically, but the browser automation still uses a driver implementation.

DesiredCapabilities for SSL

Older Selenium examples used DesiredCapabilities. In Selenium 4, prefer browser-specific Options classes. To accept insecure certificates in a test environment, set acceptInsecureCerts. FirefoxOptions options = new FirefoxOptions(); options.setAcceptInsecureCerts(true);.

What build tool do you use? How do you schedule with a batch file?

A common Java setup uses Maven to manage dependencies, compile tests, and run TestNG suites. A Windows .bat file can change to the project folder, run Maven, and save output; Windows Task Scheduler or a CI tool can schedule it. @echo off cd /d C:\Automation\MyProject call mvn clean test -DsuiteXmlFile=testng.xml if errorlevel 1 exit /b 1 exit /b 0 Configure the Maven command/property to match your project. In a scheduled task, specify the working directory and ensure Java/Maven paths, credentials, browser installation, and environment variables are available.

If a link opens in a new tab, is it a separate window?

For WebDriver window handling, a browser tab is represented as a separate browsing context and has its own window handle. Use getWindowHandles() to switch to it. The API does not require you to distinguish a tab from a separate top-level window for this purpose.

What are Java collections and where do you use them?

The Java Collections Framework provides interfaces and implementations for working with groups of objects. • List / ArrayList: rows, dropdown options, test data; preserves order and allows duplicates. • Set / HashSet: unique window handles or unique values. • Map / HashMap: test configuration, test data keyed by field name, or lookup tables. • Queue / Deque: ordered processing where the use case requires it. Pick a collection based on whether you need order, uniqueness, indexed access, or key-value lookup.

What is an object repository? What if you change ID locator to XPath?

An object repository centralizes element locators, traditionally in properties, JSON, YAML, or page-object classes. It makes locator maintenance easier. If a locator changes from ID to XPath, update the centralized locator definition or page-object field; tests should not need changes if they call the same page method.

What challenges have you faced? Example: scrolling

Explain the context, why the normal action failed, how you diagnosed it, the fix, and how you prevented recurrence. For scrolling, prefer bringing an element into view and waiting for it to become interactable; use JavaScript scrolling when needed.

Write code for JavascriptExecutor

JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("window.scrollTo(0, document.body.scrollHeight);"); js.executeScript("arguments js.executeScript("arguments.

How do you handle a window popup? You mentioned Robot and AutoIt.

Clarify whether it is a browser alert, new tab/window, HTML modal, or native OS dialog. Robot and AutoIt are external/OS-level techniques for certain native dialogs; they are not the correct solution for JavaScript alerts or normal web modals. For file upload, sendKeys() to input.

What is AutoIt? How do you call an AutoIt script from Selenium?

AutoIt is a Windows automation scripting tool often used to interact with native Windows dialogs that Selenium cannot control directly. Compile a .au3 script to an .exe and launch it from Java. This is Windows-specific and can be brittle in headless or remote CI environments.

How do you estimate an automation project?

Break the scope into candidate scenarios and estimate by complexity. Consider application stability, scenario count, browser/platform combinations, test data, environment readiness, reusable framework work, API/database setup, dynamic controls, file handling, authentication/captcha constraints, CI integration, reporting, maintenance, code review, debugging, and contingency. A practical estimation sequence: discovery → automation feasibility and prioritization → framework/setup effort → scenario implementation → data/environment setup → execution and debugging → CI/reporting → review and maintenance buffer. Prioritize stable, high-risk, repeatable regression scenarios with clear expected.

Who gathers client requirements?

Usually the business analyst, product owner, client/business stakeholders, or a product manager gathers and clarifies requirements, with developers and QA participating. In Agile, QA reviews user stories and acceptance criteria and asks questions early. Answer based on your team’s actual responsibility split.

How many people are in your team? What are your responsibilities?

State the actual team size and roles. A clear answer might be: “Our team has.

Who writes manual test cases in your team?

It depends on team practice. QA engineers typically design and maintain test cases; manual testers may author functional/exploratory cases, while automation engineers identify suitable regression cases for automation. In many Agile teams, the same QA engineer does both. Explain your team’s real workflow.

How do you identify complex scenarios?

Look for many decision paths, complex business rules, dependent systems, role/permission combinations, dynamic controls, asynchronous behavior, data dependencies, multi-step workflows, file uploads/downloads, cross-browser behavior, and difficult recovery paths. Use risk, business impact, execution frequency, and feasibility to prioritize.

How often is a build released and what is the minimum time to production?

Answer with your actual project cadence. Explain the difference between a developer build, a QA deployment, a sprint release, and a production release. A team may deploy to QA daily while production releases occur less frequently, depending on approvals, risk, and release policy. Do not invent a production timeline.

Tell me about your experience and framework

Combine your introduction (Question 30) with the framework explanation (Questions 10 and 31). Include years of experience, core stack, framework layers, responsibilities, one challenge, and a measurable result if you can substantiate it. Section 7 — QTP, recovery, reports, HR questions.

Difference between QTP and Selenium

QTP is the former name of HP QuickTest Professional, later part of the UFT product family; it is a commercial testing tool with vendor-supported features and licensing. Selenium is an open-source browser automation ecosystem with language bindings and broad browser support. Selenium often requires assembling libraries for reporting, test management, and other needs, while commercial suites may bundle more functionality. Compare the exact product/version used.

What is recovery and how do you handle it?

In automation, recovery means restoring a test or execution environment to a known state after a failure or unexpected condition. Examples include closing unexpected alerts, returning to default content, switching back to the original window, logging diagnostic information, cleaning up browser sessions, and resetting test data. Do not silently retry every failure because that can hide real defects. try {.

How do you generate reports?

TestNG provides default reports and can be extended using listeners. Teams may use Extent Reports, Allure, Cucumber reports, or CI test-result publishing. Explain which report you actually use and what it contains: pass/fail/skip, stack traces, screenshots, timestamps, environment/build, and links to logs. A TestNG listener can capture test lifecycle events; keep report generation thread-safe for parallel execution.

What is your automation experience?

Summarize years and tools truthfully, then quantify the work where possible: number/type of scenarios, framework ownership, browsers, CI frequency, API coverage, defect detection, or regression-time reduction. Do not state metrics you cannot substantiate.

Tell me about yourself

Repeat Question 30 but tailor the last sentence to the job description. Keep it professional and avoid unnecessary personal details.

Why do you want to change jobs?

Positive sample: “I’m looking for a role with broader technical ownership, opportunities to deepen automation and quality engineering, and a chance to contribute to framework improvements and team outcomes. I appreciate what I’ve learned in my current role, and I want my next move to align with my longer-term growth.” Keep it honest. Avoid criticizing current colleagues or sharing confidential information.

You already have an offer. Why did you come here?

Sample: “I’m evaluating opportunities based on role responsibilities, technical fit, team, growth, and long-term alignment—not only compensation. I’m interested in understanding this role properly before making a decision.” Use only if it accurately describes your situation.

Will you attend other company interviews if we provide an offer?

Answer honestly and professionally. Example: “If I receive an offer, I will evaluate it seriously against the role and agreed terms. I prefer to communicate transparently and make a considered decision within the agreed timeline.” Do not promise exclusivity unless you mean it.

Can you join the Bangalore location?

Answer based on your genuine willingness and constraints. If flexible: “I’m open to discussing Bangalore relocation or hybrid expectations, depending on the role and relocation timeline.” If not, state the constraint clearly and respectfully.

Have you travelled abroad?

Answer truthfully. If no: “I haven’t travelled abroad yet, but I’m open to business travel if the role requires it and the arrangements are feasible.” If yes, mention relevant professional travel briefly without oversharing. Section 8 — Leadership, Java collections/OOP, Selenium behavior, waits.

Have you handled a team?

Describe actual team size, mentoring, task allocation, review, risk tracking, stakeholder communication, and delivery responsibilities. Distinguish formal people management from technical leadership or coordination.

What take-home salary are you expecting?

Clarify that take-home depends on fixed pay, variable pay, PF, tax regime, insurance, and other deductions. Give a target range based on your researched compensation and priorities, and ask for the fixed/variable breakup. Do not equate CTC directly with monthly in-hand pay.

ArrayList vs LinkedList vs HashSet

• ArrayList: resizable array; fast indexed reads; insertion/removal in the middle may shift elements; allows duplicates. • LinkedList: linked structure; efficient insert/remove when the position/node is already known, but indexed access is slower; allows duplicates. • HashSet: unique elements; no guaranteed iteration order; average-case fast membership checks. In Selenium, ArrayList/List is common for visible text and rows; HashSet is useful for uniqueness such as window handles.

Explain dynamic polymorphism

Dynamic polymorphism is runtime method dispatch: an overridden instance method is selected based on the actual object type.

Difference between bug and defect

In everyday QA practice, bug and defect are often used interchangeably for behavior that does not meet requirements. Some organizations distinguish them by workflow or context, but there is no universal distinction. A failure is the observed incorrect behavior; a defect is the underlying flaw that can cause it.

Alert

JavaScript alerts block normal page interaction until accepted or dismissed. Use driver.switchTo().alert(), then getText(), accept(), dismiss(), or sendKeys() for a prompt. See Question 18.

Difference between close() and quit()

• driver.close(): closes the current browser window/tab controlled by the current context. • driver.quit(): closes all windows in that WebDriver session and ends the session. Use quit() in teardown to avoid orphaned browser processes.

Difference between navigate().to() and get()

Both navigate to a URL. driver.get(url) is the direct navigation method. driver.navigate().to(url) is equivalent in purpose and is part of the navigation interface, which also offers back(), forward(), and refresh(). There is generally no meaningful difference in the final navigation for a standard URL.

Window handling

Use getWindowHandle() for the current window, getWindowHandles() for all open handles, and switchTo().window(handle) to change context. Save the original handle and identify a newly opened context by comparing sets or checking title/URL/content. See Question 46.

TestNG annotations

• @BeforeSuite / @AfterSuite: once around the suite. • @BeforeTest / @AfterTest: around a TestNG <test> block. • @BeforeClass / @AfterClass: before/after test methods in a class. • @BeforeMethod / @AfterMethod: before/after each @Test method. • @BeforeGroups / @AfterGroups: around specified groups. • @Test: marks a test method; @DataProvider supplies data; @Parameters reads XML parameters; @Listeners registers listeners. Setup and teardown scope matters. Use alwaysRun where cleanup must execute even after a failure.

Types of waits in Selenium

• Implicit wait: global element-location timeout; applies while locating elements. • Explicit wait: waits for a specific condition, such as visibility or clickability. • FluentWait: configurable timeout, polling interval, and ignored exceptions; WebDriverWait is a specialized wait commonly used with WebDriver.

Purpose of static and constructors

static members belong to the class and are shared across instances; constructors initialize newly created objects. Static fields are appropriate for constants or shared class-level state, but a static WebDriver is risky in parallel tests because sessions can overwrite one another.

How do you coordinate LoginPage, HomePage, and MyHomePage?

Create page objects using the same WebDriver instance. A login action can return a HomePage object after successful navigation; a HomePage action can return MyHomePage. This models navigation and keeps tests readable.

Purpose of constructor, this, and PageFactory

• Constructor: initializes object state and dependencies, such as passing WebDriver into a page object. • this: refers to the current object; this.driver = driver distinguishes the field from the constructor parameter. • PageFactory: Selenium support utility that can initialize @FindBy WebElement fields using PageFactory.initElements(driver, this). It is optional; many teams prefer By locators and explicit findElement calls.

How does HashMap work? What happens with a duplicate key?

HashMap uses hashCode() to identify a bucket and equals() to distinguish keys within it. When put() is called with a key that is equal to an existing key, the existing mapping’s value is replaced. Different keys can have hash collisions; correct equals()/hashCode() implementations are important.

Three static variables and three objects: how many copies?

There is one class-level copy of each static variable, not one copy per object. With three static variables and three objects of the same class, there are still three static fields total, shared by all three objects. Each non-static instance field has a separate copy per object.

What is FluentWait? Have you used it?

FluentWait lets you set the maximum wait duration, polling interval, and exceptions to ignore while checking a condition. WebDriverWait is the common specialized wait for WebDriver. Say you have used FluentWait only if you actually have; otherwise explain its purpose and give a small example. Wait<WebDriver> wait = new FluentWait<>(driver) .withTimeout(Duration.ofSeconds(20)) .pollingEvery(Duration.ofMillis(500)) .ignoring(NoSuchElementException.class);.

Questions

  1. Draw the architecture diagram of selenium inplementation in your project
  2. Expalin what sdlc model u r using in ur project
  3. How can you check whether a particulat text present in a webpage. What are the predefined method in selenium for checking this
  4. How to check whether the check box is selected or in unselected without using
  5. How to find whether the element is in visible or in hidden
  6. difference between findElement and findElements
  7. How you will handle pop up windows
  8. what is testng
  9. how you are handling keyword driven and datadriven framework in your project
  10. What is mean by hybrid framework
  11. How can u upload file in webpage
  12. How u will handle popup in webdriver
  13. What frame work your are using?
  14. How can you handle pagenation in Selenium Webdriver
  15. What are all locators?
  16. difference between findelements and findelement
  17. How to handle Popup window
  18. how to handle alert?
  19. difference between List and set
  20. why we are using Set for Window Handle
  21. Explain Map
  22. Explain Agile methodology
  23. How you are using Testng with Webdriver
  24. Difference in Testnng over Junit
  25. draw the architecture diagram of your selenium Framework of your project
  26. Waterfall model
  27. defect life cycle
  28. sdlc life cycle
  29. whether u r handling webtable in your project
  30. Tell about yourself.
  31. Explain your project and its architecture.
  32. What is the framework you are following, explain it.
  33. Excel sheet coding
  34. Diff between HSF and XSSF.
  35. There may be possibilities for input data comes from .xls or .xlsx file.
  36. How to run 50 TCs together?
  37. Advantages of TestNG? Why are you using it?
  38. If we run 2 methods parallely, will TestNG creates 2 reports separately?
  39. There are multiple frames in your browser. Find all of them and visit inside, identify element. Write code for this.
  40. What are locators used in webdriver?
  41. What is WebDriver?
  42. Write code for opening different drivers?
  43. Do we need driver for firefox? Why?
  44. Can you write the DesiredCapabilities for SSL?
  45. What is the build tool are you using? How will you schedule using batch file?
  46. How will you handle multiple windows?
  47. If a link is opening in a new tab? will you consider it as a separate window?
  48. What are java collections? Where are you using them in your project?
  49. What is object repository? What is the use of that? If you are using findelement by Id and late on want to use xpath?
  50. What are the challenges you faced in your project? I said scrolling window. he asked below question.
  51. Write the code for Java Script executor?
  52. How will you handle window pop up? I said Robot and AutoIt.
  53. What is mean by autoit? Explain its use. Write code for reading autoit file in selenium.
  54. How will you go for automation project estimation? What are the factors will you be considering?
  55. Who will be gathering the client requirement for your project?
  56. How many person in your team? what are your responsibilities?
  57. Who will be doing the manual test cases in your team?
  58. How will you identify complex scenarios?
  59. How frequently build is happening in your project? What is the minimum duration it goes to production?
  60. Tell about your experience and project framework?
  61. Diff between QTP and Selenium?
  62. What is recovery how will you handle it?
  63. How will you generate report in your project?
  64. What is your automation experience?
  65. Tell about yourself?
  66. Why job change?
  67. You already have an offer. Why are u came here?
  68. Will you attend other company interviews if we provide offer?
  69. Will you be able to join bangalore location?
  70. Did u travelled abroad?
  71. Did you handled any team?
  72. what is the take home you are expecting.
  73. Array list linked list,hash set
  74. dynamic polymorphism,
  75. difference between Bug and defect,
  76. alert,
  77. difference between close and quit,
  78. difference between navigate and get url,
  79. Window handling,
  80. testng annotation,
  81. types of wait,
  82. What is the purpose of static and constructor
  83. How to co-ordinate two pages from this code(login page, Homepage, MyhomePage)
  84. What is the purpose of constructor (this, PageFactory)
  85. Explain how hashmap will work, what will happen if I provide duplicate key?
  86. I have 3 static variables and I created 3 objects. How many copies of static variables will be created?
  87. What is fluent wait? Did you ever used fluent wait any where?

Back to Company Wise Interview Questions