Class JobQuestionPane


  • public class JobQuestionPane
    extends BaseElement
    Represent a job question element to be manipulated in functional tests.
    Since:
    11.1RC1
    Version:
    $Id: fc53e6f16a8bd426b48aa9fb1fbc89097023975d $
    • Constructor Detail

      • JobQuestionPane

        public JobQuestionPane()
    • Method Detail

      • waitForQuestionPane

        public JobQuestionPane waitForQuestionPane()
        Waits for the elements to be visible before returning the question pane. It shouldn't be used if a blocked job is expected (see isBlockedJob()).
        Returns:
        a job question pane loaded.
      • isCanceled

        public boolean isCanceled()
        Returns:
        true if the question has been canceled.
      • isEmpty

        public boolean isEmpty()
        Returns:
        true if the question area is empty.
      • getQuestionTitle

        public String getQuestionTitle()
        Returns:
        the title of the current question.
      • getQuestionTree

        public TreeElement getQuestionTree()
        Returns:
        the tree element corresponding to the current question.
      • cancelQuestion

        public void cancelQuestion()
        Cancel the question.
      • confirmQuestion

        public CopyOrRenameOrDeleteStatusPage confirmQuestion()
        Confirm the question.
        Returns:
        return a page status to check what happens.
      • isBlockedJob

        public boolean isBlockedJob()
        Returns:
        true if the current job is blocked by another one.