Synozeer 0 Posted December 30, 2009 Report Share Posted December 30, 2009 I'm trying to write a bot that uses the results of Google autocomplete (go to www.google.com, start typing something in the search box, and results begin to pop up). My first obstacle to this is to get UBot to actually get results to pop up. When I type in something in the Google search box by myself, I get results to pop up, but I haven't been able to get UBot to do the same. It just types letters in the box and no autocomplete results are generated. Send Keys Field Chosen says that it keeps focus on the element, but even using that resulted in the same problem. Does anyone have an idea how to get the autocomplete results to show up with Ubot? Quote Link to post Share on other sites
crazyflx 22 Posted December 30, 2009 Report Share Posted December 30, 2009 I'm trying to write a bot that uses the results of Google autocomplete (go to www.google.com, start typing something in the search box, and results begin to pop up). My first obstacle to this is to get UBot to actually get results to pop up. When I type in something in the Google search box by myself, I get results to pop up, but I haven't been able to get UBot to do the same. It just types letters in the box and no autocomplete results are generated. Send Keys Field Chosen says that it keeps focus on the element, but even using that resulted in the same problem. Does anyone have an idea how to get the autocomplete results to show up with Ubot? If you have it select the search box, and then do "send keys chosen" (not send keys field chosen) and then have it enter only one or two letters, the autocomplete box will appear. I just tested it, and had it only put in the letter "d" and the autocomplete box did appear. Quote Link to post Share on other sites
Synozeer 0 Posted December 30, 2009 Author Report Share Posted December 30, 2009 Thanks, I could have sworn I tried that, but that's what I was looking for. However, I'm getting some strange behavior. All I'm using is: (first I go to www.google.com, then) ----- Choose by Attributenameqexact match Send Keys Chosena----- But it's sending 3 a's. I've tried other letters and words, but it's doing each letter 3 times. "dog" comes out as "dddoooggg", "a" is "aaa" and "da" is "dddaaa". The code is simple enough, so I can't see what could be causing this. Does this happen with your script too? Quote Link to post Share on other sites
Synozeer 0 Posted December 30, 2009 Author Report Share Posted December 30, 2009 I've done some more testing and I think it might be a bug. "Send Keys Chosen" does the same thing on Yahoo - prints 3 characters for each one. Just want to confirm that I'm not the only one experiencing this. Quote Link to post Share on other sites
crazyflx 22 Posted December 30, 2009 Report Share Posted December 30, 2009 Nope, not just you, it's happening to me as well. Quote Link to post Share on other sites
Synozeer 0 Posted December 30, 2009 Author Report Share Posted December 30, 2009 Thanks for the confirmation crazyfix. Just posted it in the bugs section. Quote Link to post Share on other sites
crazyflx 22 Posted December 30, 2009 Report Share Posted December 30, 2009 Thanks for the confirmation crazyfix. Just posted it in the bugs section. No problem, I posted on that thread as well. Quote Link to post Share on other sites
pr0m 9 Posted January 1, 2010 Report Share Posted January 1, 2010 hope to see this quick fix soon! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.