url('active-controls/index.php?page=CustomTemplateControlTest'); $this->assertContains('Add Dynamic Custom TTemplateControl Test', $this->source()); $this->assertText("{$base}label1", 'Label 1'); $this->type("{$base}foo", 'Foo Bar!'); $this->byId("{$base}button2")->click(); $this->pause(800); $this->assertVisible("{$base}ctl0_ThePanel"); $this->assertContains("Client ID: {$base}ctl0_ThePanel", $this->source()); $this->assertText("{$base}label1", 'Button 1 was clicked Foo Bar! using callback!... and this is the textbox text: Foo Bar!'); } }