Forum Discussion

ranujn's avatar
ranujn
Contributor
7 years ago
Solved

Simple Functional Web Testing

I wanna to try simple functional web testing like

1) Open the specific URL

2) Enter some value 

3) press the button

4) get the response and press the next button

5) press button again to save and come back to ready api and perform another API

 

I am not aware if it possible to do this with Ready API

 

FYI:- I dont want to use any other paid tool to achieve this.

 

Please suggest if any blog and free tool available to do this with Soap UI Pro.

 

Thanks in Advance.

17 Replies

  • avidCoder's avatar
    avidCoder
    Super Contributor

    It's really possible with ReadyAPI tool. You can use Selenium jar to automate this. Download selenium server and add that jar file to home/soapui/ext folder. And then try this code:-

     

    import org.openqa.selenium.firefox.FirefoxDriver;
    import org.openqa.selenium.WebElement;
    import org.openqa.selenium.By;
    
    def driver = new FirefoxDriver();
    driver.get("YOUR URL")
    //Similarly write the xpath for the next step. And you are done.
    • ranujn's avatar
      ranujn
      Contributor

      Thanks for the quick response.

       

      I never work on Selenium before. However, I can explore and try something new. Is there any proper blog or something which I can follow to do stating setup for selenium