public class QueuesBrowsePage extends Object
| Constructor and Description |
|---|
QueuesBrowsePage(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
QueueContentPage |
browseQueue(String qName)
Navigates the browser to 'Queue Content' page where user can see messages it contains etc.
|
boolean |
deleteQueue(String queueName)
Delete queue from the UI delete option
|
int |
getMessageCount(String queueName)
Gets message count of a specific queue
|
boolean |
isQueuePresent(String queueName)
Check whether the queue with the given queue name is present in the UI
|
public QueuesBrowsePage(org.openqa.selenium.WebDriver driver)
throws IOException
IOExceptionpublic boolean isQueuePresent(String queueName)
queueName - queue namepublic boolean deleteQueue(String queueName)
queueName - queue namepublic int getMessageCount(String queueName)
queueName - name of the queuepublic QueueContentPage browseQueue(String qName) throws IOException
qName - name of the Queue to browseIOExceptionCopyright © 2019 WSO2. All rights reserved.