VMware

This Question is Answered

2 "helpful" answers available (6 pts)
7 Replies Last post: Sep 10, 2009 1:44 AM by mateenhussain  

Can I drive UI automation thru Orchestrator posted: Sep 8, 2009 2:45 AM

Click to view mateenhussain's profile Novice 6 posts since
Sep 8, 2009
Hi

I'm a total newbie to this concept of VMware and I have been assigned the task of automating my company's installer on VM Servers. So I was wondering if Orchestrator is the right technology for automating UI actions like button click etc. Also can I automate Pre-boot input thru keyboard visa Orchestrator. If not can somebody please point to the right way of doing it.

Thanks,
Mateen
Click to view siayiu's profile Enthusiast 66 posts since
Feb 4, 2008

Orchestrator is probably not a good way to emulate button clicks. However, most installers do have a silent install option and if you could launch it with in silent install mode and provide all the answers the installer needs, you are very likely able to do this in vCO.

Sia

Re: Can I drive UI automation thru Orchestrator

2. Sep 8, 2009 4:10 AM in response to: siayiu
Click to view LucD's profile Champion 2,437 posts since
Oct 31, 2005
I agree with Sia that you should go for silent installs but I understand that this not always possible.
A valid alternative is to use WASP from within PowerShell (with PowerCLI toolkit).
Have a look at the demo that was done during VMworld Europe 2009: VI Toolkit Demos at VMworld Europe 2009 (Part 2 of 2: UI Automation)
Click to view LucD's profile Champion 2,437 posts since
Oct 31, 2005
Since you drive the automation from another machine than the one your deploying, the question for the username and password could be done with a Read-Host cmdlet.
$user = Read-Host "Username"
$pswd = Read-Host "Password"

Once you have the username and password you could try using the CustomizationSysprep object (with the CustomizeVM_Task method).
In the sysprep parameters you could enter the username & password adn ask for a one-time autologon.

Once this is done you can further automation with the help of WASP (provided you have PowerShell present in your gold image).

Mind this is not an easy process. Trust me I have been there ;-)
Click to view LucD's profile Champion 2,437 posts since
Oct 31, 2005
Yes, I was thinking you were referring to the Windows logon userid & password.
What are the username & passcord collected in 2 & 3 for then ?

Did you already have a look at the WASP homepagein Codeplex ?
To install WASP have a look at Marco Shaw's answer.

Developer Social Media

Communities