public function verifyAvailableTabs($expectedTabs, $tabsLocator = array('xpath' => "//ul[@id='myTabTabs']/li/a"))
	{
		$actualArrayOfTabs = $this->grabMultiple($tabsLocator);

		$this->debug("Fetch the current list of Tabs in the edit view which is: " . implode(", ", $actualArrayOfTabs));
		$url = $this->grabFromCurrentUrl();
		$this->assertEquals($expectedTabs, $actualArrayOfTabs, "Tab Labels do not match on edit view of" . $url);
		$this->debug('Verify the Tabs');
	}
public function verifyAvailableTabs($expectedTabs, $tabsLocator = array('xpath' => "//ul[@id='myTabTabs']/li/a"))
	{
		$actualArrayOfTabs = $this->grabMultiple($tabsLocator);

		$this->debug("Fetch the current list of Tabs in the edit view which is: " . implode(", ", $actualArrayOfTabs));
		$url = $this->grabFromCurrentUrl();
		$this->assertEquals($expectedTabs, $actualArrayOfTabs, "Tab Labels do not match on edit view of" . $url);
		$this->debug('Verify the Tabs');
	}
public function verifyAvailableTabs ( $ expectedTabs , $ tabsLocator = array ( 'xpath' => "//ul[@id='myTabTabs']/li/a" ) ) { $ actualArrayOfTabs = $ this -> grabMultiple ( $ tabsLocator ) ; $ this -> debug ( "Fetch the current list of Tabs in the edit view which is: " . implode ( ", " , $ actualArrayOfTabs ) ) ; $ url = $ this -> grabFromCurrentUrl ( ) ; $ this -> assertEquals ( $ expectedTabs , $ actualArrayOfTabs , "Tab Labels do not match on edit view of" . $ url ) ; $ this -> debug ( 'Verify the Tabs' ) ; }
Function to Verify the Tabs on a Joomla! screen

@param   array  $expectedTabs  Expected Tabs on the Page
@param   Mixed  $tabsLocator   Locator for the Tabs in Edit View

@return  void

@since   3.0.0
Function to Verify the Tabs on a Joomla! screen