Async Account Lookup

Panel 8 of the Lightning-Pattern POC page (mockapps/salesforce): a Salesforce-style record lookup -- a role=textbox input inside a role=combobox wrapper whose aria-controls points at a listbox with a GENERATED id; matching business records appear ASYNCHRONOUSLY (500ms) after typing, and selecting one rebuilds the whole widget with new ids. POC: type Ac, wait for Acme Corporation, select it and verify the selected account value.

#ActionWindow / MethodObjectValueAux 1Aux 2
1Call User MethodfLaunchWebApplicationautSalesforce<NONE>
2Enter comment for LogsComment Name=Async Account LookupBrief Description=Type Ac, wait for Acme Corporation, select it and verify the selected account valueExpected Result=Async results contain only Acme Corporation; selecting it fills the rebuilt lookup with Acme Corporation and closes the results
3CHECK Property - Equals(CaseFalse)sfAsyncLookupedtAccountLookupSearch Accounts...Prop:placeholder
4Verify the Account lookup is present and empty, showing its search prompt
5CHECK Property - Equals(CaseFalse)sfAsyncLookupedtAccountLookup1Prop:ItemCountInputValue:Ac
6Verify typing Ac makes the async results appear with exactly one matching business record
7CHECK Property - Equals(CaseFalse)sfAsyncLookupedtAccountLookupAcme CorporationProp:Items
8Verify the one async result is Acme Corporation
9Set ValuesfAsyncLookupedtAccountLookupAcme CorporationInputValue:Ac
10CHECK Value - Equals(CaseFalse)sfAsyncLookupedtAccountLookupAcme Corporation
11Verify the selected account value is Acme Corporation -- read from the REBUILT lookup (selection recreates the widget with new generated ids)
12CHECK Property - Equals(CaseFalse)sfAsyncLookuplstAccountLookupfalseProp:Visible
13Verify the async results listbox is closed after the selection
READY TO SEE THE EVIDENCE?

See whether TA STUDIO fits your enterprise applications.

A focused walkthrough grounded in the applications your team tests.

Request a Demo