Forum Discussion
Hi,
-- What technology/tool the tested application was created with?
-- What version of TestComplete are you using?
-- Is this technology/tool supported by TestComplete? (https://support.smartbear.com/viewarticle/71622/)
-- Was the tested application prepared as per requirements? (https://support.smartbear.com/viewarticle/69187/)
-- What control implements the discussed graphic block? Is this control supported by TestComplete? (https://support.smartbear.com/viewarticle/68065/)
1. The tool is developed using DOT Net technology
2. I am using TestComplete V10.2
3. Yes, I am able to spy other controls like button, edit box, combo box and tree items also
4. The blocks are not the controls but they are images created in MS paint. Got this information from the developers.
I have to validate these blocks like pins, text and the block image. Please let me know how can this be done.
- AlexKaras9 years agoChampion Level 3
Hi,
.Net applications are open to TestComplete by default and thus the Object Browser must be able to get the container that contains the image. Then you should be able to get an image of this container using its .Picture property and compare then with the expected baseline image.
Check if .Net support extension is installed and enabled in TestComplete (File | Install Extensions...) if the Object Browser cannot get internal details of the tested application.
- jyothi_km9 years agoOccasional Contributor
Hi,
Thank you for your reply. Image capture using .Picture property is working for the screenshot attached before.
But i have similar problem with other software where on double click of those blocks i get property dialog of that particular block.
To validate the block i can do it using .picture property but to get property dialog of that block i need to double click on that particular block, how can i acheive it in TestComplete.
Please find the attcahments of the same.
- AlexKaras9 years agoChampion Level 3
Hi,
It looks like that your .Net application was not recognized by TestComplete as the Open one.
Check what .Net version it requires and whether this .Net version is supported by your version of TestComplete (version 10.2 is quite outdated, the latest one is 11.20) - Help contents | General Information | Supported Development Tools | Desktop section.
Also you may check with Development if they are using composite controls and do relevant settings in the Project Options | Project | Open Applications | WPF section of project properties.
Related Content
- 2 years agotorus
- 2 years agoclaudio
- 9 months agojuliemorris
Recent Discussions
- 23 hours agoMW_Didata