Hi, can someone suggest me how to write Groovy script to click a link and verify something on the screen like Texts
If you are using ReadyAPI, then you can use selenium script to click a link and verify anything. Below is the pseudo code snippet:-
WebElement elem = driver.findElement(By.id("locator_object")).click();
WebElement elem1 = driver.findElement(By.xpath("locator_object").getText()
And below is the link to set up selenium-integration with Ready API.
Hope, this helps you out.