shivamguys / irctc-cypress-automation

Tatkal and Normal train Booking Automation in 1 Minute ✔️ Signing in with your username and password. ✔️ Auto Upgradation Enabled. ✔️ Filling Captchas and retrying untill success. ✔️ Support for Food Choices, Seats Preferences. ✔️ Payment Gateway Automation (Paying With UPI ID OR QR Code).
92 stars 142 forks source link

[WIP] Add several improvements to booking #3

Closed drtechie closed 10 months ago

drtechie commented 10 months ago

Cypress

CAPTCHA server

Misc

shivamguys commented 10 months ago

Thanks A Lot Man, for the improvements and Typos 😁 By the way did you tried how fast is the Booking Time...? Your Experience.... I will merge this once i am back home in a few hours.....

drtechie commented 10 months ago

@shivamguys I haven't booked a real ticket yet. I reached the payment QR code.

At 10 AM and 11 AM, the servers behave very erratically. The entry and selection is definitely faster than a human being. I would say 80% of the time, the automation works fine.

Sometimes the source station selection results are slow, the script gets stuck. CAPTCHA entries are a hit or miss sometimes. Google misses some obvious ones.

I realized I had to handle the FOOD scenario better. Some trains don't have it and some do.

Please don't merge this now. Marking the PR as WIP.

shivamguys commented 10 months ago

yes, Irctc servers are way too messy during Tatkal times. I was thinking of scheduling the script daily at 10 and 11 to get better data and everything would be recorded in Cypress dashboards....

drtechie commented 10 months ago

@shivamguys do check the PR. I have added a condition to handle food scenario.

Scheduling script is a nice idea. It will be better to pass the script at the payment selection page if it's running under Cypress dashboard environment.

shivamguys commented 10 months ago

Have merged it. Would be scheduling it standalone...

On Wed, 25 Oct, 2023, 2:08 pm Mithun James, @.***> wrote:

@shivamguys https://github.com/shivamguys do check the PR. I have added a condition to handle food scenario.

Scheduling script is a nice idea. It will be better to pass the script at the payment selection page if it's running under Cypress dashboard environment.

— Reply to this email directly, view it on GitHub https://github.com/shivamguys/irctc-cypress-automation/pull/3#issuecomment-1778785931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGAX65IVXIJMQCQN6QYGZ4TYBDFZDAVCNFSM6AAAAAA6KBPC56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYG44DKOJTGE . You are receiving this because you were mentioned.Message ID: @.***>