spoo Posted March 23, 2018 Share Posted March 23, 2018 Hi All, Iam a newBee to auto IT , and finding it difficult to click on the radio button. i want to click on delete radio button and click on submit. code 1. ---> nothing happens Local $oIENew = _IEAttach("https://www.net-inspect.com/AssignWorkflowToDocuments.aspx?b=a2dRm8Epis60nDimF7TNCMPpKxv%2bPGUH4YsewhvFKNU%3d","url") Local $oForm = _IEFormGetObjByName($oIENew, "frmEditWorkflow") _IEFormElementRadioSelect($oForm, "Delete", "chkAction", 1) code 2->still no go Local $oIENew = _IEAttach("https://www.net-inspect.com/AssignWorkflowToDocuments.aspx?b=a2dRm8Epis60nDimF7TNCMPpKxv%2bPGUH4YsewhvFKNU%3d","url") Local $oForm = _IEFormGetObjByName($oIENew, "frmEditWorkflow") _IEFormElementRadioSelect($oForm,"Delete", "chkAction", "byValue") Sleep(1000) Guys please help, i have deadline.. Link to comment Share on other sites More sharing options...
KickStarter15 Posted March 23, 2018 Share Posted March 23, 2018 @spoo, Welcome to Autoit forum. First: 8 minutes ago, spoo said: Guys please help, i have deadline.. This forum is voluntarily helping other people like us. Second: Don't post image of script that only you can modify, at least post the real code you have and the rest will follow. Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare. Link to comment Share on other sites More sharing options...
Subz Posted March 23, 2018 Share Posted March 23, 2018 What about: #include <IE.au3> Local $oIENew = _IEAttach("https://www.net-inspect.com/AssignWorkflowToDocuments.aspx?b=a2dRm8Epis60nDimF7TNCMPpKxv%2bPGUH4YsewhvFKNU%3d","url") Local $oInputs = _IETagNameGetCollection($oIENew, "input") For $oInput In $oInputs If $oInput.Name = "chkAction" And $oInput.value = "Delete" Then $oInput.Checked = True ExitLoop EndIf Next spoo 1 Link to comment Share on other sites More sharing options...
spoo Posted April 27, 2018 Author Share Posted April 27, 2018 Thank you SubZ... 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