c# - Selenium WebDriver enters wrong digit information to input -


for tests of web site use c# , selenium web driver. , have problems fill input values. code this:

// create random digit value int value = (new random()).next(1, 999); // enter value input driver.findelement(by.id("someid")).clear();  driver.findelement(by.id("someid")).sendkeys(value.tostring());  

it works unfortunately not always. if want example enter '100' input enters 1à0 or 10à.

i have french keyboard , enter digits need shift pressed. if press '0' shift have '0', without shift 'à', etc problem not 0 9, changed 'ç' , digits.

does knows problem?

edit 07/02 problem appears @ ie9 only


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -