- 1 186
- 71 976 678
Automation Step by Step
India
Registrace 2. 01. 2016
Simple Basic Beginners Step-by-Step tutorials ❤️
I create videos on Automation, Testing, DevOps, CI and related tools, technologies and platform
Raghav is a teacher and founder of AutomationStepByStep.com
He was an Automation Architect and has led multiple teams of Automation and DevOps Engineers. For over a decade, Raghav witnessed, worked, and delivered multiple Automation Testing Projects and worked with some awesome people in this industry
► automationstepbystep.com/
Some topics covered:
- Jenkins
- JMeter
- Selenium
- Appium
- Cypress
- Playwright
- Katalon Studio
- API Testing
- Postman
- Docker
- Kubernetes
- Other DevOps topics
Words from Raghav
We often need someone to hold our hand and help us take the first few steps before we learn to walk and run. I am on a mission to spread education and make it available to anyone willing to learn
Never Stop Learning
Raghav
All education here is FREE FOR ALL, FOREVER
Share with as many people as you can in your lifetime
I create videos on Automation, Testing, DevOps, CI and related tools, technologies and platform
Raghav is a teacher and founder of AutomationStepByStep.com
He was an Automation Architect and has led multiple teams of Automation and DevOps Engineers. For over a decade, Raghav witnessed, worked, and delivered multiple Automation Testing Projects and worked with some awesome people in this industry
► automationstepbystep.com/
Some topics covered:
- Jenkins
- JMeter
- Selenium
- Appium
- Cypress
- Playwright
- Katalon Studio
- API Testing
- Postman
- Docker
- Kubernetes
- Other DevOps topics
Words from Raghav
We often need someone to hold our hand and help us take the first few steps before we learn to walk and run. I am on a mission to spread education and make it available to anyone willing to learn
Never Stop Learning
Raghav
All education here is FREE FOR ALL, FOREVER
Share with as many people as you can in your lifetime
Terraform complete course | Step by Step for Beginners
Timestamps ▬▬▬
00:00 Introduction
03:14 What is IaC
07:56 What is Terraform
11:31 Install Terraform
12:01 How to install Terraform on Windows
20:49 How to install Terraform on Mac OS
39:21 How to install Terraform on Linux
43:25 Create Terraform project
52:16 Create Configuration file e.g. main.tf
52:49 Decide a provider & mention in config file
1:06:41 Run commands terraform init terraform validate
1:13:02 Add infrastructure details in config file, Run terraform fmt
1:22:44 Run terraform init
1:23:34 Run terraform plan
1:28:26 Run terraform apply
1:33:41 Verify terraform show
1:35:50 terraform.tfstate file
1:37:17 Delete terraform destroy
1:41:01 Summary for Terraform basics
1:41:41 Intro to next steps
1:43:04 Terraform Variables variables.tf terraform.tfvars
1:56:39 Terraform Output outputs.tf
2:03:02 Terraform Modules
2:19:26 Manage Environments using folders
2:22:11 Manage Environments using Workspaces
2:35:55 Terraform Project Structure
2:38:31 Summary
Notes - docs.google.com/document/d/e/2PACX-1vRw6zcMfrLtyZAeGqmPofQUM2XmsHS2w0BG84WDO5fCZD_AU9C77V-GkYAHMJ2o-Hr3qkm2DKkpfABN/pub
Quiz - forms.gle/qE5HSSckE4WcyuGP9
Terraform Demo Project 1 - github.com/Raghav-Pal/TerraformDemo1
Terraform Demo Project 2 (workspaces) - github.com/Raghav-Pal/Terraform-workspace-demo
All Free Tutorials 🟢 AutomationStepByStep.com/
▬▬▬▬▬▬▬
Share with all who may need this
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav
▬▬▬
00:00 Introduction
03:14 What is IaC
07:56 What is Terraform
11:31 Install Terraform
12:01 How to install Terraform on Windows
20:49 How to install Terraform on Mac OS
39:21 How to install Terraform on Linux
43:25 Create Terraform project
52:16 Create Configuration file e.g. main.tf
52:49 Decide a provider & mention in config file
1:06:41 Run commands terraform init terraform validate
1:13:02 Add infrastructure details in config file, Run terraform fmt
1:22:44 Run terraform init
1:23:34 Run terraform plan
1:28:26 Run terraform apply
1:33:41 Verify terraform show
1:35:50 terraform.tfstate file
1:37:17 Delete terraform destroy
1:41:01 Summary for Terraform basics
1:41:41 Intro to next steps
1:43:04 Terraform Variables variables.tf terraform.tfvars
1:56:39 Terraform Output outputs.tf
2:03:02 Terraform Modules
2:19:26 Manage Environments using folders
2:22:11 Manage Environments using Workspaces
2:35:55 Terraform Project Structure
2:38:31 Summary
Notes - docs.google.com/document/d/e/2PACX-1vRw6zcMfrLtyZAeGqmPofQUM2XmsHS2w0BG84WDO5fCZD_AU9C77V-GkYAHMJ2o-Hr3qkm2DKkpfABN/pub
Quiz - forms.gle/qE5HSSckE4WcyuGP9
Terraform Demo Project 1 - github.com/Raghav-Pal/TerraformDemo1
Terraform Demo Project 2 (workspaces) - github.com/Raghav-Pal/Terraform-workspace-demo
All Free Tutorials 🟢 AutomationStepByStep.com/
▬▬▬▬▬▬▬
Share with all who may need this
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav
▬▬▬
zhlédnutí: 3 309
Video
8 | Appium Step by Step | Complete iOS Testing setup
zhlédnutí 1,6KPřed 21 dnem
00:00 Introduction 01:38 Topics 04:17 Check Requirements 06:11 Install Xcode & Xcode command-line tools 12:30 Check iOS simulators 16:32 Install Appium & appium doctor 24:18 Check what is missing on your system appium-doctor ios 26:08 Install Appium ios Driver (XCUITEST) 32:31 Get the app file (.app or .ipa) or bundleId 39:34 Run a session with Appium Inspector 42:16 Get Desired Capabilities Ad...
7 | Appium Step by Step | Complete Hands On DEMO and Recording with Appium Inspector
zhlédnutí 1,9KPřed 28 dny
00:00 Introduction 01:27 Start Appium 03:17 Start Appium Inspector 04:52 Add appium session details in Session Builder 07:04 Get desired capabilities for real mobile device 18:54 Get desired capabilities for virtual device (Emulator) 23:31 Add desired capabilities and start session of Appium Inspector 24:28 Appium Inspector home screen - Session Inspector 29:10 Screenshot Panel 34:10 Source Tab...
6 | Appium Step by Step | How to setup and use Appium Inspector
zhlédnutí 2,4KPřed měsícem
Setup and Start Appium Inspector 00:00 Intro 00:47 What we will learn 02:05 Download and install Appium Inspector github.com/appium/appium-inspector OR Use web version: inspector.appiumpro.com/ 08:45 : Start Appium Inspector As we have not yet started appium server you will get error message 09:14 Start appium server by running command appium If you are using the web version of Appium Inspector...
5 | Appium Step by Step | Android Real Device Setup for Automation
zhlédnutí 1,6KPřed měsícem
00:00 Intro 00:54 Step 1 : Open mobile device 01:20 Step 2 : Goto settings > About phone Tap on Build No or Software version 7 time to become a developer 03:30 Settings > Developer Options > Enable USB Debugging 04:38 Step 3 : Attach phone to the system (laptop/desktop) with cable 05:03 Step 4 : If you get prompt to enable USB Debugging, allow it 05:12 Step 5 : Run command adb devices 07:40 Get...
4 | Appium Step by Step | How to create Android Virtual Device
zhlédnutí 2KPřed měsícem
Android Virtual Device (AVD) Setup for Automation 00:00 Intro 00:56 How to create and start AVD (emulator) with Android Studio GUI App 02:17 On Android Studio goto Virtual Device Manager > Create new virtual device 03:18 Select device configuration and hardware (name, RAM, storage etc.) 13:31 Check the emulator is available in Device Manager (Device manager will show all connected devices, virt...
3 | Appium Step by Step | Complete Setup for Android Mobile Testing using Android Studio
zhlédnutí 2,3KPřed měsícem
00:00 Intro 00:29 What we covered in the last session 02:39 Download and setup Android Studio on windows and mac os developer.android.com/studio 10:23 Download and setup SDK Tools using Android Studio SDK Manager SDK Platforms: Select the desired Android API levels you want to target for your tests. You can choose multiple versions SDK Tools: Choose the platform-tools, build-tools, emulators et...
2 | Appium Step by Step | Complete Setup for Android Mobile Testing without using Android Studio
zhlédnutí 3,6KPřed měsícem
Topics: 00:00 Intro 01:12 What we will learn 03:23 Check missing dependencies on the system 08:59 Setup Java JDK 13:21 Windows - Set Java env variables 17:18 Mac OS - Set Java env variables 24:58 Install Appium android drivers 30:04 Setting up Android SDK Tools 30:48 Option 1 : Download and setup only the required tools without using Android Studio 32:49 Windows - Download cmdline-tools and set...
1 | Appium Step by Step | Basic Setup on Windows and Mac OS
zhlédnutí 7KPřed 2 měsíci
All Free Tutorials 🟢 AutomationStepByStep.com/ All Parts - czcams.com/play/PLhW3qG5bs-L8BQaqLpjt5792e8om6IR3k.html APPIUM 2 Changes From appium 2.x onwards, the communication will happen over w3c protocol Appium drivers are maintained separately, so need to install on a need basis Introduced appium plugins, so different communities or individuals can create code blocks to add/alter certain appi...
Create unlimited free apis for testing or mocking
zhlédnutí 2,1KPřed 2 měsíci
Use this tool to create unlimited number of APIs with your own data This can be used for mocking, testing or development purposes It is free faux-api.com/ All Free Tutorials 🟢 AutomationStepByStep.com/ Create free apis for testing api mocking free and open-source create unlimited apis for testing create and host your own apis create your own api server ▬▬▬▬▬▬▬ Share with all who may need this I...
Testim Beginner Tutorial 3 | Top Features of Testim with DEMO
zhlédnutí 2,4KPřed 2 měsíci
Testim - shorturl.at/kT245 What will we learn today: GUI tour Features of Testim platform with DEMO - Insights: view the project’s dashboard and reports - Editor: create new tests and edit existing tests in the visual editor - Test List: see all the tests, suites, labels, and shared steps - Runs: view results of recent runs, see scheduled runs and run configurations - Auto-grouping: can combine...
Gatling Maven Project Setup Demo | Command Line Runs
zhlédnutí 1,1KPřed 2 měsíci
All Free Tutorials 🟢 AutomationStepByStep.com/ How to setup maven project (java & scala) How to run maven commands How to run specific test simulation How to run multiple test simulation Gatling Maven Project Setup Step 1 - Check Prerequisites java -version mvn -version Step 2 - On IntelliJ IDE Go to File > New > Project from Version Control Paste the repository URL Java - github.com/gatling/ga...
Gatling Step by Step Masterclass | Part 5
zhlédnutí 774Před 2 měsíci
00:00 Intro 00:56 What is Correlation (Chaining) 02:38 Demo of Correlation in Gatling 10:52 How to use Correlation in Gatling Scripts 14:32 How to use Regular Expression 28:20 How to run maven commands 32:30 How to run specific test simulation 34:39 How to run multiple test simulation 37:04 Assertions 40:58 Assertions scope 47:37 Gatling with VCS and CI Tools 49:28 Gatling Enterprise 01:11:11 B...
Gatling Step by Step Masterclass | Part 4
zhlédnutí 842Před 3 měsíci
00:00 Intro 00:40 Add new class for API Testing 05:45 3 basic parts of Gatling simulation script 07:51 GET API scenario setup 19:59 POST API scenario setup 29:24 Refer POST API body from a file 35:18 PUT API scenario setup 38:41 DELETE API scenario setup 41:20 Feeders (Parameterization) 41:51 Feeders demo 48:15 Feeders strategy 58:18 Running actual request with Feeders 01:07:04 Summary and next...
Gatling Step by Step Masterclass | Part 3
zhlédnutí 801Před 3 měsíci
All Free Tutorials 🟢 AutomationStepByStep.com/ 00:00 Intro 01:24 Simulation Script 02:48 Parts of Simulation Script 10:18 How to create isolated resuable modules 16:55 Divide scenario into smaller modules 23:37 Define scenario using reusable modules 32:56 Virtual users setup 42:34 Next steps What is Simulation in Gatling Simulation is the description of the load test written in script Can be wr...
Gatling Step by Step Masterclass | Part 2
zhlédnutí 1,2KPřed 3 měsíci
Gatling Step by Step Masterclass | Part 2
Gatling Step by Step Masterclass | Part 1
zhlédnutí 2,5KPřed 3 měsíci
Gatling Step by Step Masterclass | Part 1
Gatling Beginners Tutorial | Correlation | Dynamic Referencing
zhlédnutí 1KPřed 3 měsíci
Gatling Beginners Tutorial | Correlation | Dynamic Referencing
What are environment variables How do they work
zhlédnutí 2,8KPřed 4 měsíci
What are environment variables How do they work
HOW TO SWITCH JAVA VERSION and SET JAVA_HOME PATH ON MAC OS M1 M2
zhlédnutí 10KPřed 5 měsíci
HOW TO SWITCH JAVA VERSION and SET JAVA_HOME PATH ON MAC OS M1 M2
#AskRaghav | Selenium Roadmap for Beginners
zhlédnutí 7KPřed 5 měsíci
#AskRaghav | Selenium Roadmap for Beginners
#AskRaghav | 4 Scenario based Mobile Testing Interview Ques
zhlédnutí 2,5KPřed 6 měsíci
#AskRaghav | 4 Scenario based Mobile Testing Interview Ques
#AskRaghav | 4 Scenario based Selenium Interview Ques
zhlédnutí 2,7KPřed 6 měsíci
#AskRaghav | 4 Scenario based Selenium Interview Ques
#AskRaghav | 4 Scenario based interview Ques | Performance Testing
zhlédnutí 2KPřed 6 měsíci
#AskRaghav | 4 Scenario based interview Ques | Performance Testing
#AskRaghav | 4 Scenario based interview Ques
zhlédnutí 1,7KPřed 7 měsíci
#AskRaghav | 4 Scenario based interview Ques
#AskRaghav | Template for ROI Calculation for Automation Testing
zhlédnutí 2KPřed 7 měsíci
#AskRaghav | Template for ROI Calculation for Automation Testing
TestCafe | 3 | Actions - Part 2 | Step-by-Step for Beginners
zhlédnutí 2,3KPřed 7 měsíci
TestCafe | 3 | Actions - Part 2 | Step-by-Step for Beginners
TestCafe | 2 | Actions - Part 1 | Step-by-Step for Beginners
zhlédnutí 2,5KPřed 7 měsíci
TestCafe | 2 | Actions - Part 1 | Step-by-Step for Beginners
TestCafe | 1 | Getting Started | Step-by-Step for Beginners
zhlédnutí 6KPřed 7 měsíci
TestCafe | 1 | Getting Started | Step-by-Step for Beginners
Can you add a video on How to search in website please I can't find that , I need to perform a search so the step should show GET request
Hi Raghav, I need help please how can I send a GET request on Website, I tried using "Record Controller" but I see POST request , is there a video on how to search on website using a unique ID please send here, greatly appreciated and very thankful for your hard work on this JMeter training
Much appreciate with some simple but to-the-point examples! You are a really good teacher!
Glad it was helpful
Thank you so much
Most welcome Tài
Sir can please upload your latest automation courses of 2024.. It woul be really helpful you explain in very easy way..
I will do
@@RaghavPal thankyou so much sir Along with that please give tips and tricks of how to find locater in easy way.. Currently all your gems are either is on CZcams and other is on udemy Can you please combine java+Automation+ frame work You explanation concepts is very easy then other instructors honestly.. I watch you framework of selnium it really clear my concepts in very easy way.. Please upload at earliest if possible sir.. you are a gems and a life saver...
@@RaghavPal give best tools as well for automation, your tool esry is not available at the moment
please upload selenium automation frame with java 2024 version
I will plan on this
raghav sir can please upload updated online courses of selenium you explanation is very easy
Sure.. pls check here - automationstepbystep.com/
has this been also deleted? i cannot see this?
What exactly
if my Mac is old(2012)visrion 10.15.7 and the lastest Eclispse requires version 11.0.0 up, what can i do?
Let's address this step by step: 1. Eclipse Requirements: - The latest Eclipse version requires Java 11 or higher - You can download Eclipse from their official website. 2. Java 11 on macOS: - Unfortunately, macOS 10.15.7 (Catalina) does not officially support Java 11. - However, you have a few options: - Install AdoptOpenJDK: You can manually install AdoptOpenJDK 11 (an open-source distribution of Java) on your Mac. It's not officially supported, but it should work. - Upgrade macOS: Consider upgrading your macOS to a version that supports Java 11 or higher. macOS Big Sur (11.0) or later versions are compatible with Java 11. - Use Docker: If you're comfortable with containers, you can run Eclipse inside a Docker container that has Java 11 installed 3. Eclipse Collections 11.0.0: - If you're specifically interested in Eclipse Collections, version 11.0.0 was released recently - Eclipse Collections is a powerful open-source collections library for Java, compatible with standard Java collections. Remember to back up your data before making any major changes to your system. If you choose to upgrade macOS or install AdoptOpenJDK, ensure compatibility with your existing software --
Thank you.
Most welcome
This was an informative session. Thank you for sharing your knowledge and experience.
Most welcome Harsh
Thank you for the detailed sessions. You explained 2 installations "Install using npm package" and "Install using VS code extension" , what the difference is between?
Suman Let's explore the difference between installing Playwright using the npm package and using the VS Code extension: 1. Install Using npm Package: - Functionality: When you install Playwright via npm (`npm install -D @playwright/test@latest`), it adds Playwright as a development dependency to your project. - Usage: You can import Playwright in your test scripts and use it directly within your project. - Browser Binaries: You'll need to download browser binaries and their dependencies separately using `npx playwright install --with-deps`. - Project Scope: Limited to the specific project where you installed it. 2. Install Using VS Code Extension: - Functionality: The Playwright VS Code extension includes a recent copy of the `@playwright/test` npm package. - Usage: If you don't have Playwright installed via npm in your project, the extension uses its internal copy of Playwright. - Browser Binaries: The extension handles browser binaries automatically. - Project Scope: Available globally within VS Code for all projects. In summary, both methods work, but the extension simplifies setup and provides a global Playwright instance within VS Code. Choose based on your project's needs --
What screen editing tool are you using? You are SO smooth. Excellent tutorial!
I generally use mac tools
@@RaghavPal Thank you for responding! I have been overdosing on your videos! Top notch!
Hi Raghav!!! I'm a system administrator with 3 years of experience. If I move to cyber security, will it be a good option?
Transitioning from system administration to cybersecurity can be a rewarding choice. Here are some considerations: 1. Growing Field: Cybersecurity is in high demand due to increasing threats and data breaches. Organizations need experts to protect their systems and data 2. Skill Set: Your sysadmin experience provides a solid foundation. Focus on learning security concepts, tools, and practices. Areas to explore include network security, ethical hacking, and incident response 3. Certifications: Obtain relevant certifications (e.g., CompTIA Security+, Certified Information Systems Security Professional (CISSP), Certified Ethical Hacker (CEH)) to enhance your credentials 4. Roles: Cybersecurity offers diverse roles: - Security Analyst: Monitor and analyze security incidents. - Penetration Tester: Ethically hack systems to find vulnerabilities - Security Engineer: Design and implement security solutions. - Incident Responder: Handle security incidents. 5. Challenges: Cybersecurity can be intense and requires continuous learning. Staying updated is crucial. 6. Salary: Salaries in cybersecurity are competitive. Experienced professionals often earn well. Remember, passion and curiosity drive success in this field. If you're interested in protecting digital assets and enjoy problem-solving, cybersecurity could be an excellent fit --
Thank you very much for the great informative video which really helped me in my learning
Most welcome Alexandria
Raghav you Explained very very good thankyou raghav you are real person to save maximum number of strugged people
Thanks a lot Rajendra.. humbled
Some company decide which programming language u have to use and what tool to use for automation testing...
Bella If there is some specific tool, language or platform used by your company.. you can learn the same. Else in general you can find the current popular tools, languages and platforms and learn them
what's the difference between 'Page factory' and 'By txt_username=By.is(.....);' in identifying the element.
Juli Let's explore the difference between Page Object Model (POM) and Page Factory in Selenium for identifying web elements: 1. Page Object Model (POM): - Design Pattern: POM creates an object repository for storing web elements. - Class Structure: Each web page is represented as a separate class file. - Advantages: - Easy Maintenance: When UI elements change, POM helps identify the specific page or screen to modify. - Code Reusability: Test code for one screen can be reused in other test cases. - Readability and Reliability: Independent Java files for each screen allow efficient code changes. - Implementation: - Define a separate Java class for each page/screen. - Include UI elements and operations specific to that page. - Use these classes to perform actions on the website under test. 2. Page Factory: - Class Provided by Selenium WebDriver: Page Factory supports Page Object Design patterns. - @FindBy Annotation: Instead of using `FindElement` or `FindElements`, Page Factory uses the `@FindBy` annotation. - Implementation: - Annotate web elements using `@FindBy`. - Initialize web elements using the `initElements` method. - Descriptive annotations make it easier to locate and declare web elements. In summary, POM focuses on organizing web elements into separate classes, while Page Factory simplifies element initialization using annotations. Both approaches enhance test case maintenance and readability. Choose the one that best suits your project needs --
can i test without second device? just by emulator?
Yes, you can Razan
how can i find type and properties list?
Emre Based on what i infer from your query.. In JSON Schema, you can define the type of a schema and specify its properties. Let's break it down: 1. Data Types: - JSON Schema defines several basic data types: - String: Represents text values. - Number: Includes both integers and floating-point numbers. - Object: Represents structured data with key-value pairs. - Array: Contains an ordered list of values. - Boolean: Represents true or false. - Null: Represents the absence of a value. 2. Example Schema: Here's a simple example of a JSON Schema that defines an object with a single property: ```json { "$schema": "json-schema.org/draft-04/schema", "title": "Product", "description": "A product from Acme's catalog", "type": "object", "properties": { "id": { "description": "The unique identifier for a product", "type": "integer" } }, "required": ["id"] } ``` In this schema: - The type is set to "object." - The "id" property is of type "integer." 3. Property Constraints: - You can add constraints to properties using keywords like `minimum`, `maximum`, `pattern`, and more. - For example, you can specify a numeric range for a property or require certain properties to be present. Remember to adapt these concepts to your specific use case --
@@RaghavPal Thank you, it was very descriptive.
I am getting this error while running npx playwright test command. 1) [chromium] › example.spec.ts:10:5 › get started link ────────────────────────────────────────── Error: browserType.launch: spawn EPERM
Pawan The error message you're encountering-`Error: browserType.launch: spawn EPERM`-indicates a permissions issue when launching Chromium. Let's explore some potential solutions: 1. Permissions Issue: - Ensure that the user running the `npx playwright test` command has the necessary permissions to execute processes. - If you're on Windows, try running the terminal as an administrator. 2. Browsers Installation: - Make sure you've installed the browsers required by Playwright. You can do this by running: ``` npx playwright install ``` - If you're using a custom installation path for browsers, set the `PLAYWRIGHT_BROWSERS_PATH` environment variable to point to the correct location. For example: ``` export PLAYWRIGHT_BROWSERS_PATH=/path/to/your/browsers ``` 3. Docker Image Version (if applicable): - If you're using Playwright within a Docker container, consider pinning your Docker image to a specific Playwright version. For example: ``` docker pull mcr.microsoft.com/playwright:v1.20.0-focal ``` 4. Use @playwright/test: - You don't need to have both `playwright` and `jest` installed. `@playwright/test` is sufficient for running Playwright tests. - Remove any unnecessary installations of `playwright` or `jest`. Remember to adapt these solutions based on your specific environment and requirements --
❤
Thanks
No can do anymore.
ok.. let me know if you faced any issues
401 Comments
Great
Thank you for sharing your knowledge and experience.
Glad it was helpful Harsh
when i hit go it just refreshes the page
Ahsan, it may be down or some backend issue. You can try other options. Here are some options for creating free MySQL databases online that you can use for testing and demo purposes: 1. DB Fiddle: An online SQL database playground where you can test, debug, and share SQL snippets. It's great for experimenting with queries 2. OneCompiler's MySQL Online Editor: Write, compile, debug, run, and test MySQL queries online using OneCompiler 3. db4free.net: Create an account for free and test your applications. It's useful for ensuring your apps work after a MySQL version update and for learning new features --
Hi Ragav, Thank you for the awesome video. I'm encountering an error and could use your help: " C:\Users\sabhyata>sdkmanager --list 'sdkmanager' is not recognized as an internal or external command, operable program or batch file." I've followed all the previous steps. Can you please let me know how to fix this? Thanks
also i have tried the bellow step Microsoft Windows [Version 10.0.22631.3672] (c) Microsoft Corporation. All rights reserved. E:\android\cmdline-tools\latest\bin>sdkmanager --list Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0 E:\android\cmdline-tools\latest\bin>
Aman It seems you're encountering a couple of issues related to the Android SDK and `sdkmanager`. Let's address them step by step: 1. 'sdkmanager' is not recognized as an internal or external command: - This error occurs when the system cannot find the `sdkmanager` executable in your system's PATH. - To fix this, you need to add the correct path to the Android SDK tools directory to your system's environment variables. - Follow these steps: - Right-click on "My Computer" (or "This PC") and select "Properties." - Click on "Advanced system settings." - In the "Advanced" tab, click on the "Environment Variables" button. - Under "System variables," find the "Path" variable and click "Edit." - Add the path to your Android SDK tools directory (usually something like `C:\Users\<your_username>\AppData\Local\Android\sdk\tools\bin`). - Make sure to separate multiple paths with semicolons. - Click "OK" to save the changes. - Open a new Command Prompt window and try running `sdkmanager --list` again. 2. Java Runtime Version Error: - The second error indicates that the `SdkManagerCli` class has been compiled with a newer version of Java than the one installed on your system. - You'll need to ensure that you have the correct Java version installed. - Follow these steps: - Make sure you have the latest JDK (Java Development Kit) installed on your system. - Set the `JAVA_HOME` environment variable to point to the JDK installation directory. - Update your system's PATH variable to include the `bin` directory of the JDK. - Restart your Command Prompt and try running `sdkmanager --list` again. Remember to replace `<your_username>` with your actual Windows username --
The most comprehensive teaching about API. I love your teaching style. Thank you so much!
You're very welcome Janine
Very very helpful, Thanks Raghav.
Most welcome Sunil
Thankyou very much sir
Most welcome Satyam
Can you make a video with typescript codegen?
I will plan.. but will take some time. Let's get you started with Playwright and TypeScript. Here's a step-by-step guide: 1. Install Node.js and npm: Make sure you have Node.js and npm (Node Package Manager) installed on your system. 2. Create a New Project: Open your terminal or command prompt and create a new directory for your Playwright project. Navigate to that directory: ```bash mkdir my-playwright-project cd my-playwright-project ``` 3. Initialize a New Node.js Project: Run the following command to create a `package.json` file: ```bash npm init -y ``` 4. Install Playwright and TypeScript: Install Playwright and TypeScript as development dependencies: ```bash npm install playwright typescript --save-dev ``` 5. Create a TypeScript Configuration File: Create a `tsconfig.json` file in your project directory: ```bash npx tsc --init ``` 6. Write Your First Test: Create a new TypeScript file (e.g., `my-test.ts`) in your project directory. In this file, import Playwright and write your test code. For example: ```typescript import { chromium, Browser, Page } from 'playwright'; describe('My First Playwright Test', () => { let browser: Browser; let page: Page; beforeAll(async () => { browser = await chromium.launch(); page = await browser.newPage(); }); afterAll(async () => { await browser.close(); }); it('should navigate to a website and assert title', async () => { await page.goto('example.com'); const title = await page.title(); expect(title).toBe('Example Domain'); }); }); ``` 7. Run Your Test: Compile your TypeScript code using: ```bash npx tsc ``` Then run your test using: ```bash npx jest my-test.js ``` 8. Generate Tests with Codegen (Optional): Playwright comes with a test generator that can create tests based on your interactions with a website. To use it, follow these steps: - Install the VS Code extension for Playwright. - Record your actions in the browser using the extension. - The extension will generate test code directly in VS Code. - You can also generate assertions for visibility, text, and value. - For more details, refer to the official Playwright documentation That's it! You're all set to write and run Playwright tests with TypeScript. Happy testing --
Thank You
Most welcome
Suddenly they expired my account without any prior information
cannot say.. check if its for some limited time..
@@RaghavPal they haven't mentioned anything on their website. Also they are not replying on email and tickets
You can try other options. Here are some options for creating free MySQL databases online that you can use for testing and demo purposes: 1. DB Fiddle: An online SQL database playground where you can test, debug, and share SQL snippets. It's great for experimenting with queries 2. OneCompiler's MySQL Online Editor: Write, compile, debug, run, and test MySQL queries online using OneCompiler 3. db4free.net: Create an account for free and test your applications. It's useful for ensuring your apps work after a MySQL version update and for learning new features --
You can try other options. Here are some options for creating free MySQL databases online that you can use for testing and demo purposes: 1. DB Fiddle: An online SQL database playground where you can test, debug, and share SQL snippets. It's great for experimenting with queries 2. OneCompiler's MySQL Online Editor: Write, compile, debug, run, and test MySQL queries online using OneCompiler 3. db4free.net: Create an account for free and test your applications. It's useful for ensuring your apps work after a MySQL version update and for learning new features --
Thanks for the course, I believe log4j integration would be cherry on top.
Thanks Nandan, sure, I have done log4j in selenium java.. if you need can get the steps from there
much needed , thanks
You're welcome Ashish
Thank you for your effort!! Great work 👌
Most welcome Marija
Hi Raghav, could you please let me know what is End-to-End testing testing for a user story and how can we write an E2E tests as a manual tester?
Ashish End-to-End (E2E) testing is a comprehensive approach that evaluates the entire software system by simulating real-world user scenarios from start to finish. Here's what you need to know: 1. What is E2E Testing? - E2E testing ensures that the application works as expected from the end user's perspective - It covers the entire workflow, including the user interface, backend services, databases, and network communication - The goal is to validate overall behavior, functionality, reliability, performance, and security. 2. Writing E2E Tests as a Manual Tester: - Identify test scenarios: Understand the user stories and identify the critical scenarios. - Map the steps in each scenario: Break down the user flow into specific steps. - Perform manual testing: Execute the steps manually to verify functionality. - Automate the tests: Once you've validated the manual steps, consider automating them using testing tools or frameworks. - Add your tests to the continuous integration (CI) pipeline for regular execution Remember, E2E testing helps ensure that your application behaves correctly across different layers and interfaces, providing a seamless experience for users --
@@RaghavPal Thank you so much for such a detailed explanation. Thanks a lot on guiding on how to write and perform E2E testing as a manual and automation tester, this really helps me a lot in understanding E2E testing in a broader way.
Great video, even after five years! I believe they have helped many users.
Great to hear that.. so happy and humbled
Thanks for sharing.
Most welcome Harsh
Thanks for sharing.
Most welcome
Thanks!
Thanks a lot
I have only one word for you public class Main { public static void main(String[] args) { String s = "Amazing"; System.out.print(s); } } -------------------------- output : Amazing
Thanks a lot Rahul.. humbled
One of the greatest thing and I like the second most thing from Raghav Pal is adding the notes in the description. The first thing I love the most is his explanation of topics made the learning at ease and less stressful. This is very useful for a reason. Than you Raghav Pal for contributing the knowledge to others. Keep doing the good work sir
Thanks a ton Ramana..thanks for your kind words. humbled
Sir, how to resolve errors in pom. Xml, iam getting sun jar tools error, please make video on error resolving also.
Bhagyashree If you're encountering the "Missing Artifact com.sun:tools:jar" error in your `pom.xml`, here are some steps to resolve it: 1. Ensure JDK Installation: - Make sure you have a JDK (Java Development Kit) installed, not just a JRE (Java Runtime Environment). The JDK includes tools like `javac` and `jar`, which are needed during the build process. - Configure Maven to use the installed JDK by setting the `JAVA_HOME` environment variable to the JDK path. 2. Check Maven Dependencies: - Open your project's `pom.xml`. - Look for any dependencies that might require `com.sun.java.tools`. For example, some libraries or plugins might rely on it. - If you find such a dependency, ensure it's correctly specified in your `pom.xml`. 3. Exclude Tools.jar: - If you've identified a problematic dependency, you can exclude `tools.jar` from it. - Locate the dependency in your `pom.xml`. - Add an exclusion for `com.sun:tools:jar` within that dependency. Here's an example of how to exclude `tools.jar` from a dependency: ```xml <dependency> <groupId>your.group.id</groupId> <artifactId>your-artifact-id</artifactId> <version>your-version</version> <!-- Other configuration --> <exclusions> <exclusion> <groupId>com.sun</groupId> <artifactId>tools</artifactId> </exclusion> </exclusions> </dependency> ``` 4. Reload Project: - If you're using an IDE like Eclipse, IntelliJ, or VS Code, reload the project after making changes to the `pom.xml`. - Sometimes, IDEs cache dependencies, and a reload ensures they pick up the changes. Remember to adjust the specifics according to your project setup --
is expense tracker using java ee with jdbc connectivity a good project to add in resume for interview in top mnc companies like tcs, hexaware etc..
Selva An Expense Tracker project using Java EE with JDBC connectivity can be a valuable addition to your resume. Here's why: 1. Relevance: Expense tracking is a common requirement for individuals and businesses. Demonstrating your ability to create an efficient expense tracker shows practical skills that align with real-world scenarios. 2. Technical Skills Showcase: - Java EE: Employers value knowledge of Java EE (Enterprise Edition) for building robust, scalable applications. - JDBC Connectivity: Understanding how to connect to databases using JDBC is crucial for data-driven applications. 3. Database Interaction: Expense trackers involve database operations (like saving expenses, querying data, etc.). Your project demonstrates proficiency in handling databases. 4. Problem Solving: Implementing features like adding expenses, categorizing them, and searching efficiently showcases your problem-solving abilities. 5. Interview Talking Points: - Discuss the architecture, design patterns, and trade-offs you made. - Explain how you handled security (e.g., preventing SQL injection). - Describe any additional features you implemented (e.g., reporting, user authentication). Remember to emphasize your learning process, challenges faced, and how you overcame them during interviews Additionally, consider exploring open-source projects related to expense tracking to enhance your skills Good luck --
Sorry for the inconvenience....that was my mistake ... actually I forgotten that Karate provides step defination itself
okay.. no worries Harshada
Awesome video. thanks for the clear explanation.
Most welcome
Hello Raghav Da, Thanks for this amazing tutorial. I could follow most of it without any problem but facing a bit of issue when calling the loginpage class in my logintest. So when ever I am creating an object of that class it is throwing error because of the parameters called. Its says the parameter is unrecognized. When looking for the suggestions I am getting the parameter as "driver=". I am not sure what should be the value of the driver, what should I put after equals sign.. when calling it in the test class, can you please help? Thank you so much. Binita
Binita When working with the Page Object Model (POM) in Selenium Python, you need to pass the WebDriver instance (the browser driver) to your page classes. Let’s address this issue: 1. Passing WebDriver to Page Classes: - In POM, each page class should have a `WebDriver` object as a class member. This allows you to interact with web elements on that page. - You can pass the `WebDriver` instance as a parameter to the constructor of your page class. 2. Example Implementation: - Suppose you have a `LoginPage` class. Here's how you can pass the `driver` to it: ```python from selenium import webdriver class LoginPage: def __init__(self, driver): self.driver = driver # Other page elements and methods go here # Usage in your test class: driver = webdriver.Chrome() # Initialize your WebDriver (e.g., Chrome, Firefox, etc.) login_page = LoginPage(driver) # Create an instance of LoginPage ``` 3. Page Factory (Optional): - If you're using Page Factory (a part of POM), you can simplify this further: ```python from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class LoginPage: def __init__(self, driver): self.driver = driver # Initialize page elements using @FindBy annotations # Usage in your test class: driver = webdriver.Chrome() login_page = LoginPage(driver) ``` Remember to adjust the class name (`LoginPage` in this example) to match your actual page class --
Hi Raghav I was getting an error for web kit like below..version 1.44.1 Running 6 tests using 6 workers 1) [webkit] › example.spec.js:4:1 › has title ──────────────────────────────────────────────────── Error: browserContext.newPage: Target page, context or browser has been closed 2) [webkit] › example.spec.js:11:1 › get started link ──────────────────────────────────────────── Error: browserContext.newPage: Target page, context or browser has been closed 2 failed [webkit] › example.spec.js:4:1 › has title ───────────────────────────────────────────────────── [webkit] › example.spec.js:11:1 › get started link ───────────────────────────────────────────── 4 passed (9.0s), out of 6 only 4 are passed
Ramya The error you're encountering with Playwright and WebKit-specifically, the "Error: browserContext.newPage: Target page, context, or browser has been closed"-can be tricky to troubleshoot. Let's explore some potential solutions: 1. Browser Context Lifecycle: - This error often occurs when a browser context or page is closed prematurely. Ensure that you're managing browser contexts correctly. - Make sure you're not closing a context or page before attempting to use it in subsequent steps. 2. Webkit-Specific Issues: - WebKit might have specific quirks or limitations. Consider checking the Playwright documentation for any known issues related to WebKit. - Update Playwright to the latest version. Sometimes, newer versions include fixes for specific browser-related problems. 3. Network Idle vs. DOMContentLoaded: - You mentioned using `networkIdle` for Chrome. Try using `domcontentloaded` instead for WebKit. - WebKit might behave differently during page navigation events. Adjust the wait strategy accordingly. 4. Headless Mode: - You mentioned running the tests in headless mode. Try running them without headless mode to see if the issue persists. - If the issue disappears, it might be related to headless mode in WebKit. 5. Debugging: - Add logging statements to your test steps. Print messages before and after each navigation action to see where the issue occurs. - Use `console.log` or similar methods to track the flow of your test. 6. Playwright Updates: - Ensure you're using the latest version of Playwright. Run `npm install -D @playwright/test@latest` to update. - Check the release notes for any browser-specific fixes. Remember that debugging browser automation can be challenging, but systematically narrowing down the issue will help you find a solution. Good luck --
Well presented and informative, even to the untrained this video is very useful. Thank you so much for sharing
Most welcome Keith