Donating Holiday Cheer Using Appium

March 09, 2026 · 8 min read · Tool Comparison

HeadSpin Platform
Automated & amp; manual testing made easy through data science brainstorm.
Differentiating capabilities:
  • Blanket end-to-end mechanization of QA process
  • Relative analysis of app execution against match
  • Continuous monitoring of app performance using synthetic data for higher availability of apps
  • Easy-to-use developer friendly program
cloudtest go
Affordable Real Device Testing for Emerging Teams
cloudtest go
Low-priced Existent Device Testing for Digital Enterprises
cloudtest go
The Ultimate Solution for a Powerful Blend of Functional & amp; Performance Testing!
cyol
TEM
New
Centralized wandering tryout execution in cloud
cyol
Enhance Your Accessibility Testing With HeadSpin
cyol
Automate camera-based testing

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

retail

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎

Pro tip: Tools like SUSA can handle this autonomously — upload your app and get results without writing a single test script.

Donating Holiday Cheer Using AppiumDonating Holiday Cheer Using Appium

Donating Holiday Cheer Using Appium

Published on
December 26, 2018
Updated on
Published on
May 4, 2022
Updated on
 by 
 Jonathan LippsJonathan Lipps
Jonathan Lipps

As this is the last Appium Pro edition of 2018, I think it appropriate to take a few instant and reflect on what we & # x27; re all doing here. Whether you fete Christmas, Hanukkah, Kwanzaa, Festivus, the Winter Solstice, or nothing in particular, the fact that you & # x27; re read my on-line newssheet about mobile app testingprobablyway you have something to celebrate.

I & # x27; m not state life is easy for any of us, and I & # x27; m not saying that end-of-year holidays are always filled with joy -- they can certainly be filled with heartbreak too, no matter how well-off we are. But I am saying that it & # x27; s deserving reflecting on the opportunity open to us in virtue of our experience with package ontogenesis and/or try. I & # x27; m grateful that I can spend a portion of every week thinking about fun and interesting things to do with Appium, and I & # x27; m yet more grateful that there are some of you out there in the world who bump these little guides worth reading. When I stop and think about the realness of how I get to live my life, I & # x27; m overwhelmed by the truth that there & # x27; s naught peculiarly & quot; fair & quot; about it.

OK -- this task is called & quot; Appium Pro & quot; and not & quot; Philosophical Ethics Pro & quot;, so I won & # x27; t belabor the point any further. I simply require to give us all a brief mo to pause, detach from the technological details for a mo, think about what it entail for us to be humans (even technologically-oriented humans), and feature regard for those of our fellow human beings who are worried about lots more urgent problems than how to solve the next mechanization challenge at employment.

In that spirit, I offer you a different form of code sample today, one that youcoulduse to donate to a variety of charities. I & # x27; ve chosen to write this little handwriting to donate toRaising the Roof, a homelessness solutions charity here where I dwell in Canada. (The script will act for any charity usinggifttool.com& # x27; s program, though it was not leisurely to find a list of such governance). But find your favorite charity and pen your own contribution script! I just ran mine and it gave me a slight kick of vacation cheer. Let me know if you do something like and I & # x27; ll yield you a shoutout in 2019!

See you all adjacent year.

