max0987
6 years agoNew 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...
- 6 years ago
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