title: How to create a Python script to automate software installation?
body: <p>I want to automate the software installation process. The scenario is as follows:</p>
  
  <blockquote>
    <p>Run the installation file. On first screen it has two buttons next, cancel. On click of next it goes to next screen having two buttons, next, cancel and some input data is required. After details are provided, it will show finish or cancel button.</p>
  </blockquote>
  
  <p>I want to write a Python script that would automate this activity. It should identify the button and click it. It should enter the data wherever required and finish the installation. To achieve this functionality:</p>
  
  <ol>
  <li>Python API is required, if any? </li>
  <li>Some code samples or link of the tutorials to use the same.</li>
  </ol>
  
  <p>Sample image for reference:</p>
  
  <p><a href="https://i.stack.imgur.com/WLyqh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WLyqh.jpg" alt="Sample image for reference"></a></p>