I am testing the payment application. The procedure is
- first run the payment webservice call..
- Initiate payment response will return login url.
- Take the url from the response and launch it in browser
- Enter the user name and password.
- Select login. it will navigate to next screen (say screen 2)
- Here i need to pass cvc and select confirm
Till 3rd step it is working. But i am using HTTP request on the 4th step. But the username and password are not passed on the request and i don’t know how to resolve it.
It would be easy for me if any one could help me out this.
Thanks.
import org.openqa.selenium.By
import org.openqa.selenium.WebDriver
import org.openqa.selenium.WebElement
import org.openqa.selenium.firefox.FirefoxDriver
import org.openqa.selenium.support.ui.ExpectedCondition
import org.openqa.selenium.support.ui.WebDriverWait