• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Automating Command line installation

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a software which can be installed on via command line and I have to automate the testing of this command line installation. When install script is executed on command line it prompts for lot of questions based on the user platform. So in my automation script i need to provide the anwsers ...is this possible with Python scripting language ... any reference to a good website.

Regards,
Satish
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure if you need python for this. Does your product allow for silent installation?.
Typically , the installer should be able to read inputs from a file (properties file (key=value) may be).
If you want to test with different inputs then ofcourse you can use python to generate those files.

installer.exe -f installer.properties
reply
    Bookmark Topic Watch Topic
  • New Topic