Hi,
I have follow the checkout process with website
http://automationpractice.com/index.php. These are the below steps i have followed:
(1) Access the webste:
http://automationpractice.com/index.php
(2) Add any item in cart
(3) Click to checkout button. After clicking this checkout button, Getting the error message like "Unable to locate element in application". I have used different combination of xpath for the checkout proceed button. These are like below:
//element= driver.findElement(By.id("//*[@id=\"layer_cart\"]/div[1]/div[2]/div[4]/a/span"));
//element= driver.findElement(By.id("//*[contains(@title,'Proceed to checkout')]"));
//element= driver.findElement(By.id("//*[@title='Proceed to checkout']"));
element= driver.findElement(By.id("//*[@class='btn btn-default button button-medium']"));
No Attachment tab is there. Please advice me that how can i share the document.