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

Need more info about GOOGLE_APPLICATION_CREDENTIALS #13

Closed jabir366 closed 5 months ago

jabir366 commented 8 months ago

It would be better if more specific information is given about the GOOGLE_APPLICATION_CREDENTIALS. The doubt that I have is.

jabir366 commented 8 months ago

I had to change python to python3 in the subprocess call . now the app.py is not crashing . but it repeatedly leading to invalid captcha error. any clue on this?

rsksh commented 8 months ago

It would be better if more specific information is given about the GOOGLE_APPLICATION_CREDENTIALS.

Hi @shivamguys It will be better to provide more detailed complete set-up steps for the first time user.

shivamguys commented 8 months ago

I was thinking of eliminating this GOOGLE_APPLICATION_CREDENTIALS , many of you are not able to understand this bunch or setting up i know they haven't provided easy UI to get things out

jabir366 commented 8 months ago

There are some pre-requisite I think we need to add to the readme

Nav0410 commented 7 months ago

plzz provide a detailed video to use the code for a beginer

shivamguys commented 7 months ago

plzz provide a detailed video to use the code for a beginner @Nav0410 What about having a website where you can add Tatkal details and just pay for it and get your tickets straight away.??? Note-> I am thining of this to have it in a website feature.... As many newbies won't know how to run this bunch or set it up not familiar with techniques for setting up smoothly...

Nav0410 commented 7 months ago

It will be very usefull

Nav0410 commented 7 months ago

Is there any way to get in touch with You

shivamguys commented 7 months ago

we can have a screen share meeting schedule... @Nav0410

Nav0410 commented 7 months ago

I successfully made a booking through code for 2 passengers, even when the available tatkal quota is 8. Thank you soo much for the code bro, it's working well. Kindly tell me the procedure to book for a single passenger. Some error was showing while booking for single passenger.

shivamguys commented 7 months ago

Ohhh great you can share the time taken to book the tickets. Glad to know that thanks, Is it so as many people are reporting error in single passenger let me have a look in to that and i will fix it

Nav0410 commented 7 months ago

With in 1 min 10 secs, I made a booking, how I can send u that report bro

On Sun, 4 Feb, 2024, 12:00 pm Shivam Pandey :-), @.***> wrote:

Ohhh great you can share the time taken to book the tickets. Glad to know that thanks, Is it so as many people are reporting error in single passenger let me have a look in to that and i will fix it

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

shivamguys commented 7 months ago

@Nav0410 you can share the screenshot in discussion group i will be glad to have this data.... You can hide all passengers information just show time taken etc... make sure you explain what you did example at what time you opened the script at what time you were prepared to book the tickets etc Thats fast by the way bro thanks a lot for using this

Nav0410 commented 7 months ago

Screenshot 2024-02-04 120651 Today i made tatkal booking for 2 people even when the tatkal quota seats available is only 8 seats for that train i have modified the passenger details in passenger-data.json and username and password in cypress.env.json file i started the test run at 10.59.35 ms and the ticket got confirmed with in 1.57sec Thank you so much bro the code. plzz fix the code to book for single passenger and more than 2 passengers.

shivamguys commented 7 months ago

@Nav0410 Here is the test video i just checked for more than 2 passenger have you pulled the latest code ??

Test Video

shivamguys commented 7 months ago

@Nav0410 kindly pull the latest code and then send me the exact error you are getting....

Nav0410 commented 7 months ago

I have taken the latest code , but I didn't try for more than 2 passengers, when I have tried for single passenger, it was showing an error

On Sun, 4 Feb, 2024, 1:10 pm Shivam Pandey :-), @.***> wrote:

@Nav0410 https://github.com/Nav0410 Here is the test video i just checked for more than 2 passenger have you pulled the latest code ??

Test Video https://cloud.cypress.io/projects/7afdkj/runs/15/test-results/5cd7175a-ee1b-4ee3-8843-36d76fde52f3/video?actions=%5B%5D&browsers=%5B%5D&groups=%5B%5D&isFlaky=%5B%5D&modificationDateRange=%7B%22startDate%22%3A%221970-01-01%22%2C%22endDate%22%3A%222038-01-19%22%7D&orderBy=EXECUTION_ORDER&oses=%5B%5D&specs=%5B%5D&statuses=%5B%5D&testingTypesEnum=%5B%5D

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

