AssertDeleteChoiceTest
waitForElementPresent link=Polls
clickAndWait link=Polls
clickAndWait //input[@value='Add Question']
typeKeys _25_title Test Choice Question
type _25_title Test Choice Question
type _25_description This is a test to delete choice!
type _25_choiceDescriptiona Test Choice A
type _25_choiceDescriptionb Test Choice B
clickAndWait //input[@value='Add Choice']
waitForElementPresent _25_choiceDescriptionc
typeKeys _25_choiceDescriptionc Test Choice C
type _25_choiceDescriptionc Test Choice C
clickAndWait //input[@value='Add Choice']
waitForElementPresent _25_choiceDescriptiond
typeKeys _25_choiceDescriptiond Test Choice D
type _25_choiceDescriptiond Test Choice D
clickAndWait //input[@value='Delete']
clickAndWait //input[@value='Save']
assertTextPresent Your request processed successfully.
assertElementPresent link=Test Poll Question 2
clickAndWait link=Test Choice Question
assertTextNotPresent Test Choice C