© 2013 MLB Advanced Media, L.P. All rights reserved.

3/26/2013 7:20 P.M. ET

Cespedes homers as A's win back-and-forth battle

GOODYEAR, Ariz. -- The Cleveland Indians put up a fight with a two-run ninth inning, but Daric Barton drove in a run in the 10th inning to lead the A's to a 7-6 win on Tuesday afternoon at Goodyear Ballpark.

Yoenis Cespedes launched a home run and Brett Anderson looked solid before Travis Blackley allowed two runs on three hits in the ninth.

Indians right-hander Zach McAllister -- lined up to be his team's fourth starter this season -- pitched into the sixth inning and surrendered five runs, including two on Cespedes' two-run homer in the fifth. It marked McAllister's final Cactus League appearance before the start of the regular season.

"I felt like delivery-wise I felt really good," McAllister said. "I felt like I had good life on my fastball today. For the most part, I think it went well -- except for that curveball to Cespedes. He's a really good hitter. I want to be aggressive. I don't want to give up runs. I know I have to attack him. That one was just a little too good of a pitch for him to hit."

McAllister ended the afternoon with two walks, three strikeouts and eight hits allowed in 5 2/3 innings.

Anderson, who is in line to start Oakland's opener, yielded three runs (two earned) on six hits in 5 1/3 innings. The left-hander had one strikeout and one walk in his fourth Cactus League appearance of Spring Training. In the fourth inning, Anderson allowed a solo home run to Cleveland utility man Ryan Raburn, who will begin this year on the Tribe's bench.

The Indians struck for one run in the first inning, when Mike Aviles tripled and later crossed the plate on a sacrifice fly from Carlos Santana. An inning later, Indians second base prospect Jose Ramirez contributed an RBI single. He also drove in one of the team's two runs in the ninth. The other ninth-inning run scored on a wild pitch.

In the first inning, Josh Reddick came through with a triple against McAllister, who then allowed Oakland's right fielder to score from third base on a wild pitch. Brandon Moss later added a run-scoring double that pushed the A's to a 2-0 lead.

Cespedes' blast in the fifth inning highlighted a three-run outburst for the A's.

Indians All-Star closer Chris Perez worked a scoreless seventh inning in his first Cactus League game since injuring his right shoulder in an outing on Feb. 26. Perez struck out Michael Choice and later induced an inning-ending double play grounder off the bat of Hiroyuki Nakajima.

"I felt normal," Perez said. "Like I told you guys before, the injury is gone. Now it's just trying to get caught up to speed with location and putting guys away."

Up Next: Right-hander Jarrod Parker gets the nod for Oakland's final game in the desert on Wednesday, to be played against righty Jhoulys Chacin and the Rockies at Phoenix Municipal Stadium beginning at 1:05 p.m. PT. It also marks the last preseason start for Parker, whose next time on the mound will be against the Mariners in regular-season action on April 2. Following Wednesday's game, the A's will catch a flight back to the Bay Area, where they will play three exhibition games with the Giants starting Thursday.

Jordan Bastian is a reporter for MLB.com. Read his blog, Major League Bastian, and follow him on Twitter @MLBastian. This story was not subject to the approval of Major League Baseball or its clubs.