| |
| | Technical Papers - Unit Testing With TestComplete |
 | | If there are two words, and the second is not a suffix accord to the rules in 3, then that word is the last name, otherwise the first word is the last name. |
 | | If there are any words before the last name but after the title (if any), then the first of the words is the First Name and all other words belong to the Middle Name. |
 | | Smith'; CheckEquals('Mr.',w.NameExtractor.Title,'Title is not correct'); CheckEquals('',w.NameExtractor.FirstName,'First Name is not correct'); CheckEquals('',w.NameExtractor.MiddleName,'Middle Name is not correct'); CheckEquals('Smith',w.NameExtractor.LastName,'Last Name is not correct'); CheckEquals('',w.NameExtractor.Suffix,'Suffix Name is not correct'); w.NameExtractor.FullName := 'Mr. |
| www.automatedqa.com /techpapers/aqtest_wp.asp (3157 words) |
|