Test_PRL_07_04_003_CreateNewGadgetWithBlankSource
open /portal/public/classic/
echo -- Create new gadget with blank source--
windowMaximize
click link=Sign in
type username root
type password gtn
clickAndWait //div[@id='UIPortalLoginFormAction']/div/div/div/a
echo -- Go to Application registry--
clickAndWait link=Application Registry
echo -- Choose Gadget tab--
waitForElementPresent link=Gadget
click link=Gadget
waitForElementPresent //div[@id='UIGadgetManagement']/div[1]/div[2]
click //div[@id='UIGadgetManagement']/div[1]/div[2]
waitForElementPresent name
type name Test_PRL_07_04_003
type source
click link=Save
waitForTextPresent The field "Source:" is required.
verifyTextPresent The field "Source:" is required.
waitForElementPresent //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
click //div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a
waitForElementPresent link=Cancel
click link=Cancel
waitForElementPresent link=Sign out
clickAndWait link=Sign out