FORT LAUDERDALE, Fla. — A Chinese businesswoman who talked her way into President Trump’s Mar-a-Lago resort with a cache of electronics and a story about wanting to use the pool was convicted on Wednesday of trespassing and lying to federal agents.

The verdict capped an unusual trial that never answered the question of whether the woman, Yujing Zhang, a financial consultant from Shanghai, was a confused tourist or someone who had a more serious agenda.

Ms. Zhang, 33, said she had been planning to attend a party when she showed up at Mr. Trump’s private club in Palm Beach, Fla., in late March. She talked her way past the Secret Service outside and was allowed in because her surname — among the most common in China — matched that of a club member. She had no swimsuit but said she was going to use the pool.

After Ms. Zhang was stopped in the lobby and questioned further by the Secret Service, agents found that she was carrying four cellphones, a laptop and an external hard drive. In her room in a different hotel, they found nine flash drives, five cellphone SIM cards, a device used to detect hidden cameras and about $8,000 in cash.