function CL360_Login_Test()
{
//Launches the specified browser and opens the specified URL in it.
Browsers.Item(btChrome).Run("https://edge");
//Iterates through the specified browsers.
var BrowserItems, i;
BrowserItems = new Array(2);
BrowserItems[0] = Browsers.Item("edge");
BrowserItems[1] = Browsers.Item("chrome");
for(i = 0; i < BrowserItems.length; i++)
BrowserItems[i].Run("https://chrome");
OCR.Recognize(Aliases.browser.BrowserWindow).BlockByText("Cruise", spNearestToCenter).Click();
//Maximizes the specified Window object.
Aliases.browser.BrowserWindow.Maximize();
//Sets the text 'kfiander' in the 'textboxUsername' text editor.
Aliases.browser.pageCruiseheritage.textboxUsername.SetText("XXXX");
//Enters '[Tab]' in the 'textboxUsername' object.
Aliases.browser.pageCruiseheritage.textboxUsername.Keys("[Tab]");
//Sets the text Project.Variables.Password1 in the 'passwordboxPassword' text editor.
Aliases.browser.pageCruiseheritage.passwordboxPassword.SetText(Project.Variables.Password1);
//Sets the text Project.Variables.Password2 in the 'passwordboxPassword' text editor.
Aliases.browser.pageCruiseheritage.passwordboxPassword.SetText(Project.Variables.Password2);
//Enters '[Enter]' in the 'passwordboxPassword' object.
Aliases.browser.pageCruiseheritage.passwordboxPassword.Keys("[Enter]");
//Clicks the 'vg' control.
Aliases.browser.pageCruiseheritage.section.section2.vg.Click();
//Clicks the 'textnode' control.
Aliases.browser.pageCruiseheritage.section.section2.textnode.Click();
//Enters '[Down][Down][Down][Down][Down][Down][Down][Enter][Tab]' in the 'searchboxCenterDealdealsourcetyp' object.
Aliases.browser.pageCruiseheritage.section.section2.searchboxCenterDealdealsourcetyp.Keys("[Down][Down][Down][Down][Down][Down][Down][Enter][Tab]");
//Sets the text 'Daffy's ' in the 'textboxCenterDealdealname' text editor.
Aliases.browser.pageCruiseheritage.section.section2.textboxCenterDealdealname.SetText("Daffy's ");
//Sets the text 'Daffy's Adventuyre' in the 'textboxCenterDealdealname' text editor.
Aliases.browser.pageCruiseheritage.section.section2.textboxCenterDealdealname.SetText("Daffy's Adventuyre");
//Enters '[Tab]' in the 'textboxCenterDealdealname' object.
Aliases.browser.pageCruiseheritage.section.section2.textboxCenterDealdealname.Keys("[Tab]");
//Enters '[Down][Down][Down][Enter][Tab]' in the 'searchboxCenterDealbankerid' object.
Aliases.browser.pageCruiseheritage.section.section2.searchboxCenterDealbankerid.Keys("[Down][Down][Down][Enter][Tab]");
//Clicks the 'panel3' control.
Aliases.browser.pageCruiseheritage.section.section2.panel3.Click();
//Clicks the 'panel17' control.
Aliases.browser.pageCruiseheritage.panel17.Click();
//Enters '[Tab]' in the 'textboxCenterDealsubmissiondate' object.
Aliases.browser.pageCruiseheritage.section.section2.textboxCenterDealsubmissiondate.Keys("[Tab]");
//Clicks the 'textnode2' control.
Aliases.browser.pageCruiseheritage.section.section2.textnode2.Click();
//Clicks the 'panel18' control.
Aliases.browser.pageCruiseheritage.panel18.Click();
//Clicks the 'textnode3' control.
Aliases.browser.pageCruiseheritage.section.section2.textnode3.Click();
//Enters '[Down][Down][Down][Down][Down][Down][Down][Down][Enter]' in the 'searchboxCenterDealdepartmentDep' object.
Aliases.browser.pageCruiseheritage.section.section2.searchboxCenterDealdepartmentDep.Keys("[Down][Down][Down][Down][Down][Down][Down][Down][Enter]");
//Clicks the 'panel8' control.
Aliases.browser.pageCruiseheritage.section.section2.panel8.Click();
//Enters 'My Testing Scenario' in the 'panel8' object.
Aliases.browser.pageCruiseheritage.section.section2.panel8.Keys("My Testing Scenario");
//Clicks the 'buttonClear' button.
Aliases.browser.pageCruiseheritage.section.section2.buttonClear.ClickButton();
}
This is the function that I came up with. It works depending on the order I have selected so if I choose Edge first it will Launch Edge then hold it open. Then Launch Chrome and complete all the steps and vice versa.
The farthest it goes in either case is the Username and Password.