New question #207655 on Sikuli:
https://answers.launchpad.net/sikuli/+question/207655
Hi,
I am automating VM creation using Sikuli. in my automating procedure i have
pass ESX IP, hostname, Password,Disk size and memory size, etc.. . Generally
configuration details.
in my case i will ask
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
Status: Open = Answered
RaiMan proposed the following answer:
# get and store the values
config = {} # empty dictionary (key-value-store)
input = open(absolute-path-to-file)
for line in
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
Status: Open = Needs information
RaiMan requested more information:
I think the comments are enough.
You need some Python knowledge, to do more complex things in Sikuli.
So what is your confusion?
--
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
Status: Open = Answered
Andrew Munro proposed the following answer:
RaiMan's solution is fairly simple so I'm guessing you don't have much
python experience. I will try walk you through a simpler
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
Andrew Munro proposed the following answer:
In response to your question about looping values from a file, if you
get your input from configparser, why not just do in your config file:
sizeofdisk = 20, 30,
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
RaiMan posted a new comment:
@ Andrew: great - I love it ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
Status: Answered = Open
Sathyamoorthy is still having a problem:
Thanks,
disksizes = list_from_string(config.get(vmsettings,disksizes)
Here disksizes is what we mentioned in sizeofdisk in config file
Question #207655 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207655
Status: Open = Solved
Sathyamoorthy confirmed that the question is solved:
@Andrew: Wow Awesome Thanks for your help
--
You received this question notification because you are a member of
Sikuli
8 matches
Mail list logo