serena_knight Posted March 3, 2020 Posted March 3, 2020 i am trying to move the mouse on a webpage my first moustmove(68,211) works fine my second mousemove(1167,211) moves the currsor to a different position i did a moustegetpos() and the result give me 1167,211 i dont understand this can you help this is a work related script and i am restricted as to what info i can give here..such as what the webpage looks like. i can say the code behind the page is all java, so, i have to use mouse moves to get to where i want on the page.
Earthshine Posted March 3, 2020 Posted March 3, 2020 (edited) so it's a browser based java application. why the big secrecy, and, this is the worst way to test anything if that's what you are trying to do. with no information from you comes no help here. Edited March 3, 2020 by Earthshine My resources are limited. You must ask the right questions
serena_knight Posted March 3, 2020 Author Posted March 3, 2020 because the company will not let me disclose anything else, and actually its a simple question as to why doesn't the mousemove go to the desired position, also now the first mouse move goes somewhere else, i would also assume that you would need to java code. i have searched this site and find almost nothing on how to work with java scripts,,i want to move some digits to the desired position (fill in the blanks). i have found nothing on the internet even using regular windows scripts on how to do this
Danp2 Posted March 3, 2020 Posted March 3, 2020 What value are you using for MouseCoordMode? Have you tried adjusting it to suit your needs? Latest Webdriver UDF Release Webdriver Wiki FAQs
serena_knight Posted March 3, 2020 Author Posted March 3, 2020 i have tried all three 0,1,2 ..the default is the only one that works partly
serena_knight Posted March 3, 2020 Author Posted March 3, 2020 i finally (hopeful) got the positions for the script to work, the positions do not match what is on the info tool.. i had to try different ones till the script worked
Earthshine Posted March 3, 2020 Posted March 3, 2020 (edited) seems like you should be testing with Selenium or some other tool made to test java applications. You are most likely using the wrong tool for the job https://www.softwaretestinghelp.com/java-testing-tools/ Edited March 3, 2020 by Earthshine My resources are limited. You must ask the right questions
serena_knight Posted March 3, 2020 Author Posted March 3, 2020 yes earthshine you are right,, again more silly company restrictions about down loading software,, i fought a lot just to get autoit installed. i got the move mouse thing working, just have to get the right positions..real pain. oh well gotta do what i gotta do,,thanks for the assist
Danp2 Posted March 3, 2020 Posted March 3, 2020 Have you tried changing the Coord Mode setting in the Au3Info tool? Latest Webdriver UDF Release Webdriver Wiki FAQs
serena_knight Posted March 3, 2020 Author Posted March 3, 2020 yes earthshine you are right,, again more silly company restrictions about down loading software,, i fought a lot just to get autoit installed. i got the move mouse thing working, just have to get the right positions..real pain. oh well gotta do what i gotta do,,thanks for the assist
Nine Posted March 3, 2020 Posted March 3, 2020 What is your desktop scale ? 100% or 125%. If it is not 100% that may be the reason of the discrepancies. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now