com.browserstack.automate.ci.jenkins
Class AutomateTestAction

java.lang.Object
  extended by hudson.tasks.junit.TestAction
      extended by com.browserstack.automate.ci.jenkins.AutomateTestAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class AutomateTestAction
extends hudson.tasks.junit.TestAction

A TestAction extension to display the BrowserStack Automate video for the session.

Author:
Shirish Kamath, Anirudha Khanna

Constructor Summary
AutomateTestAction(hudson.model.Run<?,?> run, hudson.tasks.junit.CaseResult caseResult, String sessionId)
           
 
Method Summary
 String annotate(String text)
           
 String getDisplayName()
           
 String getIconFileName()
           
 String getLastError()
           
 com.browserstack.automate.model.Session getSession()
           
 String getUrlName()
           
 void iframeLoadTime(int time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomateTestAction

public AutomateTestAction(hudson.model.Run<?,?> run,
                          hudson.tasks.junit.CaseResult caseResult,
                          String sessionId)
Method Detail

getLastError

@Exported
public String getLastError()

getSession

@Exported
public com.browserstack.automate.model.Session getSession()

iframeLoadTime

@JavaScriptMethod
public void iframeLoadTime(int time)

annotate

public String annotate(String text)
Overrides:
annotate in class hudson.tasks.junit.TestAction

getIconFileName

public String getIconFileName()

getDisplayName

public String getDisplayName()

getUrlName

public String getUrlName()


Copyright © 2004-2016. All Rights Reserved.