ShrutiW Posted March 28, 2019 Share Posted March 28, 2019 Hi All, I am trying to automate a windows application, successfully implemented some scenarios. Now I am facing a problem ,where in the windows application there are certain fields what are not getting identified by the tool. Basically there are multiple subtabs in the application, and when I try to hover over the tool, it show only one class and instance for the whole subtab, buttons and textboxes in the subtab are not identified. I have no idea what should be done in such cases? I would be glad if anyone guides me. 😊 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted March 28, 2019 Moderators Share Posted March 28, 2019 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Earthshine Posted March 28, 2019 Share Posted March 28, 2019 (edited) use UIAutomation. I can't say it enough. Use UIASpy in the future, you should include a lot more data. Your questions are so vague all we can do is guess. Post your find results from the old tool, maybe post screenshots and SHARE your code if you want serious help. you probably can't use standard autoit to access it but all I can do is guess because you don't provide any useful information. Search the forum for UIAutomation Edited March 28, 2019 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
ShrutiW Posted April 2, 2019 Author Share Posted April 2, 2019 Hi @Earthshine, here I'm posting a screenshot of my application so that you may get some idea of what I am trying to find out. So this is how my application looks like. The fields that I am unable to locate/ recognize by the finder tool are "Benefits/Division/Group Programs " subtabs. I have to click on each tab which include their respective text boxes , combo boxes , grid view panels etc. The problem I am facing is, When I hover the finder tool over those tabs, it does not have any particular class/instance name. SO my question is how do I proceed with the automation of such type of tabs? Link to comment Share on other sites More sharing options...
Earthshine Posted April 2, 2019 Share Posted April 2, 2019 Uiaspy and UIAutomation. That’s what I would try as mentioned before. ShrutiW 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
jdelaney Posted April 2, 2019 Share Posted April 2, 2019 (edited) My signature will output all standard controls and all the info you will need to automate with them. the ID is the best option, the classnamenn as a last resort. The same happens with button groups. the spy tool only grabs the info for the group surrounding the controls within...example, Policy Search is a button group on your screenshot. Edited April 2, 2019 by jdelaney ShrutiW 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now