Test_PRL_02_02_003_SearchWithCompletedWordWhenSearchingKeywordsMatchesExistingUsers
open /portal/public/classic/
echo -- Search with completed word when searching keyword matches existing user(s)--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- Go to users And Group Management --
waitForElementPresent link=Users and groups management
clickAndWait link=Users and groups management
echo -- Input completed word into Search text box that matches existing users--
waitForElementPresent searchTerm
type searchTerm root
waitForElementPresent //form[@id='UISearchForm']/div[2]/a
click //form[@id='UISearchForm']/div[2]/a
waitForElementPresent //div[@id='UIListUsersGird']/table/tbody/tr/td[1]/div
verifyText //div[@id='UIListUsersGird']/table/tbody/tr/td[1]/div root
clickAndWait link=Sign out