AdminPage::lookLog PHP Method

lookLog() public method

public lookLog ( $dicomFile )
    public function lookLog($dicomFile)
    {
        $this->waitForElementDisplayBlock('dicomFileList');
        $this->elements['dicomFileMore'] = array('xpath' => "//*[@filename='{$dicomFile}']//*[contains(text(),'More')]");
        $this->getElement('ficomFileMore')->click();
        //switch($dicomFile){
        //  case '1.2.276.0.75.2.1.10.0.2.150925110222375.15295058.1554_0000_000001_144317518000a5.dcm':
        //        $this->elements['dicomFileNew'] = array(
        //            'xpath' => "//*[@status='new']//*[@id='filename']//*[contains(text(),'$dicomFile')]"
        //        );
        //        $this->elements['dicomFileInProgress'] = array(
        //            'xpath' => "//*[@status='in_progress']//*[@id='filename']//*[contains(text(),'$dicomFile')]"
        //        );
        //        $this->elements['dicomFileFailed'] = array(
        //            'xpath' => "//*[@status='failed']//*[@id='filename']//*[contains(text(),'$dicomFile')]"
        //        );
        //        $this->elements['dicomFileSuccess'] = array(
        //            'xpath' => "//*[@status='success']//*[@id='filename']//*[contains(text(),'$dicomFile')]"
        //        );
        //        if ($processStatus == 'new') {
        //            if ($this->getElement('dicomFileNew')->isVisible()) {
        //                print ("DICOM File dropped and picked up by File Watcher");
        //            } else {
        //                throw new BehaviorException ("WARNING!!! Process Status doesn't match");
        //            }
        //        }
        //        elseif ($processStatus == 'in progress') {
        //
        //            if ($this->getElement('dicomFileInProgress')->isVisible()) {
        //                print "DICOM File dropped and picked up by File Watcher and is in Progress";
        //            } else {
        //                throw new BehaviorException ("WARNING!!! Process Status doesn't match");
        //            }
        //        }
        //        elseif ($processStatus == 'failed') {
        //            if ($this->getElement('dicomFileFailed')->isVisible()) {
        //                print "DICOM File dropped and picked up by File Watcher and FAILED to parse data";
        //            } else {
        //                throw new BehaviorException ("WARNING!!! Process Status doesn't match");
        //            }
        //        }
        //        elseif ($processStatus == 'success') {
        //            if ($this->getElement('dicomFileSuccess')->isVisible()) {
        //                print "DICOM File dropped and picked up by File Watcher and was successfully parsed!";
        //            } else {
        //                throw new BehaviorException ("WARNING!!! Process Status doesn't match");
        //            }
        //        }
        //        else{
        //            throw new BehaviorException ("WARNING!!! Process Status doesn't match");
        //        }
    }