Abz Posted October 7, 2019 Posted October 7, 2019 Hi everyone, I am new to Autoit I am having a problem to get my autoIt script to click on a login button on a webApp The inspect page looks like as below:
Developers Jos Posted October 7, 2019 Developers Posted October 7, 2019 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Developers Jos Posted October 7, 2019 Developers Posted October 7, 2019 49 minutes ago, Abz said: The inspect page looks like as below: Guess the script would be handy too? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Abz Posted October 7, 2019 Author Posted October 7, 2019 Hi Jos, Here is what I have attempted, local $o_login,$o_password $o_login = _IEGetObjById($oIE,"myusername") _IEFormElementSetValue ($o_login, $targetusername) $o_password = _IEGetObjById($oIE,"mypassword") _IEFormElementSetValue ($o_login, $targetpassword) Not sure what put for click the button or Enter...etc
Danp2 Posted October 7, 2019 Posted October 7, 2019 You can likely just use _IEFormSubmit. Latest Webdriver UDF Release Webdriver Wiki FAQs
junkew Posted October 7, 2019 Posted October 7, 2019 As you are a starter with AutoIt Start with the basics: First automate notepad application and then start using udf for IE https://www.autoitscript.com/autoit3/docs/libfunctions/IE Management.htm https://www.autoitscript.com/autoit3/docs/libfunctions/_IEFormSubmit.htm study examples in the help file or other browsers https://www.autoitscript.com/wiki/FAQ#How_can_I_control_.28click.2C_edit_etc.29_an_external_.28html.29_application.3F 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