asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

Skipping . during stress testing of data entry on Windows10 #650

Open ham952 opened 2 years ago

ham952 commented 2 years ago

I carried out stress testing i-e > 10,000 entry points (from excel sheet using pandas dataframe) , using both alphabets (letters + words), and floating points. The only issue that i am facing is that pyautogui skips "." e-g 12.14 is written as 1214. The worst part is that this issue is completely random and i have tried very hard to replicate it but in vain.

Is there anyone else who faced this similar issue ? causes ? any solutions ?

JayRizzo commented 2 years ago

Hi @ham952, I hope you are doing well.

By chance, did you try escaping the '.'? and do you have a simple example of code that reproduces this?

ham952 commented 2 years ago

@JayRizzo Well yeah (kind of) ... :) what i did was that i upgraded my PC system, more RAM and better processor .. then i re-took stress testing to almost half a million float data entry points with precision upto 6 digits .. tested entry for around 24 hours , did'nt gave me that missing point error. (Though there was error at 02 points but that was some other issue).

Anyways, the conclusion so far was that may be it was the cache / RAM that was causing some sort of issue due to over-burden (using non-technical language since i dont want to jump to conclusion for any future study over same issue).

Nonetheless, i had made beautiful stress test GUI along with test-data. I would be more then happy to share the same if any one wants to work on the same.

Thanks for connecting Best Regards