Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

As i came across this code,

 driver.findElement(By.name("xxx")).sendKeys(
                Keys.ZENKAKU_HANKAKU);

so wanted to know why and when to use this kind of key.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This is a Japanese modifier key which will change between Hankaku (half-width) and Zenkaku (full-width) characters. To try and visualise this:

Hankaku - 12345

Zenkaku - 1 2 3 4 5

As to which key it is bound to on the keyboard, F9 and F10 are common bindings. F10 will change from Zenkaku to Hankaku, and F9 from Hankaku to Zenkaku.

Source - Wikipedia

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.