selenium - PHPUnit Selenium2 Error on getting current input text value -


i'm having strange behavior while trying input text value:

$this->byxpath( "//input[contains(@id, '_rule_1_display_times')]" )->value(); 

error output:

phpunit_extensions_selenium2testcase_webdriverexception : /session/3ef42f7e-f5f5-459d-92e2-6377c6f05e61/element/4/value build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50' system info: host: 'vytautas', ip: '127.0.1.1', os.name: 'linux', os.arch: 'amd64', os.version: '3.13.0-49-generic', java.version: '1.7.0_75' driver info: driver.version: unknown

it's strange cause can set value input without problem:

$this->byxpath( "//input[contains(@id, '_rule_1_display_times')]" )->value(8); 

any ideas what's wrong getting current input text value?

value gives current value of field vs attribute(value) gives original value. asked here: difference between element.value , element.getattribute("value") i'm guessing current value empty/not set.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -