Class CommandResult

java.lang.Object
jp.vmi.selenium.selenese.result.CommandResult

public class CommandResult
extends Object
Pair of command and result.
  • Constructor Details

    • CommandResult

      public CommandResult​(String sequence, ICommand command, List<Screenshot> screenshots, Result result, long startTime, long endTime)
      Constructor.
      Parameters:
      sequence - sequence.
      command - command.
      screenshots - list of screenshot information.
      result - the result of above command.
      startTime - start time.
      endTime - end time.
  • Method Details

    • getSequence

      public String getSequence()
      Get sequence.
      Returns:
      sequenc.
    • getCommand

      public ICommand getCommand()
      Get command.
      Returns:
      command.
    • getScreenshots

      public List<Screenshot> getScreenshots()
      Get list of screenshot information.
      Returns:
      list of screenshot information.
    • getResult

      public Result getResult()
      Get result.
      Returns:
      result.
    • getStartTime

      public long getStartTime()
      Get start time.
      Returns:
      start time. (ms)
    • getEndTime

      public long getEndTime()
      Get end time.
      Returns:
      end time. (ms)
    • getDuration

      public long getDuration()
      Get duration.
      Returns:
      duration. (ms)