self.assertEqual("Ung test subject %d"%test_subject_time,self.selenium.get_text("//button[@value='ung_domain/by_subject/subject_UNG Test Subject %d.1']"%test_subject_time))
self.failUnless(self.selenium.is_element_present("//button[@value='ung_domain/by_subject/subject_UNG Test Subject %d.1']"%test_subject_time))
self.selenium.click("//p[@id='more_properties']")#"Edit More Properties"
self.selenium.run_script("document.getElementById('keyword_list').value = 'UNG Test VPN %(time)d\\nUNG Test Cloudooo %(time)d'"%{'time':test_subject_time})
self.failUnless(self.selenium.is_element_present("//button[@value='ung_domain/by_subject/subject_UNG Test VPN %d.1']"%test_subject_time))
self.assertEqual("Ung test vpn %d"%test_subject_time,self.selenium.get_text("//button[@value='ung_domain/by_subject/subject_UNG Test VPN %d.1']"%test_subject_time))
self.failUnless(self.selenium.is_element_present("//button[@value='ung_domain/by_subject/subject_UNG Test Cloudooo %d.1']"%test_subject_time))
self.assertEqual("Ung test cloudooo %d"%test_subject_time,self.selenium.get_text("//button[@value='ung_domain/by_subject/subject_UNG Test Cloudooo %d.1']"%test_subject_time))
self.assertEqual("Ung test web table subject %d"%test_subject_time,self.selenium.get_text("//button[@value='ung_domain/by_subject/subject_UNG Test Web Table Subject %d.1']"%test_subject_time))
self.rename_document(keywords="UNG Test VPN %(time)d\n"
self.selenium.click("//button[@value='ung_domain/by_subject/subject_UNG Test Web Table Subject %d.1']"%test_subject_time)
"UNG Test Cloudooo %(time)d"%{'time':test_subject_time})