Back to Browse

Selenium Framework - Part 6 - Understanding Thread Safety and Issues

12.2K views
Dec 12, 2020
17:50

In this video, we will cover what is causing the parallel execution to fail in selenium. 1. My test scripts working fine when running sequentially but failing when ran in parallel. Have you faced this issue? What is causing this issue? 2. All local variables of primitive types are stored in Thread stack itself 3. All local variables of non primitive types are stored on stack but the object itself in heap 4. An object’s member variable is stored in heap along with the object itself. (Primitive and Reference). If the thread has access to object, it also has access to its members. 5. Static class variables are also stored in the heap.

Download

0 formats

No download links available.

Selenium Framework - Part 6 - Understanding Thread Safety and Issues | NatokHD