Jump to content

automate script to click on a button present inside a table


Recommended Posts

Hi,

I am stuck at this.

i have one table(3 rows and 3 columns) and its table id is provided,i have to automate the click on a button present inside this table.

button is like this  <button type="button" class="someclass" onclick="function()">buttonname</button>

Can anyone please help me with the script?

I tried like this 

$temp=_IEGetObjById($oIE,"tbleid")

 $Data = _IETableWriteToArray($temp,True)
_IEAction ($Data[1][2], "click")

but its not working .

Thanks in advance :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...