Test_PRL_02_02_006_SearchWithInCompletedWordButHasStarCharsToFindTheRightLeft
open /portal/public/classic/
echo -- Search with in completed word but has * to find the right or left--
windowMaximize
click link=Sign in
waitForElementPresent username
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div
echo -- Go to User and Group management--
clickAndWait link=Users and groups management
echo -- Search with in completed word but has * to find the left--
waitForElementPresent searchTerm
type searchTerm *o
waitForElementPresent searchOption
select searchOption label=User Name
waitForElementPresent //form[@id='UISearchForm']/div[2]/a
click //form[@id='UISearchForm']/div[2]/a
verifyTextPresent demo
echo -- Return to user list--
waitForElementPresent searchTerm
type searchTerm
waitForElementPresent //form[@id='UISearchForm']/div[2]/a
click //form[@id='UISearchForm']/div[2]/a
echo -- Search with in completed word but has * to find the right --
waitForElementPresent searchTerm
type searchTerm o*
waitForElementPresent //form[@id='UISearchForm']/div[2]/a
click //form[@id='UISearchForm']/div[2]/a
waitForTextPresent No result found.
verifyTextPresent No result found.
waitForElementPresent //div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click //div[5]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
echo -- Return to user list --
waitForElementPresent searchTerm
type searchTerm
waitForElementPresent //form[@id='UISearchForm']/div[2]/a
click //form[@id='UISearchForm']/div[2]/a
clickAndWait link=Sign out