diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-12 00:26:16 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-12 00:26:16 +0100 |
commit | b3c782faadcbd47a723b5cd0b08559e5964f37cf (patch) | |
tree | 2c9c99230878460f7bb02d24801e39cc29019a3f /tests/FunctionalTests/active-controls | |
parent | 031d20c405b922808f4bdf2997f964880b33ab66 (diff) |
Fixed TAutoComplete
Diffstat (limited to 'tests/FunctionalTests/active-controls')
-rwxr-xr-x | tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php b/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php index 2033d6ff..94cae5f2 100755 --- a/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php @@ -10,13 +10,13 @@ class AutoCompleteTestCase extends PradoGenericSeleniumTest $this->assertText("label1", "Label 1"); $this->type("textbox3", 'a'); - $this->runScript('Prado.Registry.get(\'textbox3\').onKeyPress({})'); + $this->runScript('Prado.Registry[\'textbox3\'].onKeyPress({})'); $this->pause(500); $this->verifyTextPresent('Andorra'); $this->assertText("label1", "suggestion for a"); $this->type("textbox3", 'au'); - $this->runScript('Prado.Registry.get(\'textbox3\').onKeyPress({})'); + $this->runScript('Prado.Registry[\'textbox3\'].onKeyPress({})'); $this->pause(500); $this->verifyTextPresent('Australia'); $this->assertText("label1", "suggestion for au"); @@ -26,14 +26,14 @@ class AutoCompleteTestCase extends PradoGenericSeleniumTest $this->assertText("label1", "Label 1: Austria"); $this->type("textbox2", "cu"); - $this->runScript('Prado.Registry.get(\'textbox2\').onKeyPress({})'); + $this->runScript('Prado.Registry[\'textbox2\'].onKeyPress({})'); $this->pause(500); $this->click('css=#textbox2_result ul li'); $this->pause(500); $this->assertText("label1", "Label 1: Cuba"); $this->type("textbox2", "Cuba,me"); - $this->runScript('Prado.Registry.get(\'textbox2\').onKeyPress({})'); + $this->runScript('Prado.Registry[\'textbox2\'].onKeyPress({})'); $this->pause(500); $this->click('css=#textbox2_result ul li'); $this->pause(500); |