Jump to content
codetest

automate script to click on a button present inside a table

Recommended Posts

codetest

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 :)

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

×