Denis Shapovalov made the most of an opportunity to fulfill a lifelong dream of playing for his country this weekend at the Davis Cup.

The 18-year-old put Canada through to the World Group for 2018 after a dominating 6-3, 7-6 (1), 6-3 victory over Ramkumar Ramanathan of India in its best-of-five Davis Cup tie on Sunday on the indoor hard court at Northlands Coliseum.

The Canadians won the tie 3-1, with another rubber between Brayden Schnur and Yuki Bhambri still to be played later Sunday, although that match wouldn't impact the final result.

"Clinching for my country is huge," Shapovalov said. "I grew up wanting to play on the team and to help my country win this week is a huge honour. It's honestly the best feeling.

"I'll be back for many years to come if I am invited to play. It's such a fun event, and I love doing it."

The 18-year-old's straight-sets win sends Canada back to the Davis Cup World Group. 1:32

The tie-clinching match took only two hours five minutes to complete.

Shapovalov, ranked 51st in the world, is in the midst of a tremendous run that has seen him go 18-3 since Wimbledon, including wins over Rafael Nadal at the Rogers Cup and eighth seed Jo-Wilfried Tsonga at the recent U.S. Open.

Shapovalov also recorded a win over Bhambri in the second Davis Cup singles match on Friday.

"This is right up there with all the rest of the things that have happened of late," Shapovalov said. "I'm improving every day, and I still think I need to improve a lot of things. But I am playing with a lot of confidence and playing some great tennis. I felt so good on the court today."

It was a much better Davis Cup experience than the last one for Shapovalov, who in some ways caused the necessity of the tie with India.

The Richmond Hill, Ont., native slapped a loose ball in frustration and broke a bone in the eye socket of chair umpire Arnaud Gabas during the deciding match of the series against Britain in February in Ottawa, getting banished as Canada lost 3-2.

Canada's other victory in Edmonton came in doubles play on Saturday when Daniel Nestor and Vasek Pospisil defeated Rohan Bopanna and Purav Raja 3-1.

Not much separated the two countries coming into the tie, as Canada was ranked 16th to India's 18th.

Canada has now advanced into the World Group for a seventh consecutive year, and has won seven of its last eight home ties.

Canada's highest-ever ranking in Davis Cup play was sixth in February 2014.