Esempio n. 1
0
 /**
  * @return Opportunity
  */
 public function add()
 {
     $this->test->byXPath("//a[@title='Create Opportunity']")->click();
     $this->waitPageToLoad();
     $this->waitForAjax();
     $lead = new Opportunity($this->test);
     return $lead->init();
 }
Esempio n. 2
0
 public function entityNew()
 {
     $opportunity = new Opportunity($this->test);
     return $opportunity->init();
 }