Kevin,
You left out a step in trying to print out the record contents. You have defined the record object and you also created an instance of the record (login). Now you need to refer to the fields to print rather than the record as a whole. Your code shows :
[-] type LOGIN is record
[ ] STRING Username
[ ] STRING Password
[ ]
[-] STRING sFile = "login.dat"
[ ]
[-] testcase ReadFromFile ()
[ ] LOGIN login
[ ] HFILE hFile
[ ] hFile = FileOpen (sFile, FM_READ) // Open the file
[-] while (FileReadValue (hFile, login)) // Read from file
[ ] Print (login)
[ ] FileClose (hFile)

Instead of Print (login) you should Print ("The name is {login.Username}")
Print ("The Password is {login.Password}")

I hope this helps. -Len