A WOMAN standing trial for rape has admitted being attracted to her alleged victim, but insists any sexual encounter between them was just a dream.

Kylie Fiona Henry took the stand in the District Court today to refute claims she raped a boy, 15, on a mattress on the floor of her lounge room in April 2011.

Denying the accusations, Henry said the only sex that had occurred on the night of the alleged incident happened in her mind.

"I dreamed that (the boy) and I were on the mattress together and that he was kissing me very passionately ... I dreamt that he got on top of me and that we had sex," she said.

"My first reaction (upon waking) was 'oh, that was a good dream' and then I realised who it was and then I thought 'that is disgusting, that's just wrong' ... I felt guilty and embarrassed."

Henry, 40, of Ingle Farm, has pleaded not guilty to one count of rape.

Prosecutors allege the mother of three forced herself on to the boy, who was sleeping at her house with his siblings, after he had performed gardening work for her.

They allege Henry, a former primary school canteen manager, straddled the boy and, when he told her to stop and struggled to push her off, threatened him.

They further allege the boy, who had no sexual experience, managed to push Henry away after a "brief encounter".

This week, the trial has heard testimony from the boy's mother, who said she punched Henry in the face after learning of the alleged incident.

He co-workers, meanwhile, gave evidence Henry said that if the alleged victim was older she would have sex with him.

In her evidence, Henry agreed the alleged victim had been referred to as "jail bait" during conversations with her friends.

However, she insisted she only felt sexual attraction to the boy after the dream, which occurred on the night of the alleged rape.

Henry said she had allowed the boy to stay the night in her home after he had performed gardening work for her.

"The only reason I said 'yes' to him staying over was because I had my children at home, otherwise I would not have had him sleep over at all," she said.

"I just didn't think it was appropriate for a young boy to stay at my house if there was no other children there ... I didn't want to be in a house by myself with him."

She said that, on the night of the alleged incident, her children watched TV in her bedroom while she and the boy watched Supernatural in the lounge room.

He was on a mattress on the floor while she sat on the lounge - Henry said she fell asleep which watching the show and had the dream.

"I remember waking up thinking it was morning and then realising ... I was in the lounge room and (the boy) was on the mattress," she said.

"I thought 'I shouldn't be here' and went into my daughter's room."

The trial, before Judge Paul Cuthbertson and a jury, continues.

###