3 posts in this topic
This topic is now closed to further replies.
I want to save some tests (about one thousand tests totally) from a quiz website to a text file.
The test page is a simple one, it contains:
1) The questions; they are inside the <p class="qw">...</p>
2) 5 choices; they are radio buttons id ="a1", "b1" ...
When I click a radio for a choice, if correct, the background of it will turn green, if wrong, it will turn red, and the correct answer will turn green. What I need to get is the correct answer.
So when I click an answer, no matter right or wrong, the test will automatically go to the next question in about 3 or 4 seconds (I don't know exactly how many seconds).
So what I want to save is:
Then next question...
I have limited knowledge of AutoIt, I have check the IE UDFs, but I don't know where to start. Especially I don't know how to do since the test will to go next item automatically.
Please give me some hints. Thank you very much.
I was just wondering if it is possible to manipulate a window so that it isn't responding.
I just need this for testing purposes (a little app that checks if the selected window is still responding)
Also i think i can remember a function called _WinAPI_IsHungApp() or something along those lines. Correct me if im wrong.
The App that would check if the window is still responding would use the SendMessageTimeout function (https://msdn.microsoft.com/de-de/library/windows/desktop/ms644952(v=vs.85).aspx) or the built-in _SendMessage() function to send the "WM_NULL" message and then get a response or something like that? I dont quite know what the "WM_NULL" message does to the Window but thats why i would like to have a hung up testing window.
i made the basic native arduino functions in autoit to control it trougth the serial port.
it could be interesting for too many people
you can find the codes here
in my blog there are some more codes using arduino and autoit too