Uses of Class
org.openqa.grid.internal.TestSession

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 TestSlot.getNewSession(Map<String,Object> desiredCapabilities)
          Try to get a new session for the test slot for the desired capability.
 TestSession RemoteProxy.getNewSession(Map<String,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(String externalKey)
          gets the test session associated to this external key.
 

Methods in org.openqa.grid.internal that return types with arguments of type TestSession
 Set<TestSession> Registry.getActiveSessions()
           
 

Methods in org.openqa.grid.internal with parameters of type TestSession
 boolean TestSession.sendSelenium1TestComplete(TestSession session)
          Sends a cmd=testComplete command to the remote, following selenium1 protocol.
 

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 WebRemoteProxy.getNewSession(Map<String,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 WebRemoteProxy.afterCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void WebDriverRemoteProxy.afterSession(TestSession session)
           
 void WebRemoteProxy.beforeCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void SeleniumRemoteProxy.beforeCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
abstract  void WebRemoteProxy.beforeRelease(TestSession session)
           
 void WebDriverRemoteProxy.beforeRelease(TestSession session)
           
 void SeleniumRemoteProxy.beforeRelease(TestSession session)
           
 void WebDriverRemoteProxy.beforeSession(TestSession session)
           
 

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)
           
 String WebDriverRequestHandler.forwardNewSessionRequest(TestSession session)
           
 String Selenium1RequestHandler.forwardNewSessionRequest(TestSession session)
           
abstract  String 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.
protected  void RequestHandler.forwardRequest(TestSession session, RequestHandler handler)
           
protected  void RequestHandler.setSession(TestSession session)
           
 



Copyright © 2011. All Rights Reserved.