|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TestSession | |
---|---|
org.openqa.grid.internal | |
org.openqa.grid.internal.listeners | |
org.openqa.grid.selenium.proxy | |
org.openqa.grid.web.servlet.handler |
Uses of TestSession in org.openqa.grid.internal |
---|
Methods in org.openqa.grid.internal that return TestSession | |
---|---|
TestSession |
ProxySet.getNewSession(java.util.Map<java.lang.String,java.lang.Object> desiredCapabilities)
|
TestSession |
TestSlot.getNewSession(java.util.Map<java.lang.String,java.lang.Object> desiredCapabilities)
Try to get a new session for the test slot for the desired capability. |
TestSession |
RemoteProxy.getNewSession(java.util.Map<java.lang.String,java.lang.Object> requestedCapability)
return a new test session if the current proxy has the resources and is ready to run the test. |
TestSession |
TestSlot.getSession()
get the test session currently executed on this test slot. |
TestSession |
Registry.getSession(ExternalSessionKey externalKey)
gets the test session associated to this external key. |
Methods in org.openqa.grid.internal that return types with arguments of type TestSession | |
---|---|
java.util.Set<TestSession> |
Registry.getActiveSessions()
|
Methods in org.openqa.grid.internal with parameters of type TestSession | |
---|---|
void |
Registry.terminate(TestSession session)
Ends this test session for the hub, releasing the resources in the hub / registry. |
Uses of TestSession in org.openqa.grid.internal.listeners |
---|
Methods in org.openqa.grid.internal.listeners with parameters of type TestSession | |
---|---|
void |
CommandListener.afterCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executed just before the forwards returns. |
void |
TestSessionListener.afterSession(TestSession session)
Will be run after the last command is forwarded, but before the proxy slot is released. |
void |
CommandListener.beforeCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executed before the hub forwards the request. reading the content of the request stream will prevent the content from being forwarded. |
void |
TimeoutListener.beforeRelease(TestSession session)
Gives a chance to clean the resources on the remote when the session has timed out. |
void |
TestSessionListener.beforeSession(TestSession session)
Will be run after the proxy slot is reserved for the test, but before the first command is forwarded to the remote. |
Uses of TestSession in org.openqa.grid.selenium.proxy |
---|
Methods in org.openqa.grid.selenium.proxy that return TestSession | |
---|---|
TestSession |
DefaultRemoteProxy.getNewSession(java.util.Map<java.lang.String,java.lang.Object> requestedCapability)
overwrites the session allocation to discard the proxy that are down. |
Methods in org.openqa.grid.selenium.proxy with parameters of type TestSession | |
---|---|
void |
DefaultRemoteProxy.afterCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
DefaultRemoteProxy.afterSession(TestSession session)
|
void |
DefaultRemoteProxy.beforeCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
DefaultRemoteProxy.beforeRelease(TestSession session)
|
void |
DefaultRemoteProxy.beforeSession(TestSession session)
The client shouldn't have to care where firefox is installed as long as the correct version is launched, however with webdriver the binary location is specified in the desiredCapability, making it the responsibility of the person running the test. |
Uses of TestSession in org.openqa.grid.web.servlet.handler |
---|
Methods in org.openqa.grid.web.servlet.handler that return TestSession | |
---|---|
protected TestSession |
RequestHandler.getSession()
|
Methods in org.openqa.grid.web.servlet.handler with parameters of type TestSession | |
---|---|
void |
RequestHandler.bindSession(TestSession session)
|
ExternalSessionKey |
Selenium1RequestHandler.forwardNewSessionRequest(TestSession session)
|
abstract ExternalSessionKey |
RequestHandler.forwardNewSessionRequest(TestSession session)
Forward the new session request to the TestSession that has been assigned, and parse the response to extract and return the external key assigned by the remote. |
ExternalSessionKey |
WebDriverRequestHandler.forwardNewSessionRequest(TestSession session)
|
protected void |
RequestHandler.forwardRequest(TestSession session,
RequestHandler handler)
|
protected void |
RequestHandler.setSession(TestSession session)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |