Is there a way to run the Macro with Selenium or Trigger?

Integration questions/issues
Post Reply
smori
Posts: 1
Joined: Sun Nov 03, 2019 11:30 am

Is there a way to run the Macro with Selenium or Trigger?

Post by smori » Sun Nov 03, 2019 11:45 am

My purpose is to run a macro automatically to update documents. I tried it with Selenium with python because SeleniumIDE could do it , but pytnon-CLI couldn't touch the Macro button. Here is the code. Please,someone help me to solve it?

Code: Select all

driver.get('https://localhost/Products/Files/doceditor.aspx?fileid=6')
try:
    WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.LINK_TEXT, "Plugins")))
except TimeoutException as ex:
    print("Exception has been thrown. " + str(ex))
driver.find_element_by_link_text('Plugins').click()
driver.find_element_by_id('asc-gen7428').click()
asc-gen7428 is the Macro button's ID. But Selenium couldn't touch the Macro button.

Alexandre
Posts: 151
Joined: Thu Dec 12, 2019 11:08 am

Re: Is there a way to run the Macro with Selenium or Trigger?

Post by Alexandre » Wed Dec 18, 2019 2:29 pm

Hello.
Sorry for delayed response.
We don’t have any solution for Selenium and Python bundle in your situation. We recommend you to use SeleniumIDE, because this option works.

Post Reply