Over recent times, Rangers and Motherwell are not used to squaring up to each other in meaningless matches. Even on only their third game of the new Ladbrokes Premiership season, the significance of this meeting was not lost on many of the 48,000 observers inside Ibrox yesterday afternoon.

At the climax of the 2015 season the Fir Park side routed their counterparts 6-1 in the Premiership play-off final over two legs, while the first match of this term the pair locked horns once again to open up their Betfred Cup campaigns. However, there was plenty more intrigue surrounding their latest encounter.

Supporters of the Govan club have been eager, ever since that Scottish Cup semi-final win over Celtic at Hampden back in April, to see how their team for the new campaign compared to that of their rivals from across Glasgow who seem to go from strength to strength. The first Old Firm game may still be a good few weeks and an international break away yet the arrival of Mark McGhee’s team offered a yardstick in which to measure just how Rangers stack up. The Lanarkshire side played Celtic earlier this month on Betfred Cup duty only to get a 5-0 pummelling at Parkhead. Less than two weeks on, they travelled across the city in an attempt to get their season back on track after that derailment lurched into a 2-1 home defeat to St Johnstone last weekend.

In the end, Rangers emerged with a 2-1 win from this gripping encounter courtesy of goals from Harry Forrester and Kenny Miller, but what took place over 93 minutes will surely have failed to answer many questions, particularly the most prominent matter of how they measure up against Celtic, over another patchy performance. While Motherwell were swept aside with ease on August 10, they took a surprise lead after 19 minutes through Scott McDonald here before more than holding their own as Rangers looked out of creativity and ideas. The home side were eventually rescued from substitute Niko Kranjcar who popped up with two assists to get an at-times pedestrian Rangers out of jail.

"They were very strong defensively and we never got in behind them,” said Mark Warburton, the Rangers manager. “We didn't earn anything first half, we conceded a poor goal with loose pass and tackle. Not acceptable from our point of view. Second half much better, different tempo to the game, we were able to get behind them and deliver quality ball in and we did.

"Niko's working so hard. There's no doubt about his ability, his quality on the ball. Don't forget he's had a long time out, away from the top level, so he will take his time but his effort is first-class and the staff are putting the hours in with him as well. It's about the whole squad getting fitter and stronger.”

Prior to Kranjcar’s introduction on 56 minutes for Andy Halliday, Motherwell looked more than capable in a performance dripping with endeavour, commitment and, most importantly, composure. All those traits were on show on 19 minutes when they took the lead. A crunching tackle from Craig Clay saw the ball won in midfield before it was sprayed out wide to Marvin Johnson. The Motherwell wing drove for the byeline, turned inside James Tavernier and bent a cross that, after taking a deflection off of Rob Kiernan, bounced perfectly to McDonald to tap in.

Aside from a hospital back pass from Lionel Ainsworth that Miller should have converted and a half volley that Craig Samson did well to parry, their hosts were unable to carve open a sturdy defence. In the second half matters improved slightly as the unfamiliar figure of Halliday was pushed through the middle to get on a few tricky crosses, but it was his replacement that sparked Rangers into life.

The Croat was only on the park eight minutes when his threaded ball to Miller sent the veteran striker scampering through. Samson was quick off his line to block, but the Motherwell bodies on the line couldn’t keep Forrester’s rebound out.

Predictably, a frustrated Rangers crowd soon found their voice. Warburton replaced the goalscorer with Michael O’Halloran but, even with Joe Dodoo already on, their extra legs against a shattered Motherwell team looked to have come up short of a winner, especially when Wes Foderingham pulled off a great save at the other end to deny a dipping Johnson effort from 20 yards.

However, Motherwell’s legs eventually gave out and the home side scraped a last-gasp winner a minute into injury time. Again, it was Kranjcar’s low ball in from the right that caused problems as O’Halloran looked to pull the trigger. He fluffed his lines but his sclaffed shot nudged the ball towards Miller at the back post, and he slammed his bending shot beyond Samson.

The scenes of celebration at Ibrox told the story of a home side that just got the job done, although the signs of comparison indicate much work has still to be done if they are to challenge as many of their support hope. For Motherwell and McGhee, contentment was sought from a rousing display following a week and a half of despair.

“I feel very encouraged,” he said. “I have my notebook here. I use it during games sometimes and certainly before it and I write things in it. Now today I’m not going to show you everything that I’ve said in it but the most important thing which is written in the biggest writing is ‘performance’. There it is, and we got that today.”