0
0
Selenium Pythontesting~5 mins

Grid architecture (hub and node) in Selenium Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the role of the Hub in Selenium Grid architecture?
The Hub acts as the central point that receives test requests and distributes them to the connected Nodes for execution.
Click to reveal answer
beginner
What is a Node in Selenium Grid?
A Node is a machine registered to the Hub that executes the tests on different browsers and platforms as requested by the Hub.
Click to reveal answer
beginner
How does Selenium Grid help in test execution?
It allows running tests in parallel on multiple machines and browsers, speeding up the testing process and increasing coverage.
Click to reveal answer
intermediate
Why is it important to have Nodes with different browser versions in Selenium Grid?
Having Nodes with different browser versions helps test the application’s compatibility across various environments.
Click to reveal answer
intermediate
What happens if the Hub is down in Selenium Grid architecture?
If the Hub is down, Nodes cannot receive test requests, so no tests can be executed until the Hub is back online.
Click to reveal answer
What component in Selenium Grid manages test distribution?
ATest script
BNode
CHub
DBrowser
Which of the following is true about Nodes?
ANodes execute tests on browsers
BNodes manage test scripts
CNodes send test requests to the Hub
DNodes are not part of Selenium Grid
What is a key benefit of using Selenium Grid?
ARunning tests on a single browser
BRunning tests in parallel on multiple machines
CRunning tests sequentially
DWriting test scripts faster
If a Node is offline, what happens to tests assigned to it?
ATests are rerouted to other available Nodes
BTests fail immediately
CTests run on the Hub
DTests run on the Node anyway
Which Selenium Grid component must be started first?
ANode
BTest script
CBrowser
DHub
Explain the roles of Hub and Node in Selenium Grid architecture.
Think about who sends and who runs the tests.
You got /4 concepts.
    Describe how Selenium Grid improves test efficiency.
    Consider how running tests at the same time helps.
    You got /4 concepts.