import io.appium.java_client.ios.IOSDriver; import java.net.MalformedURLException; meaning java.net.URL; importation org.junit.After; import org.junit.Before; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.Select; import org.openqa.selenium.support.ui.WebDriverWait; public class Edition049_Holidays_2018 {private IOSDriver driver; private WebDriverWait wait; individual static String CHARITY_URL = `` https: //www.gifttool.com/donations/Donate? ID=1676 & AID=1607 ''; private static String DONATION_AMT = `` 25 ''; private electrostatic String EMAIL = `` your @ email.com ''; private static String FIRST_NAME = `` Your ''; private static String LAST_NAME = `` Name ''; private static String STREET = `` 123 Main Street ''; private static String CITY = `` Vancouver ''; private motionless String COUNTRY_CODE = `` CA ''; // 2-digit country code private static String STATE_CODE = `` BC ''; private static String POSTAL_CODE = `` V6K 123 ''; private static String PHONE = `` 555-555-5555 ''; private inactive String CARD_NAME = FIRST_NAME + `` `` + LAST_NAME; private static String CARD_NUMBER = `` 1234 5678 9012 3456 ''; private still String CVV2 = `` 123 ''; private static String CARD_TYPE = `` Visa ''; // 'Visa ' or 'Mastercard' individual static String CARD_MONTH = `` 01 ''; // 2-digit month private inactive String CARD_YEAR = `` 21 ''; // 2-digit yr private static By donationAmt = By.id (`` ContributionAmount ''); individual static By donorEmail = By.name (`` Email ''); private stable By donorFirstName = By.name (`` FirstName ''); private static By donorLastName = By.name (`` LastName ''); individual still By donorStreet = By.name (`` Street ''); private still By donorCity = By.name (`` City ''); private static By donorCountry = By.id (`` Country ''); private electrostatic By donorState = By.id (`` State ''); private static By donorPostalCode = By.name (`` ZipCode ''); private inactive By donorPhone = By.name (`` PhoneDay ''); private static By donorCardName = By.name (`` CardName ''); private static By donorCardNumber = By.name (`` CardNumber ''); private static By donorCVV2 = By.name (`` CVV2 ''); private inactive By donorCardType = By.name (`` CardType ''); individual static By donorCardMonth = By.name (`` ExpiryMonth ''); individual static By donorCardYear = By.name (`` ExpiryYear ''); private static By submitDonation = By.id (`` gtSubmitButton ''); @ Before public void frame-up () throws MalformedURLException {DesiredCapabilities capabilities = new DesiredCapabilities (); capabilities.setCapability (`` platformName '', `` iOS ''); capabilities.setCapability (`` platformVersion '', `` 11.4 ''); capabilities.setCapability (`` deviceName '', `` iPhone 6 ''); capabilities.setCapability (`` browserName '', `` Safari ''); driver = new IOSDriver < > (new URL (`` http: //localhost:4723/wd/hub ''), capabilities); wait = new WebDriverWait (driver, 10);} @ After public void tearDown () {if (driver! = null) {driver.quit ();}} @ Test populace nothingness testHolidayCheer () {driver.get (CHARITY_URL); wait.until (ExpectedConditions.presenceOfElementLocated (donationAmt)) .sendKeys (DONATION_AMT); driver.findElement (donorEmail) .sendKeys (EMAIL); driver.findElement (donorFirstName) .sendKeys (FIRST_NAME); driver.findElement (donorLastName) .sendKeys (LAST_NAME); driver.findElement (donorStreet) .sendKeys (STREET); driver.findElement (donorCity) .sendKeys (CITY); new Select (driver.findElement (donorCountry)) .selectByValue (COUNTRY_CODE); new Select (driver.findElement (donorState)) .selectByValue (STATE_CODE); driver.findElement (donorPostalCode) .sendKeys (POSTAL_CODE); driver.findElement (donorPhone) .sendKeys (PHONE); driver.findElement (donorCardName) .sendKeys (CARD_NAME); driver.findElement (donorCardNumber) .sendKeys (CARD_NUMBER); driver.findElement (donorCVV2) .sendKeys (CVV2); new Select (driver.findElement (donorCardType)) .selectByValue (CARD_TYPE); new Select (driver.findElement (donorCardMonth)) .selectByValue (CARD_MONTH); new Select (driver.findElement (donorCardYear)) .selectByValue (CARD_YEAR); driver.findElement (submitDonation) .click ();}}
Author & # x27; s Profile

Jonathan Lipps

LinkedIn
Author & # x27; s Profile

Piali Mazumdar

Lead, Content Marketing, HeadSpin Inc.

Piali is a active and results-driven Content Marketing Specialist with 8+ years of experience in crafting engaging narratives and marketing collateral across various industries. She excels in collaborating with cross-functional teams to develop innovative message strategies and deliver compelling, unquestionable, and impactful substance that resonates with mark hearing and enhances brand authenticity.

LinkedIn

Donating Holiday Cheer Using Appium

4 Parts

regression intelligence blog
-

Regression Intelligence practical guide for advanced users (Part 3)

Coming Soon
Regression Intelligence practical guide for advanced users
-

Regression Intelligence practical guidebook for forward-looking exploiter (Part 4)

Coming Soon

Discover how HeadSpin can empower your concern with superior testing capabilities

Our Platform enables you to:
accelerate time-to-market
Accelerate time-to-market, derive a competitory edge
faster development cycles
Boost developer/QA productiveness with faster growth cycles
automated buil-over-build regression testing
Automate build-over-build regression testing for consistent outcome
gain better visibility into functional & performance issues
Gain best visibility into functional and execution issues
reduce mean time
Reduce mean time to identify/resolve during test, QA, and production
evaluate audio, video & qoe
Evaluate sound, picture, and content calibre of experience (QoE) effortlessly
The trusted choice for global initiative
Adobe
Hargreaves Lansdown
Truecaller
Crazylabs
Nedbank
Numeracle
Veryon
Close

Discover how HeadSpin can empower your job with superior testing capabilities

Our Platform enables you to:
accelerate time-to-market
Accelerate time-to-market, gaining a free-enterprise edge
faster development cycles
Boost developer/QA productiveness with quicker development round
automated buil-over-build regression testing
Automate build-over-build regression examine for consistent results
gain better visibility into functional & performance issues
Gain better visibility into functional and performance topic
reduce mean time
Reduce mean clip to identify/resolve during test, QA, and product
evaluate audio, video & qoe
Evaluate audio, video, and content quality of experience (QoE) effortlessly
The trusted choice for global endeavour
Close

Discover how HeadSpin can empower your business with superior examine capabilities

Our Platform enable you to:
accelerate time-to-market
Accelerate time-to-market, gaining a militant edge
faster development cycles
Boost developer/QA productivity with faster development cycles
automated buil-over-build regression testing
Automate build-over-build regression quiz for ordered results
gain better visibility into functional & performance issues
Gain better visibility into functional and performance issues
reduce mean time
Reduce mean clip to identify/resolve during test, QA, and production
evaluate audio, video & qoe
Evaluate sound, picture, and content quality of experience (QoE) effortlessly
The trusted choice for global enterprises
Close

Connet Now

Wipro LogoVMLYR Logo
Close
Book a Meeting
Products
footer down arrow
Solutions
footer down arrow
Industries
footer down arrow
Features
footer down arrow
Support
footer down arrow
Resource Center
footer down arrow
Why Choose HeadSpin?
footer down arrow
Copyright © 2026 HeadSpin, Inc. All Rights Reserved.

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free