Jump to content
spoo

Radio Button Click

Recommended Posts

spoo

blob.thumb.png.e8b3fd32d0a6decc2a3677ce576955e6.png 

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..

 

Auto netinspect.png

Share this post


Link to post
Share on other sites
KickStarter15

@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.

Share this post


Link to post
Share on other sites
Subz

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

 

  • Like 1

Share this post


Link to post
Share on other sites
spoo

Thank you SubZ...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×