Skip to content
CodeKruPro

Tests pass alone but fail in parallel

QuizMediumAsked in: Accenture, Capgemini, Infosys, SaaS Labs, Swiggy, TCS

Every test passes when run alone. In a parallel run, different tests fail each time with odd errors. What is the most likely cause?

  • Shared state: one driver, account, data record or file used by several tests at once
  • The browser is too old
  • Parallel runs always fail; the tool does not support them
  • The locators are wrong

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in