Sunny_87 Posted March 7, 2017 Posted March 7, 2017 Hi All, I am new to autoit. I am trying to automate a login scenario. The application is designed in VB6 & have VideoSoft ActiveX Controls. The buttons are all designed with VideoSoft Controls. Window Info tool is not able to recognise the buttons. Same is the case with Spy ++. Is there any way to include or link the OCX file into the autoit script/framework so that i can view the properties of buttons & perform any action on it.
orbs Posted March 7, 2017 Posted March 7, 2017 @Sunny_87, welcome to AutoIt and to the forum. AutoIt can handle native Windows controls, but there are many other ways of creating custom controls, e.g. Java controls and QWidgets, which AutoIt finds difficult to handle. now, the web is teeming with things titled "VideoSoft". for us simpletons, please provide a link to the one that produced the said ActiveX control, so we may determine the best way to operate it. a screeshot of your "login screen" would be helpful, too. oh, and do have a look at the forum rules and make sure you do not violate them, or the EULA of whatever service you wish to automate. Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff
Sunny_87 Posted March 7, 2017 Author Posted March 7, 2017 Attached is the logon screen screenshot. Also i made a mistake the active x control is not from Videosoft, the active x contol is designed in house & attached is screenshot of component details for control. I have access to OCX file for control. I need a way to read the property of control and perform some action on it.
junkew Posted March 7, 2017 Posted March 7, 2017 Try iuiautomation in examples with simplespy or check frequently asked questions faq 31 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
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