Click here to Skip to main content
15,912,897 members

Comments by NKlinkachev (Top 11 by date)

NKlinkachev 8-May-13 15:50pm View    
Accepting this solution. I had to run everything in a Virtual Machine to have the computer running the tests usable during testing and the it was the only way to get around applications that pull cursor position where sending only click messages doesn't work. Capturing not active window or minimized window is possible though I couldn't make it 100% not glitchy. All of this however is additional requirements and this answer answers my question.
NKlinkachev 22-Apr-13 1:33am View    
How did I not mention the flash? Read the description again. It specifically says the code I am using bugs when there is flash. I agree this conversation is not very constructive as it doesn't really solve the problem.
NKlinkachev 22-Apr-13 1:09am View    
The above comment is not really relevant and helpful, is it? As a matter of fact I find it quite offensive. As for your advice, I am posting on this site trying to get an advice. I've posted my problem and your answer, although it answers some (or most) of the questions doesn't help at all when dealing with web pages containing flash objects that don't use http requests (and thus your answer is misleading). I have enough experience to know that the approach I adopted is not a good approach for 99% of the time, but more convenient than code injections and packet sniffing for the purposes of the current project. For irrelevant reasons I won't discuss this should be done in an external program, not the webpages themselves (or the flash objects). Now how would I go in the case where the webpage contains a 400x400px flash object with one 100x100 image that, when the left mouse button is pressed for more than 3 seconds and the cursor is over the image the image disappears and 2 other 100x100px images are displayed.
NKlinkachev 22-Apr-13 1:07am View    
Deleted
The above comment is not really relevant and helpful, is it? As a matter of fact I find it quite offensive. As for your advice, I am posting on this site trying to get an advice. I've posted my problem and your answer, although it answers some (or most) of the questions doesn't help at all when dealing with web pages containing flash objects that don't use http requests (and thus your answer is misleading). I have enough experience to know that the approach I adopted is not a good approach for 99% of the time, but more convenient than code injections and packet sniffing for the purposes of the current project. For irrelevant reasons I won't discuss this should be done in an external program, not the webpages themselves (or the flash objects). Now how would I go in the case where the webpage contains a 400x400px flash object with one 100x100 image that, when the left mouse button is pressed for more than 3 seconds and the cursor is over the image the image disappears and 2 other 100x100px images are displayed.
NKlinkachev 21-Apr-13 23:41pm View    
I am not proud of the approach but it's the simplest approach I could think of. The HTTP Request method is a good choice but it doesn't allow testing of interactive Flash objects (or at least I can't think of a way) unless they use HTTP requests to communicate with a server. The other thing in mind was to create tests that simulate certain user behavior and again the quick-and-dirty approach to simulate mouse clicks and keyboard presses came to mind.