15,913,316 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by AsmoconX (Top 8 by date)
AsmoconX
21-Apr-14 12:07pm
View
I have accepted your solution. I looked at the available UI testing tools, but that is going against what needs to be accomplished.
Just to give more information: The HOST-PC is a controller for a very large array of hardware. The Client-PC can only login to the HOST-PC to run specific tests, from the HOST. Again, no other software or hardware can be used on the HOST due to security reasons, etc, etc, etc.
That is why I was hoping to find a way to have the client-PC be able to interpret the windows inside the remote desktop window, so that people could be alerted to when one of the tests completes or needs action. The testing software itself, can not be modified or adjusted either, since it is specifically built to run very detailed hardware, i/o, path, redundancy, etc, tests.
Thank you again...Hopefully I will be able to make this work one of these days!
AsmoconX
16-Apr-14 9:40am
View
Sergey,
Thank you for all the time put into your reply. I have been reading a lot of the links and looking into the Windows Hooks methods.
On a side note, I realized a lot of the confusion from my original post was due to wording. I changed the original post to use the correct Host/Client terms, so that if anyone else reads it, it will make more sense for what I was doing. Thank you for pointing that out!
I do not know if I will actually get this resolved anytime soon, but again, I appreciate your time.
AsmoconX
15-Apr-14 17:59pm
View
This is a test environment and information is not meant to be added or modified on the remote systems (for validation and testing requirements). The test-process requires us to login to the system using a Remote Desktop Connection and perform a set of tests within that Remote Desktop Environment (Again, the remote system does not have other connection methods such as USB, PS2, VGA, etc..Just a console network line plug). The remote PCs already have the operating system installed, configured, and have specialized test-programs pre-loaded onto them that must be ran for validation purposes.
After we login to the remote system, we perform multiple days worth of tests using the software already on the remote system.
The end-goal was simply to find a way to let individuals know when a test has completed or had an error. The program would be able to detect that completion/error window within the remote desktop window and turn on a light, send an email to the operator, and various other things.
There can be 20 different systems testing like this and each Test-PC must be monitored to see when it is time for a new action. So, the final objective is to reduce the time lost because a person is unable to go turn on each monitor, check the remote display, act if needed or turn display back off and continue check the other displays. If the event could be relayed, like I was saying through a program that was monitoring the remote window, they would not be occupied checking systems that may not even require attention yet.
I honestly do not know how else to explain it. :(
AsmoconX
15-Apr-14 17:29pm
View
So, your comment of there is no way to interact or relay this information without having a specialized program is essentially the answer. :( Since the Remote system can not be modified, I do not have a way to communicate the window information back to the Test-PC.
This part was unknown and all other code was finished (logic for alerts, sending notifications, etc, etc). Feels crazy that there is no way to interpret events within the RDC window. :(
AsmoconX
15-Apr-14 17:14pm
View
Test PC -- Uses Remote Desktop Connection to Connect to Remote PC. The Remote PC has specialized files already on it, that must be ran to validate configurations and components.
The person on the Test-PC is controlling all of the tests to run via the Remote Desktop Connection (using mouse clicks and keyboard commands, etc). The hope, is that the person could start a program on the Test-PC that will monitor the actions happening inside that Remote Desktop Window, so that if a test is finished [during test completion a Event Window is displayed], the program will detect that Event Window inside the Remote desktop Window and cause an event notification back on the TestPC.
{TestPC}-----------(remote login)----------{Remote PC}
Program Runs --------------------------- Event Happens
Programs Detects Event ----------------- (no changes)
Program Sends Event Notification ----- (no changes)
User Interacts ---------------------------- Event is manually cleared by User
AsmoconX
15-Apr-14 14:58pm
View
James_Finch: The main thing that causes a problem is that nothing else can be added to or modified on the remote PC side.
Basically: Person connects a direct LAN cable from Test-PC to Remote-PC. Person uses RDC to login to the Remote-PC and specialized tests are ran to validate integrity (tests are pre-built into the Remote PC).
No software or modifications can happen on that Remote-PC, so my hopes was to have this program run on the Test-PC and monitor windows/alerts/failures/etc on the Remote-PC so that issues can addressed quicker in a busy environment.
The objective of this, is simply to allow the person running the tests through the RDC to have an alert when something finishes or a problem arises.
AsmoconX
15-Apr-14 14:44pm
View
I do not think anything is wrong with RDP, but I do know understand how to allow the program to see or interact with the elements inside the remote desktop window. Every time I try, or use Spy++, it will only give me information about the main RDC window, but no information about the children within it. That's what I am hoping to find out, is if there is a way to see (monitor) the objects within the RDC window.
AsmoconX
15-Apr-14 14:36pm
View
There are tests that are being ran on the system. We have a dedicated PC, that uses a direct-lan cable plug into the Test-PC (the Test-PC does not have monitor options or other input options). The RD is logged into, so that tests may be ran on that Test-PC. The objective, is to try and relay information out to the dedicated-Host PC to alert people when tests complete or other various tasks.
Show More