Start Firefox (like a boss) (When you follow these steps, make sure page content is loaded before clicking, etc... Since you're a human, this is probably what you do already) - Navigate to http://localhost:9100/m2u-upass-admin/common/Login.do - Type "administrator" in "//div[2]/div[2]/form/table/tbody/tr[2]/td[3]/input", replacing any text that was already there - Type "Mss@dm1n" in "//div[2]/div[2]/form/table/tbody/tr[3]/td[3]/input", replacing any text that was already there - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/form/table/tbody/tr[5]/td[5]/input" - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[1]/div/ul/li/ul/li[4]/a" - Type "test" in "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[2]/td[3]/input", replacing any text that was already there - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div[1]/input[1]" - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/div[2]/form/input[2]" - Select the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[3]/td[3]/select//option[2]" - Select the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[4]/td[3]/select//option[2]" - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div[1]/input[1]" - If "m2u-test-user-1" is not on the page, scream at the coders - If "stock-user-1" is not on the page, scream at the coders - If "im2u-test-user-1" is not on the page, scream at the coders - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/table[2]/tbody/tr[3]/td[1]/a" - If "Customer Enquiry - Details" is not on the page, scream at the coders - If "im2u-test-user-1" is not on the page, scream at the coders - If "Active" is not on the page, scream at the coders - Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div/input[1]" - If the element(s) on the page found by the css selector "tr.alt:nth-child(3)" is not present, scream at the coders - If the element(s) on the page found by the css selector "tr.alt:nth-child(4)" is present, scream at the coders You're done! Sweet.