Пікірлер
@Nachiappans-v2f
@Nachiappans-v2f 7 сағат бұрын
Failing on password decrypt step. kindly let me know How to pass SALT value in github action flow?
@QaAutomationAlchemist
@QaAutomationAlchemist 6 сағат бұрын
@@Nachiappans-v2f To securely use a variable like SALT in your GitHub Actions workflow, you should store it as a secret in your GitHub repository. GitHub Actions provides a way to manage secrets securely, preventing them from being exposed in logs. Here’s how you can store and use the SALT value in your workflow: Step 1: Add the SALT as a Secret in GitHub 1. Go to your GitHub repository. 2. Click on the Settings tab. 3. In the left sidebar, click on Secrets and variables, then click Actions. 4. Click the New repository secret button. 5. In the Name field, enter SALT. 6. In the Value field, enter your salt value. 7. Click Add secret. Step 2: Use the SALT in GitHub Actions Workflow Once the secret is set, you can access it in your GitHub Actions workflow as an environment variable. Here’s an example of how you might use the SALT in your workflow to encrypt passwords: name: Password Encryption Workflow on: push: branches: - main jobs: encrypt-passwords: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Encrypt passwords run: | echo "Encrypting password with SALT" encrypted_password=$(echo "$PASSWORD" | openssl enc -aes-256-cbc -salt -pass pass:$SALT) echo "Encrypted password: $encrypted_password" env: PASSWORD: ${{ secrets.PASSWORD }} SALT: ${{ secrets.SALT }} Key Points: • Secrets: SALT and PASSWORD are retrieved securely using ${{ secrets.SALT }} and ${{ secrets.PASSWORD }}. • Environment Variables: The secrets are passed as environment variables and accessed in the script. • Encryption: This example uses openssl to encrypt a password with the provided salt. By using GitHub secrets, the SALT value will remain secure throughout your GitHub Actions workflow, ensuring it is not exposed in logs or as plain text.
@bharathmayanna5328
@bharathmayanna5328 5 күн бұрын
Thanks
@ami60.42
@ami60.42 6 күн бұрын
he dont know how to teach so please ignore the playwright playlist and check other playwright channel
@vamshibachu9744
@vamshibachu9744 10 күн бұрын
found someone teaching the actual thing
@aabidhussaindar8034
@aabidhussaindar8034 20 күн бұрын
I have given the code but it is not working
@QaAutomationAlchemist
@QaAutomationAlchemist 17 күн бұрын
Check out the error line, remove any special characters such as brackets
@venkateshkumar7416
@venkateshkumar7416 Ай бұрын
How come path: authFile shows error
@Talaria.School
@Talaria.School Ай бұрын
Increase the font. It s not readable on mobile. Speak slowly for foreigner to allow them to understand.
@QaAutomationAlchemist
@QaAutomationAlchemist Ай бұрын
@@Talaria.School sure, thanks for the suggestion
@venkateshm5181
@venkateshm5181 Ай бұрын
Will it works for graphql, GPRC APIs aswell?
@QaAutomationAlchemist
@QaAutomationAlchemist Ай бұрын
Yes
@hariharanb7901
@hariharanb7901 Ай бұрын
bro, my api returning a array of object, object contains age, name, city attributes, i want to do json assertion , and want to make sure all the objects inside that array have the above three attributes in it, i am able to check one attribute presence using $.[*].age but i want to check all the three presence, how to do that?
@QaAutomationAlchemist
@QaAutomationAlchemist Ай бұрын
Thanks for question. You may try this Mastering API Response Validation with Pydantic: A Game Changer for QA Automation! kzbin.info/www/bejne/mIicZoqPjs6lfpY
@erprasannarayabagi
@erprasannarayabagi Ай бұрын
How to get xpath locators generated by default
@loveki5369
@loveki5369 Ай бұрын
Ssl hanshake issue while opening plugin manager, olzz help😢
@ShubhendraSingh-b2t
@ShubhendraSingh-b2t Ай бұрын
Just to add for Mac users, for .zsh terminal use the command - "export NODE_ENV=qa" to set the value and "echo $NODE_ENV" to see the current value. Now the test run will reflect the value qa for NODE_ENV.
@QaAutomationAlchemist
@QaAutomationAlchemist Ай бұрын
@@ShubhendraSingh-b2t thanks
@vishwaamk73
@vishwaamk73 Ай бұрын
Thanks for sharing the useful information. Now how we can setup project in our local repository. Please suggest
@QaAutomationAlchemist
@QaAutomationAlchemist Ай бұрын
Clone or download the repo
@vishwaamk73
@vishwaamk73 Ай бұрын
Nice video, any video on CI/CD pipeline.
@madhu14345
@madhu14345 Ай бұрын
Hi, Currently I'm watching your playlist called Playwright - Build Enterprise automation framework Here we are using a Salesforce account to login to the website After logging , it does not show the home page It's asking for email verification to type the verification code How to disable this verification?
@QaAutomationAlchemist
@QaAutomationAlchemist Ай бұрын
Thanks for your question **Use Trusted IP Ranges**: By adding your network's IP range to Salesforce's trusted IP ranges, users logging in from those IPs won't be prompted for verification codes. This is done under the **Network Access** settings in Salesforce.
@madhu14345
@madhu14345 Ай бұрын
@@QaAutomationAlchemist Thank you, will try that one
@madhu14345
@madhu14345 Ай бұрын
​@@QaAutomationAlchemist I have tried by adding my IP Address , but still facing that verification code I thought that its happening due to incognito and tried with normal browser instance , but its still asking OTP
@madhu14345
@madhu14345 2 ай бұрын
mkdir -p src/tests mkdir -p src/pages mkdir -p src/utils mkdir -p src/config mkdir -p src/api mkdir -p src/reporting mkdir -p src/logging mkdir -p src/data
@bharathmayanna5328
@bharathmayanna5328 2 ай бұрын
Thanks
@girishmohanas
@girishmohanas 2 ай бұрын
we should use ml , i think finding alternate is less effective
@sabataranum5128
@sabataranum5128 2 ай бұрын
Great series keep on the good work thanks
@polyconhousewares1187
@polyconhousewares1187 2 ай бұрын
🤗
@johnmalkovich2874
@johnmalkovich2874 2 ай бұрын
followed steps, but encrypted and decrypted files are 'undefined'...
@jonnakutisrikanth5618
@jonnakutisrikanth5618 2 ай бұрын
Nice Explanation.Great stuff ..Thank you
@red10-qh3qz
@red10-qh3qz 2 ай бұрын
Thank you. You were successful in finding the app packages and activities. However, there is one exception and I have a question. For the apps I see, there is a short splash activity, and then it turns into the main activity. I know there are many apps with this process, but how should I implement it in this case?
@VaibhavNagpal-j8q
@VaibhavNagpal-j8q 2 ай бұрын
Hi Ragavan, Is there any way we can compare 2 .csv files in Playwright using Typescript?
@QaAutomationAlchemist
@QaAutomationAlchemist 2 ай бұрын
Playwright is not actually for csv compare. You can try pandas from python. WinMerge, Beyond compare apps too. Or Excel addins
@prasadgovindraj8514
@prasadgovindraj8514 2 ай бұрын
How to get comments auto generated
@QaAutomationAlchemist
@QaAutomationAlchemist 2 ай бұрын
Currently it is removed
@prasadgovindraj8514
@prasadgovindraj8514 2 ай бұрын
@@QaAutomationAlchemist Thanks for your response
@SentiAier-et1kp
@SentiAier-et1kp 2 ай бұрын
I'm unable to find where you created the loginpage and homepage in the playlist . Please share link
@karanon6367
@karanon6367 2 ай бұрын
I wanted to know if we have test in different files and then also we need to do the same way and run the test serial wise what steps I needs to take
@AatishShegal
@AatishShegal 3 ай бұрын
@QA Automation Alchemist :- I have question regarding return page, in my project if a user is using valid cred it may lands on three pages depends on situation if user is new then it lands on fill mandatory fields, if new user's details are already filled it will lands on welcome Page, if user is old then it lands on homePage, how to handle this scenario, should i make three different function or whats is good way to do it.
@QaAutomationAlchemist
@QaAutomationAlchemist 3 ай бұрын
@@AatishShegal thanks for question. While returning page, logical check on fields which are required or which fields decide the type of next page. Based on if those fields has value, then return page. Even you use flags for different pages/flow.
@Renuk-e9f
@Renuk-e9f 3 ай бұрын
Awesome series. Can you please create a video for loactors inspect complex Salesforce application.
@QaAutomationAlchemist
@QaAutomationAlchemist 3 ай бұрын
Thanks, will try to do that
@learningneverends6674
@learningneverends6674 3 ай бұрын
This is not self healing.. this is one another technique of adding more locators for reliable.. but to get more locators u are spending extra time...Healenium will collect all the properties of locators on previous run. That is the best way ..
@prdp4747
@prdp4747 3 ай бұрын
Started following you in LinkedIn also. You doing an amazing job.
@QaAutomationAlchemist
@QaAutomationAlchemist 3 ай бұрын
Awesome, thank you!
@prdp4747
@prdp4747 3 ай бұрын
@QaAutomationAlchemist please let me know if you are planning to do BDD cucumber based framework for UI. Alot of content I saw on the youtube is half cooked. I love how you articulate it into live scenario.
@rajanikanthbathula7691
@rajanikanthbathula7691 3 ай бұрын
As the name suggests , it is the Enterprise Automation Framework. Thanks for your effort.
@Mrskumar-oj9zs
@Mrskumar-oj9zs 3 ай бұрын
Thanks for really sharing very useful information- awaiting more videos from you
@aparnausa3619
@aparnausa3619 3 ай бұрын
Hi sir, how to avoid creating page instances in every test in a single file in javascript
@AparnaKompella
@AparnaKompella 4 ай бұрын
what is "mkdir -p src/tests" -p does here ?
@QaAutomationAlchemist
@QaAutomationAlchemist 4 ай бұрын
- `mkdir`: This command stands for "make directory." - `-p`: This option stands for "parents." It instructs `mkdir` to create the parent directories as needed. If any of the directories in the path don't exist, they will be created. - `src/tests`: This is the directory path to be created. When you run `mkdir -p src/tests`, the system will create the directory `src` if it doesn't already exist, and inside `src`, it will create the `tests` directory. If both directories already exist, the command will do nothing and will not produce an error. This is useful for ensuring that a specific directory structure is present without having to manually check and create each directory level one by one.
@AparnaKompella
@AparnaKompella 4 ай бұрын
@@QaAutomationAlchemist thank you for explaining it thoroughly
@AparnaKompella
@AparnaKompella 4 ай бұрын
do you have playwright tutorial in javaScript ?
@QaAutomationAlchemist
@QaAutomationAlchemist 4 ай бұрын
As of now No, but strongly suggest typescript to have more advantages Using TypeScript in Playwright offers type safety, reducing runtime errors through compile-time checks. It enhances IDE support with features like autocompletion and real-time type checking, boosting productivity. Additionally, TypeScript's strong typing and object-oriented features improve code maintainability and clarity.
@AparnaKompella
@AparnaKompella 4 ай бұрын
@@QaAutomationAlchemist thank you for explaining why typescript is prefferred over javascript , that really helped to understand
@aparnausa3619
@aparnausa3619 4 ай бұрын
to copy the .md file
@aparnausa3619
@aparnausa3619 4 ай бұрын
could you please share us a git url of this framework
@QaAutomationAlchemist
@QaAutomationAlchemist 4 ай бұрын
It is in description
@aparnausa3619
@aparnausa3619 4 ай бұрын
npx playwright install command is not downloading anything on mac
@prdp4747
@prdp4747 4 ай бұрын
What is difference between git checkout master and git switch?
@QaAutomationAlchemist
@QaAutomationAlchemist 4 ай бұрын
git checkout branchName git switch branchName Both are same, latter one is recent way
@HumlaNenavath
@HumlaNenavath 4 ай бұрын
This is explained in detail but the correct way to crate the encrypt and decrypt steps is not clear
@BRZRKR-p6b
@BRZRKR-p6b 4 ай бұрын
Finally a tutorial that explains exactly what i need to know when moving from Cypress as an experienced TAE to a new framework such as Playwright .. everything on point with no peripheral "noise". Great work and thanks!
@peterhuan-sr5pd
@peterhuan-sr5pd 4 ай бұрын
test
@දේශියපුරවැසියා
@දේශියපුරවැසියා 4 ай бұрын
nice one.
@prdp4747
@prdp4747 4 ай бұрын
Hi bro. Appreciate the work. Please do entire git in one video. There big gap between 2 session so I will forget and continuity will be lost
@QaAutomationAlchemist
@QaAutomationAlchemist 4 ай бұрын
Need to plan and some of us overwhelmed by seeing all in single video. Idea is learn one thing and do practical then proceed. Thanks for sharing your thoughts
@Vijayalakshmi-t3b9g
@Vijayalakshmi-t3b9g 4 ай бұрын
It is a double work .we have to collect primary and alternate both. If code handle automatically that is the best way
@QaAutomationAlchemist
@QaAutomationAlchemist 4 ай бұрын
We could use plugins to find multiple locators as of now. Thanks for your idea.
@learnshare5265
@learnshare5265 4 ай бұрын
There is a library which can be utilised to fetch properties during execution.
@kumarraj989
@kumarraj989 2 ай бұрын
​@@learnshare5265could you suggest any please?
@yavuzerdogan1126
@yavuzerdogan1126 5 ай бұрын
Thanks
@johnrafaellim3200
@johnrafaellim3200 5 ай бұрын
Wow! I never knew about "--system" level. I might experiment this one. Thank you! Looking forward on the next session.
@QaAutomationAlchemist
@QaAutomationAlchemist 5 ай бұрын
Glad it was helpful!
@johnrafaellim3200
@johnrafaellim3200 5 ай бұрын
This is interesting!
@olganotoff6783
@olganotoff6783 5 ай бұрын
what is the difference if to use beforeEach clause?
@QaAutomationAlchemist
@QaAutomationAlchemist 5 ай бұрын
Custom fixtures are ideal for complex, reusable setup logic across multiple test files, ensuring isolated environments and efficient resource management. beforeEach is suitable for simpler, localized setups within a single test file. By leveraging both appropriately, you can create robust, maintainable, and efficient test suites.