/** * Retrieves current Page's data from UIMap * * @return Mage_Selenium_Uimap_Page|null */ public function getCurrentLocationUimapPage() { $mca = Mage_Selenium_TestCase::_getMcaFromCurrentUrl($this->_applicationHelper->getBaseUrl(), $this->getLocation()); $page = $this->_uimapHelper->getUimapPageByMca($this->getArea(), $mca, $this->_paramsHelper); if (!$page) { $this->fail('Can\'t find page in area "' . $this->getArea() . '" for mca "' . $mca . '"'); } return $page; }