Wal-Mart is testing a new way to bring products to your front door.

At the company's annual shareholders meeting in Bentonville, Ark., Friday, CEO Doug McMillon will announce a grocery delivery pilot with Uber and Lyft. The test will debut in Denver, Colo., and Phoenix, Az., over the next two weeks, and follows what the company called a "very quiet" pilot between Sam's Club and Deliv in Miami, Fla., in March.

The tie-up with that delivery company, which has scored investments with major mall operators including Simon Property Group, involves delivery of both grocery and general merchandise.

"We've been working on convenient new ways to make shopping easier for our busy customers and members. You can see this in our rapid expansion of online grocery pickup across the country," Michael Bender, an executive vice president in Wal-Mart's global-commerce division, wrote in a blog post.

That includes a grocery home delivery service that is currently offered in San Jose, Calif., and Denver, Colo.

To place an order for home delivery, a customer in one of the test locations goes online and selects the preferred delivery window.

Store associates will then select and prepare their orders, and request a driver from one of the companies to pick it up. Shoppers pay the retailer's standard $7 to $10 delivery charge online, and pay nothing to the driver when their order is delivered.

