
Arsenal were handed an intriguing tie against former England boss Steve McClaren's FC Twente in the Champions League third qualifying round.
McClaren was appointed by the Dutch side in June this year, taking his first job since he was sacked by England in November 2007.
Liverpool have been drawn against Belgium's Standard Liege.
And Rangers will play the winner of the second-round match between Aalborg and Modrica if they can overcome Kaunas.
Rangers drew 0-0 at Ibrox in their first leg against the Lithuanian side on Wednesday and will play the return leg next week.
Third qualifying round draw:
Anorthosis/Rapid Vienna v Olympiakos
Vitoria Guimaraes v IFK Gothenburg/Basel
Shakhtar Donetsk v Domzale/Dinamo Zagreb
Schalke 04 v Atletico Madrid
Aalborg/Modrica v RANGERS/Kaunas
Barcelona v Beitar Jerusalem/Wisla Krakow
Levski Sofia v Anderlecht/BATE
Standard Liege v LIVERPOOL
Inter Baku/Partizan v Fenerbahce/MTK Budapest
FC Twente v ARSENAL
Spartak Moscow v Drogheda/Dinamo Kiev
Juventus v Tampere/Artmedia
SK Brann/Ventspils v Marseille
Fiorentina v Slavia Prague
Galatasaray v Steaua Bucharest
Panathinaikos/Dinamo Tbilisi v Sheriff Tiraspol/Sparta Prague
First legs to be played on 12/13 August, second legs on 26/27 August.
Former England boss Steve McClaren admits it was "fate" that his FC Twente side would be drawn against Arsenal in Champions League qualifying.
McClaren took the reins at the Enschede side earlier this summer and the Dutch Eredivisie outfit will make their Champions League debut after beating Ajax in a play-off last season.
"It was strange, because as soon as I joined (Twente), I knew we had the draw coming up," said McClaren, who was sacked as England coach last season.
"I expected one of the English teams. I think fate deals you certain cards and it has dealt us this draw.
"On one hand it's very, very tough for us but on the other it is very exciting."
He added on Sky Sports News: "I think of all the teams we could have had, that is the toughest - or one of the toughest.
"Obviously we looked at Arsenal, Liverpool, Juventus, Schalke and we got one of the most difficult.
"In one respect it's a tough draw for us; on the other it's now an opponent we know very well, not just myself, everyone in Holland knows the Premier League well so Arsenal will be no strangers to us.
"This is a reward for a great achievement last season in reaching this stage, to get one of the big teams.
"It will be a once-in-a-lifetime experience that doesn't come along that often. I'm sure the fans will be delighted.
i think liverpool match-up is tricky...std liege ok team leh.....
McClaren donno he also fated to lose soon? -.-
teams like liverpool, arsenal, juventus all sure can go through one.
i think the only good match to watch on for this round is Schalke 04 v Atletico Madrid ?