A woman who Alex Salmond is accused of attempting to rape did not attend a dinner at his official residence on the night the incident is alleged to have happened, a witness has claimed.
Samantha Barber said she had attended a meal with Mr Salmond and a celebrity at Bute House in June 2014.
She said she had not seen a government official known as Woman H there.
Woman H has previously told the trial that Mr Salmond “pounced” on her after the dinner and took her clothes off.
The High Court in Edinburgh also heard evidence from the celebrity last week, who told police that he could remember Woman H being at the dinner.
Mr Salmond denies attempting to rape Woman H, and a further charge of sexually assaulting her the previous month.
- Listen to the Alex Salmond trial podcast
- Follow @bbcphilipsim for live updates from the trial
He also denies a further 11 charges of sexual assault against eight other women, all of which are alleged to have happened while he was Scotland’s first minister and the leader of the SNP.
Giving evidence to his trial on Wednesday, Ms Barber said she knew Woman H and had a “strong recollection” of being invited by her to attend the dinner with the celebrity and Mr Salmond.
However, the businesswoman said her recollection was that Woman H had told her she would not be there.
She went on to say that it had only been her, Mr Salmond and the celebrity who were at the dinner.
Ms Barber said there had been a bottle of wine but she was not drinking because she was driving home afterwards, and that she had left Mr Salmond and the celebrity at about 21:00.
Asked by defence lawyer Shelagh McCall QC whether she had seen Woman H at any point that night, Ms Barber replied: “No, I didn’t.”
When prosecutor Alex Prentice QC later put it to her that Woman H had indeed been there, Ms Barber replied: “No.”
She went on to say: “I absolutely genuinely have no recollection of seeing (Woman H) that night.”
Woman H alleged during the first day of the trial that Mr Salmond “pounced” on her after the dinner.
She claimed that he ignored her pleas to stop and started removing both his clothes and hers, before pushing her onto a bed and getting on top of her while he was naked.
Mr Salmond told the court on Tuesday that he had a previous “consenting sexual encounter” with Woman H which did not result in full sex.
He said Woman H’s allegations against him were “lies”, and that she had been angry when he had not endorsed a personal political project she had been involved in.
Also giving evidence on Wednesday was former SNP MP Tasmina Ahmed-Sheikh, who said Woman H had texted her in 2015 to say that “it would be great to work with Alex again”.
She said Woman H was later “clearly very annoyed” that her project had not been endorsed by Mr Salmond.
Ms Ahmed-Sheikh also said she had been at Stirling Castle in November 2014 and had watched Mr Salmond having his photograph taken with a former civil servant known as Woman K, but had not seen anything untoward.
The former first minister is alleged to have put his hand on the bottom of Woman K while the photograph was being taken.
Mr Salmond says he is innocent of all the allegations against him.
He has entered not guilty pleas to all 13 of the charges which he still faces, which include one charge of attempted rape, one of sexual assault with intent to rape, nine sexual assaults and two indecent assaults.
He was acquitted of a further charge of sexual assault against a 10th woman when the Crown dropped the allegation.