shutch00 Posted June 19, 2013 Share Posted June 19, 2013 In the app is a table (see attachment). In the first column there is an edit link for each row. I need to write a script that clicks the edit link, performs a task, and then moves onto the next row where it repeats. The problem is that I can't figure out how to click the edit link. I don't want to use mouse coordinates because they change depending on the data (column widths and row heights and such). It's in IE but the edit link itself is a javascript link. When I right click the edit links and select properties, I see something like javascript:openOrderForm('6484166', '219021'); Link to comment Share on other sites More sharing options...
jdelaney Posted June 19, 2013 Share Posted June 19, 2013 Use the _ie functions. Grab the table object Grab the tr elements in the table loop through the tr elements, and focus on the td (cell) which contains the link click on the child object of the cell...use an html spy to get the details of the link, and post them back IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
shutch00 Posted June 20, 2013 Author Share Posted June 20, 2013 This will take a good deal of research on my end as I am not too familiar with the _ie functions. Thanks for pointing me in the right direction! 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