shivamguys commented 7 months ago

@Nav0410

this is for single passenger isn't causing any error single passenger test video

Nav0410 commented 7 months ago

In the passenger list , should I need to remove second passenger details or should I need to change the code

On Sun, 4 Feb, 2024, 1:37 pm Shivam Pandey :-), @.***> wrote:

@Nav0410 https://github.com/Nav0410

this is for single passenger isn't causing any error single passenger test video https://cloud.cypress.io/projects/7afdkj/runs/14/test-results/33e7392b-20eb-4651-bc2d-37a492f8cdb4/video?actions=%5B%5D&browsers=%5B%5D&groups=%5B%5D&isFlaky=%5B%5D&modificationDateRange=%7B%22startDate%22%3A%221970-01-01%22%2C%22endDate%22%3A%222038-01-19%22%7D&orderBy=EXECUTION_ORDER&oses=%5B%5D&specs=%5B%5D&statuses=%5B%5D&testingTypesEnum=%5B%5D

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

shivamguys commented 7 months ago

Just remove second passenger details.... No need to touch the code only passengerdetails.json @Nav0410

Nav0410 commented 7 months ago

I'm getting this error when I remove the passenger details

On Sun, 4 Feb, 2024, 2:26 pm Shivam Pandey :-), @.***> wrote:

Just remove second passenger details.... No need to touch the code only passengerdetails.json @Nav0410 https://github.com/Nav0410

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

shivamguys commented 7 months ago

What's the error? @Nav0410

Nav0410 commented 7 months ago

While filling the passenger details , I got the error

On Sun, 4 Feb, 2024, 2:38 pm Shivam Pandey :-), @.***> wrote:

What's the error? @Nav0410 https://github.com/Nav0410

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

Nav0410 commented 7 months ago

Can u plzz guide me here , how to go ahead

On Sun, 4 Feb, 2024, 2:38 pm na veen, @.***> wrote:

While filling the passenger details , I got the error

On Sun, 4 Feb, 2024, 2:38 pm Shivam Pandey :-), @.***> wrote:

What's the error? @Nav0410 https://github.com/Nav0410

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

shivamguys commented 7 months ago

But share me the error i can't see anything ??? @Nav0410

Nav0410 commented 7 months ago

This is the error I'm getting

On Sun, 4 Feb, 2024, 2:39 pm na veen, @.***> wrote:

Can u plzz guide me here , how to go ahead

On Sun, 4 Feb, 2024, 2:38 pm na veen, @.***> wrote:

While filling the passenger details , I got the error

On Sun, 4 Feb, 2024, 2:38 pm Shivam Pandey :-), @.***> wrote:

What's the error? @Nav0410 https://github.com/Nav0410

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

Nav0410 commented 7 months ago

Did I made any mistake in removing the passenger name?

On Sun, 4 Feb, 2024, 2:41 pm na veen, @.***> wrote:

This is the error I'm getting

On Sun, 4 Feb, 2024, 2:39 pm na veen, @.***> wrote:

Can u plzz guide me here , how to go ahead

On Sun, 4 Feb, 2024, 2:38 pm na veen, @.***> wrote:

While filling the passenger details , I got the error

On Sun, 4 Feb, 2024, 2:38 pm Shivam Pandey :-), < @.***> wrote:

What's the error? @Nav0410 https://github.com/Nav0410

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

shivamguys commented 7 months ago

Bro stop replying from email i cannot see any error you are posting @Nav0410

Nav0410 commented 7 months ago

How to contact you bro WhatsApp or instagram

On Sun, 4 Feb, 2024, 2:49 pm Shivam Pandey :-), @.***> wrote:

Bro stop replying from email i cannot see any error you are posting @Nav0410 https://github.com/Nav0410

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

shivamguys commented 5 months ago

added some info in readme now