Wal-Mart started testing same-day delivery program for online customers in 2011, and now it’s offered in three cities.

Wal-Mart Stores Inc. of Bentonville and Amazon.com Inc. of Seattle recently expanded their pilot programs to offer same-day service to customers in select cities. Both companies in some cases are using their own trucks and drivers to deliver the items, which can range from groceries to televisions.