$this->openCiviPage("contribute/transact", $args, '_qf_Main_upload-bottom');
// Select membership type 1
- $this->click("xpath=//div[@class='crm-section membership_amount-section']/div[2]//span/label/span[2][contains(text(),'$memTypeId')]");
+ $this->click("xpath=//div[@class='crm-section membership_amount-section']/div[2]//div/span/label/span[1][contains(text(),'$memTypeId')]");
$this->type("xpath=//div[@class='crm-section other_amount-section']//div[2]/input", 60);
$this->clickLink("_qf_Main_upload-bottom", "_qf_Confirm_next-bottom");
$this->clickLink("_qf_Confirm_next-bottom", NULL);