HONG KONG — She claimed that her employer kicked her and beat her with a vacuum cleaner pipe. She said that she was given only one bottle of water a day to minimize toilet breaks, was forced to sleep on the floor and became emaciated for lack of food.

On Tuesday, a court here agreed, vindicating Erwiana Sulistyaningsih, a domestic servant from Indonesia, by finding her former employer, Law Wan-tung, guilty of 18 charges. They included inflicting “grievous bodily harm,” assault and failure to pay wages. Ms. Law, 44, now awaits sentencing at the end of this month. She faces up to seven years’ imprisonment.

“To employers in Hong Kong, I hope they will start treating migrant workers as workers and human beings and stop treating us like slaves,” Ms. Erwiana said after the verdict, reading a statement in English. “Because as human beings, we all have equal rights.”

Ms. Erwiana’s trial was closely watched in Hong Kong, where more than 300,000 domestic servants, mostly from Indonesia and the Philippines, work for expatriates and native residents.