Tab Switch Warning in Online Test: What Happens Next?
Switching tabs in a proctored test is always logged. Here is what HackerEarth, Mettl and Testlify do by setting, and how to avoid accidental exits.
Last updated: 23 October 2026 · By the Asuraa Team
Quick answer: If you switch tabs in a proctored online test, the platform typically logs it and applies the employer's setting: a warning, a logout after a limit, or immediate termination. As of October 2026, HackerEarth's default is 5 warnings before logout, Mettl can end the test on the first exit, and Testlify lets employers choose warn-only or terminate. One accidental switch is usually reviewed, not auto-rejected, but return to the test at once.
Key takeaways
- Proctored online tests log every tab switch, and the employer's setting decides whether it causes a warning, a logout or termination.
- HackerEarth logs candidates out after leaving the test environment 5 times by default, and employers can change this limit.
- Mercer Mettl's No Warning setting terminates the test the first time a candidate leaves the test window.
- HackerEarth Smart Browser removes a candidate who does not return within 10 seconds of the first warning.
- Testlify employers choose between Warn, which only logs violations, and Terminate, which disqualifies the candidate at the violation limit.
If you switch tabs in a proctored online test, the platform almost always records it, and depending on the employer's setting you either get a warning, get logged out, or have the test ended on the spot. There is no single rule: each assessment platform lets the employer pick how strict to be. What is consistent is that the switch is logged in the report the employer reviews afterwards.
This guide shows what HackerEarth, Mercer Mettl and Testlify say happens, based on their help centres as of October 2026, and what to do if you switched by accident. For the wider picture of online hiring tests in India, see our online assessments guide for India.
What happens when you switch tabs in an online test?
The platform detects that the test window lost focus, logs the event, and applies whichever action the employer configured: warn, count towards a limit, or terminate. Most platforms show a warning on screen the first time, often with a count of how many exits remain. Once the limit is crossed, you are logged out or the test is ended, and whatever you had saved is what gets evaluated.
"Switching tabs" is broader than clicking another browser tab. HackerEarth's Before you begin article says leaving the test also includes opening another window or application, including antivirus or messaging pop-ups. Clicking a WhatsApp Desktop notification, an antivirus alert or a Windows update prompt can all count.
What does each platform do on a tab switch?
The result depends on the platform and the setting the employer picked. This decision table summarises the official documentation.
| Platform and setting | First switch | Repeated switches | Source |
|---|---|---|---|
| HackerEarth, "log out candidates who leave the test environment" on | Warning shown | Logged out after the limit; default is 5 warnings, employer can change it | HackerEarth proctoring settings |
| HackerEarth, setting off | No logout from this rule; tab switches can still count towards the integrity index | Can lower the integrity index in the report | HackerEarth release notes |
| HackerEarth Smart Browser | Warning | Removed from the test if you do not return within 10 seconds of the first warning | HackerEarth Smart Browser settings |
| Mettl, browsing tolerance "No Warning" | Test terminated immediately | Not applicable | Mettl anti-cheating measures |
| Mettl, browsing tolerance with a warning count | Warning; Mettl can show exits remaining | Test terminated when the count is exceeded | Mettl anti-cheating measures |
| Mettl, browsing tolerance "Not Applicable" | Not counted by this rule | Not counted by this rule | Mettl anti-cheating measures |
| Testlify tab proctoring, "Warn" | Warning; violation logged | Test continues; every violation in the report | Testlify tab proctoring |
| Testlify tab proctoring, "Terminate" | Violation logged | Disqualified once the violation limit is reached | Testlify tab proctoring |
Two patterns stand out. First, most settings log the switch even when nothing visible happens, so "nothing happened" on screen does not mean nothing was recorded. Second, the strictest settings (Mettl's No Warning mode, HackerEarth Smart Browser's 10-second rule) give you almost no margin, which is why preparing your machine matters more than knowing the limit.
Will one accidental tab switch get you rejected?
Usually not on its own, but it is recorded and a reviewer may see it. Platforms present tab switches as data for the employer rather than an automatic verdict. Testlify, for example, explains in its proctoring flags article that minor violations trigger a yellow "potential violation" flag that calls for manual review of the recording, while confirmed issues such as multiple faces or external copy-paste lead to a red flag and a review that may invalidate the session.
So one switch caused by a pop-up, followed by an immediate return, is very different from ten switches during a coding question. The second pattern is what reviewers look for. HackerEarth's March 2024 release notes describe an integrity index that combines tab switches, webcam snapshot violations and plagiarism into one score, which shows that platforms weigh the overall pattern.
What should you do if you switched tabs by mistake?
Return to the test immediately, keep going, and tell the recruiter in writing afterwards. A short checklist:
- Go back to the test window at once. On HackerEarth Smart Browser, you have 10 seconds after the first warning.
- Close whatever caused it. If a messaging app or antivirus pop-up appeared, dismiss it from inside the test only if you can; otherwise just return.
- Do not try to "fix" anything in another window. Opening Settings or Task Manager mid-test is another exit.
- Note the time and question number.
- Finish the test normally. Panic costs more marks than the switch.
- Email the recruiter or placement cell after the test. Explain briefly what happened, for example a system notification, and offer to retake or explain in an interview.
If you were logged out, re-open the test link: some platforms and settings allow you to continue, others do not. If the link no longer works, contact the recruiter the same day.
How do you avoid accidental tab switches before the test starts?
Remove every source of pop-ups before you click Start. Most accidental exits come from the computer, not from the candidate.
| Source of accidental switch | Fix before the test |
|---|---|
| WhatsApp Desktop, Telegram, Slack, Teams | Quit the apps fully, not just minimise |
| Windows or macOS notifications | Turn on Do Not Disturb or Focus mode |
| Windows Update or antivirus scans | Pause updates and scheduled scans; HackerEarth's help centre recommends turning off system updates |
| Browser extensions, especially AI helpers | Disable them or use a clean browser profile; Testlify can detect browser AI plugins (Testlify AI plugin restriction) |
| Second monitor or TV | Disconnect it; lockdown browsers often refuse to run with extra displays |
| Low battery warnings | Keep the charger plugged in |
| Trackpad gestures that switch desktops | Use a mouse or disable multi-finger gestures |
Also read the instruction screen for the exact tab-switch rule. Some platforms show how many exits you have left, which is useful to know before you start.
What do most guides on tab switching in online tests get wrong?
Most guides answer with a single number, such as "you get three warnings", or claim the browser cannot detect anything if you use a second device. Both are misleading.
There is no universal number: HackerEarth's default is 5 warnings but the employer can change it, Mettl can end the test on the first exit, and Testlify lets employers choose between warn-only and terminate. The only reliable source is the instruction screen of your test.
As for a second device, tab detection is only one layer. Mettl's documentation lists webcam AI flags for a mobile phone, another person and looking away, and HackerEarth added a "candidate looking away" snapshot category aimed at exactly that behaviour. Testlify's Focus Guard flags pop-ups from AI tools and suspicious keyboard shortcuts for review. Our explainer on whether online assessments can detect cheating covers these signals in detail.
Do campus and off-campus tests in India use these settings?
Many do, because Indian employers run campus and off-campus tests on these same platforms. Read the platform name in your invite email, then check the matching guide: our HackerEarth assessment guide, our Mercer Mettl rules guide and our HackerRank coding test tips explain each platform's test-day setup.
Related guides
- Online Assessments for Jobs in India: Complete Guide
- SHL Assessment for Freshers: Test Types and How to Prepare
- Can Online Assessments Detect Cheating? What They Track
- Mercer Mettl Test: Rules, Proctoring and What Is Allowed
FAQ
Can an online test detect if I switch tabs?
Yes, proctored tests on platforms such as HackerEarth, Mercer Mettl and Testlify detect when the test window loses focus and log each event. HackerEarth's help centre says this includes opening another app or clicking a system notification, not just another browser tab. Whether you get a warning, a logout or termination depends on the setting the employer chose.
How many tab switches are allowed in a HackerEarth test?
HackerEarth's default limit is 5 warnings before the candidate is logged out, according to its proctoring settings article, but the employer can change that number or switch the rule off. In HackerEarth's Smart Browser, you must return within 10 seconds of the first warning or you are removed. Check the instruction screen of your specific test.
Does Mettl end the test if I switch tabs?
It can. Mettl's browsing tolerance setting lets the organisation choose No Warning, which terminates the test on the first exit, or a warning count, after which the test is terminated. Mettl can also show you how many exits you have left. Treat any Mettl test as zero-tolerance unless the instructions say otherwise.
Will I be rejected for one accidental tab switch?
Usually not on that basis alone, unless the test uses a terminate-on-first-exit setting. Platforms log the switch for the employer to review, and Testlify, for instance, says minor violations call for manual review. Return to the test immediately, finish normally, and email the recruiter afterwards explaining what caused the switch.
Do notifications count as tab switching?
They can. HackerEarth's help centre says opening another application, including antivirus or messaging app pop-ups, counts as leaving the test environment. Before any proctored test, quit WhatsApp Desktop and similar apps, turn on Do Not Disturb or Focus mode, pause system updates and antivirus scans, and keep your charger plugged in.
Final thoughts
A tab switch is rarely the end of your chances, but it is always recorded, and the strictest settings give you seconds, not minutes. Clean up your machine before the test, read the tab-switch rule on the instruction screen, and spend your energy on the questions. When you are ready for the next application, browse fresher openings on Asuraa Jobs.
Related articles
Government Internships for Students in India: Full List
A verified comparison of NITI Aayog, RBI, MEA and NABARD internships for students: who can apply, duration, stipend and when to apply.
New Labour Codes: what changes for salaried employees
A before-and-after table of what the four Labour Codes changed for salaried employees, from appointment letters to two-day final settlement.
Will the 50% wages rule reduce your take-home pay?
The 50% wages rule changes your PF and gratuity base, not automatically your in-hand pay. A worked Rs 50,000 CTC example shows both outcomes.
Form 16 is now Form 130: what changes under the new Tax Act
Form 130 replaces Form 16 for salary earned from tax year 2026-27. Here is the official old-to-new form map and what it means for your next return.