An attorney representing a prestigious Silicon Valley venture capital firm in a gender bias lawsuit questioned the plaintiff Tuesday about why she did not reject initial advances by a male colleague and showed jurors emails in which the co-workers appeared to exchange compliments and banter.

Plaintiff Ellen Pao testified that the colleague first approached her romantically during a trip to Germany after she had been struck by a cab. She was dazed from her injuries and couldn't object to his advances, she said.

"I got hit by cab and then he tried to hit on me," Pao testified.

Pao previously testified that the colleague was relentless in pursuing her, and that she began an affair with him after he said his wife had left him. She said she broke it off several months later when she learned that was a lie.

Pao was questioned for the first time by defense attorney Lynne Hermle, who represents Kleiner Perkins Caufield & Byers. Their exchanges were often tense, with Pao staring at the lawyer and pausing before responding yes or no.

Among the emails shown to the jury was one from 2006, after the affair began, in which Pao wrote that she was always looking out for the colleague--"never stopped, never will."

In text messages that year, she said she didn't think he was a bad person and she wasn't mad at him for not being able to have a real relationship at the time.

After she ended the affair, Pao testified, the colleague retaliated by shutting her out of emails and meetings.

When she raised the retaliation issue with management, a senior partner explained how he had met his wife at another company while he was married, and perhaps Pao could have the same outcome with her colleague, she testified.

The lawsuit has spotlighted gender imbalance at elite Silicon Valley investment companies that are stacked with some of the nation's most accomplished graduates -; multiple degree holders from schools such as Stanford and Harvard who are competing aggressively to back the next Google or Amazon.

Women, however, are grossly underrepresented in the venture capital and technology sectors.

Pao seemed to address those concerns Tuesday, saying under questioning by her attorney that her lawsuit was aimed in part at creating equal opportunities for women in the venture capital sector.

"I've tried many times to bring Kleiner Perkins to the right path," she told jurors. "I think there should be equal opportunities for women and men to be venture capitalists."

She also told jurors that she had sought $10 million from the firm in exchange for voluntarily leaving, saying she believed the figure would prompt the firm to change its treatment of women.

Pao did not receive the money and continued working at the firm. Her lawsuit seeks $16 million in damages.

The 45-year-old Pao said the company repeatedly dismissed her attempts to open a discussion about gender bias and instead hired an antagonistic investigator to look into her complaint.

The lawsuit says she was fired five months after she sued the firm.

Kleiner Perkins has denied wrongdoing and says Pao didn't get along with her colleagues and performed poorly as a junior partner.

Pao was composed on the stand under questioning by her lawyer, even while discussing potentially emotional topics such as her firing.

She said Steve Hirschfeld, an investigator hired by Kleiner Perkins to look into her complaint, did not appear open to what she had to say.

"It felt antagonistic," she said. "There were times I felt he was grilling me about answers I didn't have."

Hirschfeld eventually concluded that Pao had not been retaliated against and there was no gender discrimination at the firm.

Pao said she filed her lawsuit after running out of ways to try to get her concerns addressed within the company. But afterward, partners stopped coming to her office to talk, she felt she had been demoted, and received a poor performance review, she said.

She was told in October 2012 to pack up her belongings and leave the office, she said.

--Associated Press