Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 8 Next »

Home | Categories | How-to-Articles | Command Reference | Examples | Troubleshooting | Cognillo.com

Use this page to find example workflows for Aura Digital Workforce.

Details

This example will prompt the user for an Excel file. Then loop through the rows and enter them into a website. This website has controls that move every time the page is refreshed, but not to worry, Aura can handle this easily!

Prompt User "Please upload your Excel file" $myExcel -excel
$rpasite = "http://www.rpachallenge.com/"
navigate to $rpasite
foreach ($row in $myExcel)
{
//Variables in foreach loops are auto generated
//Use inspector to get variable names,
//they will be the column headers without spaces and special characters
switch to $rpasite
//The parameter -forcedetection is used because each time the Submit button is clicked, the position of controls change
//This is used to tell Aura to force redetect the screen controls
//Normally, without this parameter, Aura can detect screen changes automatically, but we want to be sure to force this here
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 -nearest("address")
switch to $myExcel
Set value "Is Completed" as "Yes"
}

Resources

Related Articles

Filter by label

There are no items with the selected labels at this time.


Can't find what you’re looking for? Create a Support Ticket or Chat Live (click 'Chat with a Representative')

NOTE: Our User Guides (MS Word) provide help that may not be found in the Knowledge Center articles.

  • No labels