Forum Discussion
- rraghvaniChampion Level 3
Is you application supported, see Supported Technologies and Applications
- hwangOccasional Contributor
Yes, it does support. Someone else from my team can capture the controls from their machine. I use a VM machine remotely. Not sure if this is an issue?
- David45Occasional Visitor
Hello,
I have some write this you can read thisIt seems like you're facing an issue with object spy not capturing controls in a sub form of your Windows desktop application. This could be due to various reasons, and I'll provide some troubleshooting steps to help you resolve this:
Enable Sub Form or Child Control Recognition: Sometimes, object spy tools might not automatically recognize controls within sub forms. Check if your object spy tool has an option to enable or focus on child controls within sub forms. This could be a setting within the tool itself.
Check Object Recognition Mode: Object spy tools often have different modes for recognizing objects. Make sure you're using the appropriate recognition mode for your application. Some tools might have modes like "Window," "Control," or "Text," which can affect what is captured.
object spy tools might behave differently based on the application, its controls, and the tool itself. It's a good practice to experiment with different settings and approaches to find the one that works best for your specific case.
Thanks for read this. i hope my answer is good and helpful.
- rraghvaniChampion Level 3
If you have TC on your local machine, and using Object Spy to identify desktop/web UI controls that's being hosted on a VM, it's not going to work. Same applies to having TC on a VM.
Majority of all automation tools have this issues.
- hwangOccasional Contributor
TC and Application all are in VM. Object spy works for other application such as Notepad, WebBrowser in same VM, only not work for my working application.
I am not sure if the VM is a real issue.
- rraghvaniChampion Level 3
Do not use VM.
Have TestComplete and your application on your local machine, and Object Spy will work.
- hwangOccasional Contributor
I have no choice for this. The company set it up by using VM for remote work.
thanks anyway.
- rraghvaniChampion Level 3
I'm also remote working, but I have TestComplete installed on my local machine.
- hwangOccasional Contributor
that is good for you. our applications for internal use only, not allowed to install to my local machine. Actually, vpn is a good option for remote work.
- rraghvaniChampion Level 3
- hwangOccasional Contributor
see David45 post above. He said that:
"Object spy tools often have different modes for recognizing objects. Make sure you're using the appropriate recognition mode for your application. Some tools might have modes like "Window," "Control," or "Text," which can affect what is captured."
I could not find out the spy settings and mode change. Do you know where?
- jkrolczyRegular Contributor
You could see if the main form has a ClassName and apply that into your MSAA area to see if ObjectSpy can then penetrate deeper.
Related Content
- 13 years ago
- 2 years ago
- 12 years ago
- 4 years ago
- 6 years ago
Recent Discussions
- 12 hours ago
- 2 days ago