cancel
Showing results for 
Search instead for 
Did you mean: 

Steps in web middle of API testing

SOLVED
Highlighted
New Contributor

Steps in web middle of API testing

Hi, Can some one suggest, how to do certain activities after I run APIs. Activities such as opening a link and clicking a buttong and then read a text as output. 
Can anyone have any idea to do this ? I mean with out the help of TestComplete tool, and just possible to do in Soap UI Pro. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super Contributor

Re: Steps in web middle of API testing

Yes, ReadyAPI with Selenium integration can help you to resolve this problem. Please go through this link :-

https://support.smartbear.com/readyapi/docs/integrations/selenium/integrate.html

 

Pseudo Code :-

//Opening a link
WebDriver driver = new ChromeDriver()
driver.get("You Link")

//Clicking a button
driver.findElement(By.xpath("locator_object")).click()

//Reading as text
WebElement textValue = driver.findElement(By.xpath("locator_object")).getText()

And here is the setup solution provided by me :-

https://community.smartbear.com/t5/SoapUI-Pro/Simple-Functional-Web-Testing/m-p/178221#M40572

View solution in original post

2 REPLIES 2
Highlighted
Super Contributor

Re: Steps in web middle of API testing

Yes, ReadyAPI with Selenium integration can help you to resolve this problem. Please go through this link :-

https://support.smartbear.com/readyapi/docs/integrations/selenium/integrate.html

 

Pseudo Code :-

//Opening a link
WebDriver driver = new ChromeDriver()
driver.get("You Link")

//Clicking a button
driver.findElement(By.xpath("locator_object")).click()

//Reading as text
WebElement textValue = driver.findElement(By.xpath("locator_object")).getText()

And here is the setup solution provided by me :-

https://community.smartbear.com/t5/SoapUI-Pro/Simple-Functional-Web-Testing/m-p/178221#M40572

View solution in original post

Highlighted
Community Manager

Re: Steps in web middle of API testing

Thanks for your reply, @avidCoder.

@max0987, is this what you are looking for? If so, accept the reply as a solution.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Top Kudoed Authors