Learn › Software Testing › Interview Questions › Company-wise › Salesforce Salesforce Software Testing Interview Questions & Answers Curated interview practice questions with answers. These are practice scenarios, not a verified list of past interview questions.
Solved for Salesforce Start practicing
3 QUESTIONS FREE Sign up or log in to unlock the full question bank and track your progress. Unlock every question and answer, then continue practising company-wise and package-wise.
Sign up free Log in
01 How do you handle a bug found late in a release cycle? Show answerAssess impact and risk, discuss with product and dev, decide to fix, defer with a workaround or delay release, and document the decision.
02 The developer says "it's not a bug". What do you do? Show answerRe-check the requirement, reproduce with clear steps and evidence (screenshots, logs), discuss with the BA/PO and record the final decision.
03 What is the difference between a story, epic, task and bug in JIRA? Show answerAn epic is a large body of work; stories are user-facing slices of it; tasks are technical work items; bugs are defects.
04 Write test cases for a search box. Show answerValid keyword, partial match, no results, special characters, very long text, empty search, case sensitivity, spelling errors, suggestions and speed of results.
05 Explain the bug life cycle. Show answerNew → Assigned → Open → Fixed → Retest → Verified → Closed, with Reopened, Rejected, Deferred and Duplicate as side paths.
06 Release is tomorrow and you can't test everything. What now? Show answerRisk-based testing: cover critical user flows, recent changes and high-defect areas first. Clearly communicate the untested risks and get stakeholder sign-off.
07 What is a traceability matrix? Show answerA grid mapping requirements to test cases and defects, proving every requirement is tested.
08 What is risk-based testing? Show answerPrioritising tests by the likelihood and impact of failure, so critical areas get the most coverage when time is limited.
09 What is the difference between an error, a defect and a failure? Show answerA human error causes a defect in the code, and when that defect is executed it produces a failure visible to users.
10 What makes a good bug report? Show answerA clear title, steps to reproduce, expected vs actual result, environment/build, severity and priority, and evidence (screenshot, video, logs).
11 What is a bug triage meeting? Show answerA regular review where QA, development and product assess new bugs and decide severity, priority, owner and target release.
12 What is accessibility testing? Show answerChecking that people with disabilities can use the product, using screen readers, keyboard navigation, colour contrast and WCAG guidelines.
13 What is the difference between GET and POST? Show answerGET retrieves data and has parameters in the URL; POST sends data in the body to create or process something.
Show answerAn API style using HTTP methods on resources identified by URLs, usually exchanging JSON and staying stateless.
15 How do you review test cases? Show answerPeer review for clarity, coverage of requirements, correct expected results, test data and traceability, then update and baseline them.
16 What is compatibility testing? Show answerChecking the application works across browsers, devices, operating systems, screen sizes and network conditions.
17 What are the levels of testing? Show answerUnit, integration, system and acceptance testing, moving from individual components to the complete product in front of users.
18 What are entry and exit criteria? Show answerEntry criteria are conditions that must be met to start testing (build ready, environment set); exit criteria define when testing can stop (pass rate, no critical defects).
19 What is API testing and why is it important? Show answerTesting services directly without the UI, checking status codes, responses, security and performance. It finds issues early and is faster than UI tests.
20 What is the definition of done? Show answerA shared checklist for when a story is complete, usually including code review, tests passing, no open critical bugs and documentation updated.
21 Write test cases for a lift (elevator). Show answerMoves to the chosen floor, doors open and close, door sensor stops closing on obstruction, overload alarm, emergency button, behaviour in a power cut, max capacity and the floor display.
22 Write test cases for a file upload feature. Show answerAllowed and disallowed formats, size limits, empty file, duplicate names, special-character names, cancel upload, slow network and multiple files.
23 What is configuration testing? Show answerVerifying the application works across different hardware, software and settings combinations.
Show answerDefects found after release that testing should have caught; leakage % = defects in production / total defects x 100.
25 Write test cases for an online money transfer. Show answerValid transfer, insufficient balance, daily limit, wrong beneficiary, OTP failure, network drop mid-transaction, duplicate click and statement update.
26 Write test cases for an ATM withdrawal. Show answerValid card and PIN, wrong PIN, three failed attempts, amount above balance, amount above daily limit, invalid denomination, machine out of cash, network failure and receipt printing.
Show answerTDD writes unit tests before code to drive design; BDD describes behaviour in business language scenarios that become automated acceptance tests.
28 Write a SQL query to find duplicate records. Show answerSELECT email, COUNT(*) FROM users GROUP BY email HAVING COUNT(*) > 1;
29 What is performance testing and its types? Show answerMeasuring speed and stability: load (expected users), stress (beyond limits), spike (sudden surge), endurance (long duration) and scalability testing.
30 What metrics do QA teams track? Show answerTest execution rate, pass percentage, defect density, defect leakage, defect rejection ratio, requirement coverage and automation coverage.
31 How do you test an application with no documentation? Show answerTalk to developers and users, explore the product, review similar systems, create notes and mind maps, confirm assumptions and write test cases as you learn.
32 Write test cases for a signup form. Show answerMandatory fields, email format, password rules, duplicate email, terms checkbox, captcha, confirmation email and field length limits.
33 What is a sprint planning meeting and what does QA contribute? Show answerThe team selects stories for the sprint. QA helps estimate testing effort, clarifies acceptance criteria and flags dependencies and risks.
Show answerUser Acceptance Testing — end users or the client verify that the system meets business needs in a production-like environment before go-live.
35 What is boundary value analysis? Show answerTesting at the edges of input ranges, such as 17, 18 and 19 for an age limit of 18, since errors cluster at boundaries.
36 What is mobile app testing and what extra checks does it need? Show answerTest on real devices and OS versions, interrupts such as calls, battery, network changes, gestures, permissions and app store guidelines.
37 What are the boundary values for an age field that accepts 18–60? Show answerTest 17, 18, 19, 59, 60 and 61.
38 How do you test an application when requirements change frequently? Show answerKeep tests modular, prioritise by risk, use exploratory testing, automate stable parts and keep close contact with product owners.
39 What are test data and how do you prepare them? Show answerThe inputs used in tests. Prepare using valid, invalid and boundary values from production-like but masked data, spreadsheets or generators.
40 How do you decide the priority of test cases? Show answerBy business criticality, usage frequency, defect history, risk and dependencies, running high-priority cases first.
41 What is a test closure report? Show answerA final document summarising what was tested, defects found and open, metrics, lessons learned and the recommendation for release.
42 What are the typical JIRA workflows for bugs? Show answerStatuses like To Do, In Progress, In Review, Ready for QA, Done and Reopened, with transitions that depend on the team's configuration.
43 What is the difference between smoke testing in CI and full regression? Show answerSmoke tests run on every build for quick feedback; full regression runs less often, such as nightly or before release.
Show answerSmoke testing checks that the critical features of a new build work (broad and shallow). Sanity testing checks that a specific fix or area works after a change (narrow and deep).
45 What are the seven principles of testing? Show answerTesting shows presence of defects, exhaustive testing is impossible, test early, defects cluster, the pesticide paradox, testing is context-dependent and absence-of-errors is a fallacy.
46 What is a test environment? Show answerThe hardware, software, data and configuration where testing happens, set up to mirror production as closely as practical.
47 What is the difference between static and dynamic testing? Show answerStatic testing reviews documents and code without executing; dynamic testing executes the software to observe behaviour.
48 Write test cases for a calculator app. Show answerBasic operations, division by zero, decimals, large numbers, order of operations, clear and backspace, repeated operations and memory keys.
Show answerUsing experience to guess where defects likely hide, such as empty fields, special characters or unexpected sequences, and designing tests for them.
50 What is software testing and why is it needed? Show answerEvaluating software to find defects and confirm it meets requirements. It reduces risk, protects users and saves the cost of fixing bugs after release.
51 What is root cause analysis for defects? Show answerFinding why a defect was introduced, such as unclear requirements or missed reviews, to prevent similar defects in future.
52 A bug is not reproducible. What next? Show answerRe-check environment, data, browser and steps; check the logs; try the reporter's setup; add video and console logs; mark it 'cannot reproduce' only after discussing with the developer, and keep monitoring.
53 How do you test a REST API with authentication? Show answerCheck access with valid, expired and missing tokens, role-based permissions, error codes and that sensitive data is never exposed.
54 What is test coverage and how do you measure it? Show answerThe extent of requirements or code exercised by tests. Measure requirement coverage with a traceability matrix and code coverage with tools.
55 What are the characteristics of a good test case? Show answerClear, concise, independent, repeatable, traceable to a requirement, with precise expected results and tested data.
56 What is a test scenario for the login functionality at a high level? Show answerValid login, invalid login, forgot password, locked account and session handling are the main scenarios to cover.
57 What is regression testing, and when do you automate it? Show answerRe-testing existing features after a change. Automate stable, repetitive, high-value flows that run every release.
58 What is pairwise testing? Show answerA technique that tests all pairs of input values instead of every combination, greatly reducing test cases while catching most defects.
59 What is the testing pyramid? Show answerA model with many fast unit tests at the base, fewer API or integration tests in the middle and a small number of UI tests at the top.
60 What is the difference between a test suite and a test run? Show answerA suite is a collection of related test cases; a run is one execution of a set of tests against a build.
61 SQL: find duplicate emails. Show answerSELECT email, COUNT(*)
FROM users
GROUP BY email
HAVING COUNT(*) > 1;
62 Production has a critical bug. What are your steps? Show answerReproduce and assess impact, inform stakeholders, help developers fix and verify in staging, run regression and check monitoring after the hotfix, then do a post-mortem.
63 What is a test plan and what does it contain? Show answerA document defining scope, approach, resources, schedule, entry and exit criteria, risks and deliverables of testing.
64 What is use case testing? Show answerDesigning tests from user flows described in use cases to verify complete real-world interactions.
65 What goes into a test plan? Show answerScope (in and out), objectives, approach, environments, schedule, roles, entry/exit criteria, risks and mitigation, deliverables and tools.
66 What is decision table testing? Show answerList conditions and actions in a table and cover every combination of conditions (rules) — ideal for business rules like loan approval: salary > X AND credit score > Y → approve.
67 Scrum ceremonies and the tester's role? Show answerSprint planning (estimate test effort), daily stand-up (status and blockers), sprint review (demo) and retrospective (improve). Testers clarify acceptance criteria early and test within the sprint.
68 What is usability testing? Show answerEvaluating how easy and pleasant a product is to use by observing real users complete tasks and noting confusion.
69 What is a sprint retrospective? Show answerA team meeting at the end of a sprint to discuss what went well, what did not and what to improve next.
70 Functional vs non-functional testing? Show answerFunctional testing checks what the system does (login, checkout). Non-functional testing checks how well it does it (performance, security, usability, compatibility).
71 What are severity and priority? Give examples. Show answerSeverity is impact on the system; priority is urgency of the fix. A crash in a rare report is high severity, low priority; a spelling mistake in the logo is low severity, high priority.
72 What is a test case and its components? Show answerA set of steps with inputs and expected results. Components: ID, title, preconditions, steps, test data, expected result, actual result and status.
73 How do you estimate testing effort? Show answerBreak the work into modules and test cases, use past velocity or three-point estimation (optimistic, likely, pessimistic), add time for test data, environment issues, retesting and regression, and keep a risk buffer.
74 What is the difference between alpha and beta testing? Show answerAlpha is done in-house by internal teams before release; beta is done by a limited group of real users in their own environment.
75 Difference between black box, white box and grey box testing? Show answerBlack box tests behaviour without code knowledge; white box tests internal logic and paths; grey box uses partial knowledge of the internals.