//This folder is in My Documents\Digital Workforce\Genta Digital Worker\Assets\.
//This path is used to locate files and folders. orYou you can also specify a full path below.
$excelFile = ""
$folder = "Test Data"
$rpasite = "http://www.rpachallenge.com/"
navigate to $rpasite
foreach ($excelFile in $folder)
{
foreach ($row in $excelFile)
{
//Variables in foreach loops are auto-generated.
//Use inspector to get variable names,.
//theyThey will be the column headers without spaces and special characters.
switch to $rpasite
Enter $_FirstName as "First Name" -forcedetection
Enter $_LastName as "Last Name"
Enter $_PhoneNumber as "Phone Number"
Enter $_CompanyName as "Company Name"
Enter $_RoleInCompany as "Role in Company"
Enter $_Email as "Email"
Enter $_Address as "Address"
Click "Submit" button
//You are now finished inputtinginputing values. Swith to Excel applicationor orthe file to update a value.
switch to $excelFile
Set value "Is Completed" as "Yes"
}
//This will send the result back to the user to open once workflow automation is complete.
//You could also use the "Copy" or "Move" commandcommands to copy files to another location.
//The files are stored on Genta Worker.
if
needed
Add Result $excelFile
}
//This command below will send the results stored onto Genta Desktop.
//Once completecompleted, look for a button labeled 'Open Results'.
Send Results to Genta Desktop |