Re: Not able to find unique properties in the desktop application,where app is developed using Visua
In 99% of cases when the tested application does not provide unique identifiers for controls and you cannot convince developers to add them, you are out of luck and the only way is to use the Index (third attribute of the .Window() method) to distinguish between different controls of the same class.
(Yes, this may be fragile depending on your tested application. But may appear to be quite stable if application's UI is stable as well.)
For the remained 1%, depending on your tested application, you may consider:
-- To implement some euristic when, say, you will search for some label and then search to the right of it for the Edit control;
-- Try to use Required Child functionality in NameMapping (though I am far not sure that edit boxes have any child objects);
Regards, /Alex [Community Hero] ____ [Community Heroes] are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Posts made by [Community Heroes] may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. The [Community Hero] signature is used with permission by SmartBear Software. https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame ================================