GLENDALE, Ariz. -- The Dodgers ended an eight-game Cactus League losing streak with a 7-6 come-from-behind victory over the Rangers on Tuesday.

Trailing by two runs entering the bottom of the eighth inning, Gabe Kapler pulled the Dodgers to within a run at 6-5 with an RBI single off Rangers reliever Alexi Ogando. With two outs, Xavier Paul scored the tying run on a passed ball. Eugenio Velez then singled home the game-winner.

The Rangers chased left-hander Clayton Kershaw with a three-run sixth inning.

Kershaw, the Dodgers' Opening Day starter, was charged with six runs (five earned) on 11 hits in 5 2/3 innings, having come into the game without allowing an earned run all spring.

Five Rangers had at least two hits, with David Murphy (three hits) driving in a pair. Juan Uribe led the Dodgers with three RBIs.

The Dodgers scored in the first inning off Derek Holland on a line single by Ivan DeJesus, an infield single by Andre Ethier that Holland mishandled and walks to Matt Kemp and Uribe. Holland went four innings and was charged with four runs on seven hits.

The Rangers tied the game in the second inning with an unearned run, courtesy of Uribe's error at third base, with Chris Davis' sacrifice fly cashing it in. They took a 2-1 lead in the top of the third with three singles, the run scoring on Murphy's RBI hit.

The Dodgers reclaimed the lead in the bottom of the third on Uribe's two-run double off the center-field fence and added a run in the fourth when Tony Gwynn led off with a single and eventually scored on DeJesus' groundout.

Texas trimmed the lead to a run again in the fifth on Murphy's RBI double down the left-field line and chased Kershaw in a three-run sixth with RBIs from Matt Treanor, Andres Blanco and Julio Borbon.

Rangers up next: Left-hander C.J. Wilson, the Rangers' Opening Day pitcher, make his fourth start of the spring on Wednesday against the Rockies at 8:05 p.m. CT at Surprise Stadium. The game will be broadcast on MLB.TV and Gameday Audio. Adrian Beltre will be at third base, his second start in the Cactus League after missing time with a strained right calf muscle. Look for Chad Tracy to be in the game as well at some point. He is the son of Rockies manager Jim Tracy.

Dodgers up next: The Dodgers get their lone day off of the spring on Wednesday and resume play Thursday with a home game against Arizona, starting at 1:05 p.m. PT on MLB.TV. Chad Billingsley gets the start and manager Don Mattingly said he's hoping to get more at-bats for his regulars now that most of the split-squad games are over and the roster has been cut down to a manageable number. Relievers Jonathan Broxton, Matt Guerrier and Mike MacDougal are scheduled to pitch in relief. Each is expected to be on the Major League club, including MacDougal, a former Kansas City and Washington closer who has been impressive as a non-roster invitee.