Skip to main content

I'm trying to automate box, that displays and auto updates data under it depending on what you type into it.

For example, when iI type "Joh" it will display "John One" "John Two" in drop down menu, as soon as iI have typed at least 3 letters into box.

When iI type with keyboard it works fine, but when iI use SendKeys("Joh"), no auto update happens, no data is shown.

Using waits or sending only one letter at a time didntdidn't help.

What could cause it? Are there some other optionoptions to send text that could work in this case?

I'm trying to automate box, that displays and auto updates data under it depending on what you type into it.

For example, when i type "Joh" it will display "John One" "John Two" in drop down menu, as soon as i have typed at least 3 letters into box.

When i type with keyboard it works fine, but when i use SendKeys("Joh"), no auto update happens, no data is shown.

Using waits or sending only one letter at a time didnt help.

What could cause it? Are there some other option to send text that could work in this case?

I'm trying to automate box, that displays and auto updates data under it depending on what you type into it.

For example, when I type "Joh" it will display "John One" "John Two" in drop down menu, as soon as I have typed at least 3 letters into box.

When I type with keyboard it works fine, but when I use SendKeys("Joh"), no auto update happens, no data is shown.

Using waits or sending only one letter at a time didn't help.

What could cause it? Are there some other options to send text that could work in this case?

Bumped by Community user
improved question
Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

In Selenium .SendKeysSendKeys() doesn't trigger auto-updating field while normal typing normally does

Source Link
George
  • 1.4k
  • 12
  • 17

Selenium .SendKeys() doesn't trigger auto-updating field while typing normally does

I'm trying to automate box, that displays and auto updates data under it depending on what you type into it.

For example, when i type "Joh" it will display "John One" "John Two" in drop down menu, as soon as i have typed at least 3 letters into box.

When i type with keyboard it works fine, but when i use SendKeys("Joh"), no auto update happens, no data is shown.

Using waits or sending only one letter at a time didnt help.

What could cause it? Are there some other option to send text that could work in this case?