#22 - Automatic Login (No need to write Login Steps) in Playwright - Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 35

  • @Daniel-zq7nx
    @Daniel-zq7nx 2 ปีที่แล้ว +3

    Thank you for your respsonse and dedication to what you are doing to the testing community, you are the man 🙏

  • @caseworker746
    @caseworker746 2 ปีที่แล้ว +1

    The playlist is very good Naveen. The concept of no login would not work if the token/session has an expiry. If the applications use the mechanism of short lived tokens, then we need to login again

    • @vijenderreddychityala6325
      @vijenderreddychityala6325 10 หลายเดือนก่อน

      @caseworker746 I have the same query .Did you find any way for this ?

  • @Daniel-zq7nx
    @Daniel-zq7nx 2 ปีที่แล้ว +1

    awesome, we can use it inside Before annotation so no need to log in every time for each test case

  • @omkarbyale
    @omkarbyale ปีที่แล้ว

    Thank you Naveen, it really helped me

  • @bharatibelgaonkar5387
    @bharatibelgaonkar5387 8 หลายเดือนก่อน

    @naveen - can we create and keep this .json file only once or do we need to create this at every session level? I mean every run?

  • @aruns5896
    @aruns5896 2 ปีที่แล้ว +1

    Thanks Naveen. Nice video. If the login page having 'verify your identity' and text message in mobile number, after given the number it will login. How to handle?

  • @chintulovers
    @chintulovers 2 ปีที่แล้ว

    Hi @Naveen AutomationLabs whether it will work on Static OTP Login as well

  • @Puneetsamaiya
    @Puneetsamaiya 2 ปีที่แล้ว

    Hello Naveen, Is it possible to do this in selenium ??

  • @kaidouz7756
    @kaidouz7756 2 ปีที่แล้ว

    1. Whats the better way to protect this json file with context?
    2. Also same can be applied to browser plugins, so that the next time when we open chromium the plugin will be loaded and logged in?

  • @jaygandhi1132
    @jaygandhi1132 ปีที่แล้ว

    Hi Naveen
    How to Access local storage and save tokens?

  • @John1996-q5d
    @John1996-q5d 2 ปีที่แล้ว +1

    Hi bro !
    1) Could you please do a video on future of automation testing and software testing so many Developers and testers are coverting to Data science in recent times
    2) is there any chance that sofware testing will be replaced with some other technologies in the future
    3)Could you please differentiate wt will be the future and salary growth in Software testing vs data science which has more growth
    4)As a software tester i would like to be work in testing field and i would also like to know is data science better than sofware testing( it it is then i will switch my carreer to data science ) .................Please reply sir your answer is much needed for me !

  • @rishikeshmishra3264
    @rishikeshmishra3264 ปีที่แล้ว +1

    I tried same steps but not working for me

  • @yaswanthj9223
    @yaswanthj9223 2 ปีที่แล้ว

    Hi Naveen I saw all your vedios java, api, playwright it's awesome can we do this auto login selenium + java

  • @pcrch5858
    @pcrch5858 2 ปีที่แล้ว

    In My Application, I have to login every time its saving details in json file when i called that json file in another class it's asking again credentials it's not login automatically. What is the reason behind that.

  • @sanketchandure5212
    @sanketchandure5212 2 ปีที่แล้ว

    please suggest another website for test

  • @singh07neeraj
    @singh07neeraj 8 หลายเดือนก่อน

    How to incease the session timeout as it is working for 4-5 test case after that Login screen started coming it means session is getting expired , I have more then 200 test case which run around 2 hours How to use it so that the session should not get expired

  • @sankaranarayanan5700
    @sankaranarayanan5700 ปีที่แล้ว

    Hi Naveen,
    Can you please make a video on Selenium how to bypass or reuse login please

  • @harishgovankop50
    @harishgovankop50 ปีที่แล้ว

    Sir how to do the same using js?

  • @himz9832
    @himz9832 ปีที่แล้ว

    i'm confused if combine with my hooks & cucumber step

  • @mayurkhobragade4291
    @mayurkhobragade4291 ปีที่แล้ว

    Hi Naveen, It worked for me for the first time but once I logged out from the automated browser manually and then tried it is not working.

  • @Daniel-zq7nx
    @Daniel-zq7nx 2 ปีที่แล้ว +2

    we eagerly waiting for page object and cucumber implementations 🙏

    • @naveenautomationlabs
      @naveenautomationlabs  2 ปีที่แล้ว +1

      Wait for one more week

    • @Yasser-hq1xo
      @Yasser-hq1xo ปีที่แล้ว

      @@naveenautomationlabs did you already implement it?is that with Playwright? I can't find the video

  • @kulsoomfatima5301
    @kulsoomfatima5301 2 ปีที่แล้ว

    Please make the tutorials using POM in playwright

  • @meghana1229
    @meghana1229 2 ปีที่แล้ว

    Can you please show the same in POM tutorial

  • @tutupolijjohanferdian9155
    @tutupolijjohanferdian9155 ปีที่แล้ว

    Could you share the full syntax code for this case using javascript in visual studio code?

  • @surreshr8916
    @surreshr8916 2 ปีที่แล้ว +1

    This really awesome and we appreciate your hard work... I have one doubt sir after learn playwright is there any job opportunities are there? In next 2 to 5 years ?.

  • @Rajeevkk-kc3el
    @Rajeevkk-kc3el 2 ปีที่แล้ว

    Great Video Naveen... Got 2 questions
    1. How to handle the scenario, the session is created and stored in json file and the password got changed after that
    2. How to use this concept for login to application with multiple users

    • @IsmailHossain-dz5nt
      @IsmailHossain-dz5nt 2 ปีที่แล้ว

      Disclaimer: I haven't tried these solutions but I'm assuming this is how we can resolve them:
      1. If the password has changed, that json file is no longer valid. You will have to redo the brContext.storageStep() step to update the file and then use the updated file to proceed with your logins.
      2. For multiple users, you will have to run the brContext.storageStep() step once for each user and by using different file names. Then you should be able to specify which user's session you want to use for login by fetching the appropriate file.

  • @MadhuChandra-m5y
    @MadhuChandra-m5y 5 หลายเดือนก่อน

    How to Check that my password is masked when i'm typing using playwright java ( like when i type password - letters should change to * or . etc.. ) need to check this scenario

  • @maheshpathrikar5212
    @maheshpathrikar5212 2 ปีที่แล้ว +1

    👍👍👍👍