Suggestions are not showing when insert text in input.

Friday, April 12, 2019
Avatar

Hello,

I have to add text to a field that shows suggestions and i have to select one. The problem is that when i do 

SeS('Enter_address').DoSetText("my address");

 i cant see the suggestions. I also tried to execute JS in the console and received the same result: 

document.getElementById("2926:0").value = "my address";

Is this what Rapise is doing in the background and how can i resolve this?

Thanks.

1 Replies
Saturday, April 13, 2019
Avatar
inflectra.jimx
re: marko.churlinoski Friday, April 12, 2019

Hi Marko,

You may need to simulate what the user is doing by using:

SeS('Enter_address').DoClick();
SeS('Enter_address').DoSendKeys("my address");

That sends the text through the keyboard buffer instead.

Regards

Jim

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Friday, April 12, 2019
  • Last Reply: Friday, October 7, 2022
  • Replies: 1
  • Views: 4439