Class WebUI

  • All Implemented Interfaces:
    org.robotframework.javalib.library.KeywordDocumentationRepository, org.robotframework.javalib.library.RobotFrameworkDynamicAPI

    public class WebUI
    extends org.robotframework.javalib.library.AnnotationLibrary
    • Field Summary

      • Fields inherited from class org.robotframework.javalib.library.AnnotationLibrary

        beanLoaders, classFilter
    • Constructor Summary

      Constructors 
      Constructor Description
      WebUI()  
    • Constructor Detail

      • WebUI

        public WebUI()
    • Method Detail

      • capturePageScreenshot

        public void capturePageScreenshot​(java.lang.String fileName)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • capturePageScreenshot

        public void capturePageScreenshot()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • captureFullPageScreenshot

        public void captureFullPageScreenshot​(java.lang.String fileName)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • captureFullPageScreenshot

        public void captureFullPageScreenshot()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • openBrowser

        public void openBrowser​(java.lang.String url)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • closeBrowser

        public void closeBrowser()
      • findWebElement

        public org.openqa.selenium.WebElement findWebElement​(java.lang.String objectID,
                                                             java.util.Map variables)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • findWebElement

        public org.openqa.selenium.WebElement findWebElement​(java.lang.String objectID)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • findWebElements

        public java.util.List<org.openqa.selenium.WebElement> findWebElements​(java.lang.String objectID,
                                                                              java.util.Map variables)
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • findWebElements

        public java.util.List<org.openqa.selenium.WebElement> findWebElements​(java.lang.String objectID)
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • click

        public void click​(java.lang.String objectID,
                          java.util.Map variables)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • click

        public void click​(java.lang.String objectID)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • uploadFile

        public void uploadFile​(java.lang.String objectID,
                               java.lang.String absolutePath,
                               java.util.Map variables)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • uploadFile

        public void uploadFile​(java.lang.String objectID,
                               java.lang.String absolutePath)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setText

        public void setText​(java.lang.String objectID,
                            java.lang.String text,
                            java.util.Map variables)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setText

        public void setText​(java.lang.String objectID,
                            java.lang.String text)
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getText

        public java.lang.String getText​(java.lang.String objectID,
                                        java.util.Map variables)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getText

        public java.lang.String getText​(java.lang.String objectID)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTexts

        public java.util.List<java.lang.String> getTexts​(java.lang.String objectID)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementPresent

        public void verifyElementPresent​(java.lang.String objectID,
                                         java.util.Map variables)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementPresent

        public void verifyElementPresent​(java.lang.String objectID)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementNotPresent

        public void verifyElementNotPresent​(java.lang.String objectID,
                                            java.util.Map variables)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementNotPresent

        public void verifyElementNotPresent​(java.lang.String objectID)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementHasAttribute

        public void verifyElementHasAttribute()
      • verifyElementNotHasAttribute

        public void verifyElementNotHasAttribute()
      • verifyElementAttributeValue

        public void verifyElementAttributeValue()
      • verifyElementTextEquals

        public void verifyElementTextEquals​(java.lang.String objectID,
                                            java.util.Map variables,
                                            java.lang.String expectText)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementTextEquals

        public void verifyElementTextEquals​(java.lang.String objectID,
                                            java.lang.String expectText)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementTextContains

        public void verifyElementTextContains​(java.lang.String objectID,
                                              java.util.Map variables,
                                              java.lang.String expectText)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementTextContains

        public void verifyElementTextContains​(java.lang.String objectID,
                                              java.lang.String expectText)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementVisible

        public void verifyElementVisible​(java.lang.String objectID,
                                         java.util.Map variables)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementVisible

        public void verifyElementVisible​(java.lang.String objectID)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementNotVisible

        public void verifyElementNotVisible​(java.lang.String objectID,
                                            java.util.Map variables)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • verifyElementNotVisible

        public void verifyElementNotVisible​(java.lang.String objectID)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • moveToElement

        public void moveToElement​(java.lang.String objectID,
                                  java.util.Map variables)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • moveToElement

        public void moveToElement​(java.lang.String objectID)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • scrollToElement

        public void scrollToElement​(java.lang.String objectID,
                                    java.util.Map variables)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • scrollToElement

        public void scrollToElement​(java.lang.String objectID)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception