Assert.assertTrue("Element does not contain text 'UDDIBrowser Portlet'", txtElement0.asText().contains("UDDIBrowser Portlet"));
//Check for the UDDISearch Portlet
String xpathToText1 = "id('portlets-right-column')/div[@class='portlet'][1]/div[@class='header'][1]/h2[@class='title'][1]";
HtmlElement txtElement1 = HtmlPageUtils.findSingleHtmlElementByXPath(page, xpathToText1);
Assert.assertTrue("Element does not contain text 'UDDISearch Portlet'", txtElement1.asText().contains("UDDISearch Portlet"));
//Check for the UDDISubscriptionNotification Portlet
String xpathToText2 = "id('portlets-left-column')/div[@class='portlet'][2]/div[@class='header'][1]/h2[@class='title'][1]";
HtmlElement txtElement2 = HtmlPageUtils.findSingleHtmlElementByXPath(page, xpathToText2);
Assert.assertTrue("Element does not contain text 'UDDISubscriptionNotification Portlet'", txtElement2.asText().contains("UDDISubscriptionNotification Portlet"));