Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8598321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:07:30+00:00 2026-06-12T01:07:30+00:00

I am testing the payment application. The procedure is first run the payment webservice

  • 0

I am testing the payment application. The procedure is

  1. first run the payment webservice call..
  2. Initiate payment response will return login url.
  3. Take the url from the response and launch it in browser
  4. Enter the user name and password.
  5. Select login. it will navigate to next screen (say screen 2)
  6. 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:07:31+00:00Added an answer on June 12, 2026 at 1:07 am

    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

        // Create a new instance of the Firefox driver
        // Notice that the remainder of the code relies on the interface, 
        // not the implementation.
        WebDriver driver = new FirefoxDriver()
    
        // And now use this to visit Google
        driver.get("http://www.google.com")
    
        // Find the text input element by its name
        WebElement element = driver.findElement(By.name("q"))
    
        // Enter something to search for
        element.sendKeys("Cheese!")
    
        // Now submit the form. WebDriver will find the form for us from the element
        element.submit()
    
        // Check the title of the page
        log.info("Page title is: " + driver.getTitle())
    
        // Google's search is rendered dynamically with JavaScript.
        // Wait for the page to load, timeout after 10 seconds
        (new WebDriverWait(driver, 10)).until(new ExpectedCondition() {
            public Boolean apply(WebDriver d) {
                return d.getTitle().toLowerCase().startsWith("cheese!")
            }
        });
    
        // Should see: "cheese! - Google Search"
        log.info("Page title is: " + driver.getTitle())
    
        //Close the browser
        driver.quit()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a payment gateway API in my ASP.Net application. When testing in
testing Play framework and JPA. I eclipsify my very simple test application. Import the
i have put that url http://pvpcoach.com/notification.php in Instant Payment Notification setting in my profile
I'm working on testing a shopping cart, checkout, payment process on Zend Framework with
I'm running the Dungeons example successfully when testing Google Plays In Application Billing. But
I'm trying to implement in-app payment support in a BB application. Ok, I've read
Testing: return request.getCookies() == null; is not an appropriate way test. Is there another
Testing an application built with iphone's sdk 3.0. Based on experience, I know that
I have been using curl to get an xml response from a payment gateway
I'm using Braintree Transparent Redirect to take payment info and create subscriptions that are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.