LambdaTest
LambdaTest
  • 804
  • 3 585 821
How to Setup Runtime Environment with HyperExecute
A quick demo of setting up a Run Time Environment with HyperExecute to streamline your testing process. Start FREE testing: accounts.lambdatest.com/register?CZcams&Organic&Apr26&.com/video/HMmyus2d8Hs/video.html&LT_Sign_Up.
📢Learn how to set up a Run Time Environment with HyperExecute. The 𝘳𝘶𝘯𝘵𝘪𝘮𝘦 flag in HyperExecute allows you to configure your tests to run in an environment that precisely matches the languages and frameworks your application depends on.
📍𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤: github.com/john190501/hyp-matrix-mode
🗏 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐃𝐨𝐜: www.lambdatest.com/support/docs/deep-dive-into-hyperexecute-yaml/#runtime
𝐃𝐨𝐰𝐧𝐥𝐨𝐚𝐝 𝐇𝐲𝐩𝐞𝐫𝐄𝐱𝐞𝐜𝐮𝐭𝐞 𝐂𝐋𝐈 𝐟𝐨𝐫 𝐃𝐢𝐟𝐟𝐞𝐫𝐞𝐧𝐭 𝐎𝐒 :
Windows: downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe
macOS: downloads.lambdatest.com/hyperexecute/darwin/hyperexecute
Linux: downloads.lambdatest.com/hyperexecute/linux/hyperexecute
𝐕𝐢𝐝𝐞𝐨 𝐂𝐡𝐚𝐩𝐭𝐞𝐫𝐬 👀
00:00 Introduction
00:25 Demo
02:57 Closing Words
➡ How does the 𝘳𝘶𝘯𝘵𝘪𝘮𝘦 flag in HyperExecute work?
The 𝘳𝘶𝘯𝘵𝘪𝘮𝘦 flag in HyperExecute configures the testing environment by specifying the desired programming language and framework. This flag streamlines the entire test automation process by allowing you to configure a customized runtime environment that matches your project’s specific requirements.
𝐑𝐞𝐥𝐚𝐭𝐞𝐝 𝐕𝐢𝐝𝐞𝐨𝐬 🎥
➡ LambdaTest AI-Powered Features of HyperExecute:
czcams.com/video/-8QmdSjxL0A/video.html
𝐑𝐞𝐥𝐚𝐭𝐞𝐝 𝐁𝐥𝐨𝐠𝐬 📝
➡ Accelerate Your Real Device Testing via HyperExecute Parallelization: bit.ly/44fmrXQ
➡ Live With HyperExecute: Next-Gen Selenium Testing Cloud: bit.ly/3y15F2o
➡ Webinar: Test Orchestration using HyperExecute: bit.ly/3KjSSMj
Sign Up for LambdaTest! It’s FREE 🙌
LambdaTest is an AI-powered test orchestration and execution platform that allows you to perform both manual and automated testing across 3000+ environments, making it a top choice among other cloud testing platforms:
accounts.lambdatest.com/register?CZcams&Organic&Apr26&.com/video/HMmyus2d8Hs/video.html&LT_Sign_Up_2
For questions, support@lambdatest.com 😃
𝐄𝐱𝐩𝐥𝐨𝐫𝐞:
🎬 Most Recent Videos: bit.ly/3PRAPyo
📝 Blog: bit.ly/3yGVsUc
🎓 Learning Hub: bit.ly/3fr6l4Z
🎥 LambdaTest Customers: bit.ly/2TB7pvD
🚀 Webinars: bit.ly/37i41co
🛠️ Product Updates: bit.ly/3717NGO
💬 LambdaTest Certifications: bit.ly/3XwW0b0
𝐂𝐨𝐧𝐧𝐞𝐜𝐭 𝐰𝐢𝐭𝐡 𝐋𝐚𝐦𝐛𝐝𝐚𝐓𝐞𝐬𝐭:
👥 COMMUNITY: bit.ly/3Aiz5oO
🛠️ CZcams: bit.ly/3rH2Yfh
🌎 LINKEDIN: bit.ly/3xA6F84
👥 FACEBOOK: bit.ly/37mbQOa
🐦TWITTER: bit.ly/3Cn0g3A
🖼️ GITHUB: bit.ly/3jowfYs
🔴 NEWSLETTER: bit.ly/3juhxzc
📸 PINTEREST: bit.ly/2VCXI05
#runtime #lambdatestyourapps #runtimefeature #hyperexecute #runtimeenvironmentsetup #testatscale #hyperexecuteruntimeenvironmentsetup #runtimeflag
Disclaimer:
This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to © 2024 LambdaTest. Any illegal reproduction of this content will result in immediate legal action.
zhlédnutí: 74

Video

Enhance Test Reliability with LambdaTest Auto Healing
zhlédnutí 98Před 7 hodinami
Watch this quick demo to learn how the LambdaTest Auto Healing feature seamlessly refines the test automation process. Start FREE testing: accounts.lambdatest.com/register?CZcams&Organic&Apr25&UyMJZHDhbbo<_Sign_Up 📢Join us for a quick overview of how to use the LambdaTest Auto Healing feature. Learn how this feature can help you overcome test flakiness in your Selenium tests, enhancing the re...
From Brainwave to Inbox: Avo's Whimsical Adventure through AI-Powered Test Automation | XP Series
zhlédnutí 92Před 9 hodinami
📢Don't miss the latest episode of the LambdaTest Experience (XP) Series. This episode features 𝐌𝐚𝐧𝐢𝐬𝐡 𝐉𝐡𝐚, Senior Director - Product Head, Avo Automation. Watch the session to explore the fascinating journey of Avo Automation, an AI-powered codeless test automation platform. To get started with LambdaTest, start FREE testing now: accounts.lambdatest.com/register?CZcams&Organic&Apr25&IjN2vOutaA&...
The Future is AI | Voices Of Community: Ep XV | LambdaTest Webinar
zhlédnutí 199Před 9 hodinami
Here we are, with another episode of Voices of Community! Watch the session and get insights into this trendy topic. Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr24&MKu8<_Sign_Up 📢 Dive in as 𝐉𝐚𝐬𝐨𝐧 𝐀𝐫𝐛𝐨𝐧, CEO, Checkie.AI, joins host 𝐌𝐚𝐧𝐨𝐣 𝐊𝐮𝐦𝐚𝐫, VP-Developer Relations, LambdaTest to deep dive into the session on “Future is AI”. He explains how AI is getting better at...
Master Design Patterns in 6 Hours⏰ | Complete Design Patterns Tutorial | LambdaTest
zhlédnutí 422Před 12 hodinami
Curious about Design Patterns? Boost your design skills with our comprehensive 6 hours video tutorial! Start FREE testing: accounts.lambdatest.com/register?CZcams&Organic&Apr23&ZgZ52M<_Sign_Up In this complete Design Patterns Tutorial for beginners, 𝑨𝒏𝒕𝒐𝒏 𝑨𝒏𝒈𝒆𝒍𝒐𝒗 (@𝒂𝒏𝒈𝒆𝒍𝒐𝒗𝒔𝒕𝒂𝒏𝒕𝒐𝒏), Co-founder & CTO of Automate The Planet Ltd. expertly guides you through the world of design patterns and key to...
What is Quality-Driven Development (QDD) | LambdaTest
zhlédnutí 93Před 14 hodinami
🚀 Watch the video to learn what is quality-driven development! Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr22&Fl3YwKsPY<_Sign_Up ✔️What is Quality-Driven Development (QDD)? Quality-Driven Development (QDD) is a software development methodology that emphasizes the importance of quality from the very beginning of the development process. It is designed to ensure that ...
How to Apply Timeout to The Class? | LambdaTest
zhlédnutí 90Před 21 hodinou
🚀 Watch the video to learn how to apply timeout to the class! Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr19&VnLk<_Sign_Up ✔️How can you apply a timeout to an entire class in testing? To apply a timeout to an entire class, you can use the @Timeout annotation at the class level in JUnit 5. This sets a specific duration limit for all test methods within the class to c...
What Are Different Selenium Wait Methods | LambdaTest
zhlédnutí 138Před 21 hodinou
🚀 Watch the video to learn about different Selenium wait methods! Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr19&ZH7aF5YMYI<_Sign_Up ✔️Types of Selenium Wait Methods? Implicit Wait Explicit Wait Fluent Wait 𝐕𝐢𝐝𝐞𝐨 𝐂𝐡𝐚𝐩𝐭𝐞𝐫𝐬 👀 00:00 Introduction 00:04 Selenium wait methods 01:28 Closing 𝐖𝐚𝐭𝐜𝐡 𝐭𝐡𝐞 𝐟𝐮𝐥𝐥 𝐯𝐢𝐝𝐞𝐨 ➡️czcams.com/video/GynGLO4EOfc/video.html 𝐑𝐞𝐥𝐚𝐭𝐞𝐝 𝐁𝐥𝐨𝐠𝐬📝 ✔️ Se...
VOC | The Future is AI | Webinar Teaser | LambdaTest
zhlédnutí 44Před dnem
Catch us for another exciting episode of Voices of Community as we explore “The Future is AI ”. Don't miss out on this trendy topic! Register now: www.lambdatest.com/webinar/the-future-is-ai 📢Join 𝐉𝐚𝐬𝐨𝐧 𝐀𝐫𝐛𝐨𝐧, CEO Checkie.AI, in conversation with the host 𝐌𝐚𝐧𝐨𝐣 𝐊𝐮𝐦𝐚𝐫, VP-Developer Relations, LambdaTest. In this edition, Jason will navigate the realities and macro trends of Generative AI in soft...
What's New In LambdaTest💻 | Product Update Announcement March 2024
zhlédnutí 80Před dnem
Every month at LambdaTest, we develop new features and updates to elevate your web and mobile testing experience. Check out the enhancements for March, which include the LambdaTest Accessibility DevTools Chrome extension, HyperExecute enhancements, real device analytics, and more. Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr16&Az5aBMJ1fDk<_Sign_Up 𝐕𝐢𝐝𝐞𝐨 𝐂𝐡𝐚𝐩𝐭𝐞𝐫𝐬 👀 0...
Ensure Inclusivity For All Users With Accessibility DevTools Chrome Extension
zhlédnutí 76Před dnem
Watch this video to unlock the power of LambdaTest Accessibility DevTools Chrome Extension. Start FREE testing: accounts.lambdatest.com/register?CZcams&Organic&Apr16&DHV3NnnOzE<_Sign_Up 📢 Join us for a quick overview of accessing and using LambdaTest Accessibility DevTools Chrome Extension. Powered by Axe-core, discover how this Chrome extension empowers you to pinpoint and rectify web access...
What is JUnit 5? | LambdaTest
zhlédnutí 69Před dnem
🚀 Watch the video to learn what is JUnit 5! Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr15&AHeQntGPCHE<_Sign_Up ✔️What is JUnit 5? JUnit 5 is the fifth major release of the JUnit framework, a widely used testing framework in the Java development environment. It represents a significant update to the framework, introducing new features and architectural improvements ...
Role of Artificial Intelligence (AI) in Software Testing | LambdaTest
zhlédnutí 282Před 14 dny
🚀Watch this video to explore the role of Artificial Intelligence (AI) in transforming software testing! Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr10&SSF_Z0FypJc<_Sign_Up ✔️How can AI be utilized for effective test generation in software testing? AI enhances test generation in software testing by automating the creation of test cases and optimizing test suites. It ...
Builder Design Pattern Explained 🔄 | LambdaTest
zhlédnutí 258Před 14 dny
Watch this video to learn about the Builder Design Pattern. Start FREE Testing: accounts.lambdatest.com/register?CZcams&Organic&Apr08&OC9sDqs<_Sign_Up 📢 Join 𝑨𝒏𝒕𝒐𝒏 𝑨𝒏𝒈𝒆𝒍𝒐𝒗 (@𝒂𝒏𝒈𝒆𝒍𝒐𝒗𝒔𝒕𝒂𝒏𝒕𝒐𝒏), Co-founder & CTO of Automate The Planet Ltd, for the 9th part of our Design Patterns Tutorial series. Dive deep into the details of the Builder Design Pattern with Anton, covering test data management and...
What is Appium? | Introduction to Appium | LambdaTest
zhlédnutí 167Před 21 dnem
What is Appium? | Introduction to Appium | LambdaTest
Network Throttling Using Real Device Cloud | LambdaTest
zhlédnutí 84Před 21 dnem
Network Throttling Using Real Device Cloud | LambdaTest
Unlock the Future of Testing: Join us at TestMuConf | 21-23 August 2024 | LambdaTest
zhlédnutí 54Před 21 dnem
Unlock the Future of Testing: Join us at TestMuConf | 21-23 August 2024 | LambdaTest
Mastering User-Centric Mindset Unlocking Your Potential as a Tester | XP Series Webinar | LambdaTest
zhlédnutí 131Před 21 dnem
Mastering User-Centric Mindset Unlocking Your Potential as a Tester | XP Series Webinar | LambdaTest
What is Parameterization? | LambdaTest
zhlédnutí 123Před 21 dnem
What is Parameterization? | LambdaTest
Future Trends and Innovations in Gen AI for Quality Engineering | XP Series Webinar | LambdaTest
zhlédnutí 386Před měsícem
Future Trends and Innovations in Gen AI for Quality Engineering | XP Series Webinar | LambdaTest
Data-Driven Testing Design Pattern Explained 🔄 | LambdaTest
zhlédnutí 264Před měsícem
Data-Driven Testing Design Pattern Explained 🔄 | LambdaTest
Flaky Tests from an Engineering Perspective | XP Series Webinar | LambdaTest
zhlédnutí 170Před měsícem
Flaky Tests from an Engineering Perspective | XP Series Webinar | LambdaTest
Repository and Factory Design Patterns Explained 🔄 | LambdaTest
zhlédnutí 295Před měsícem
Repository and Factory Design Patterns Explained 🔄 | LambdaTest
Testμ 2024: Decode the Future of Testing 👨‍💻 | LambdaTest
zhlédnutí 131Před měsícem
Testμ 2024: Decode the Future of Testing 👨‍💻 | LambdaTest
Testing Tomorrow: Unravelling the AI in QA Beyond Automation | XP Series Webinar | LambdaTest
zhlédnutí 385Před měsícem
Testing Tomorrow: Unravelling the AI in QA Beyond Automation | XP Series Webinar | LambdaTest
WebdriverIO Tutorial | How to use Fixtures and Hooks | Part VI | LambdaTest
zhlédnutí 258Před měsícem
WebdriverIO Tutorial | How to use Fixtures and Hooks | Part VI | LambdaTest
Shifting Accessibility Testing Left with LambdaTest and Evinced | XP Series Webinar | LambdaTest
zhlédnutí 178Před měsícem
Shifting Accessibility Testing Left with LambdaTest and Evinced | XP Series Webinar | LambdaTest
What's New In LambdaTest💻 | Product Update Announcement February 2024
zhlédnutí 114Před měsícem
What's New In LambdaTest💻 | Product Update Announcement February 2024
Strategy Design Pattern Explained 🔄 | LambdaTest
zhlédnutí 305Před měsícem
Strategy Design Pattern Explained 🔄 | LambdaTest
Building Products that Drive Better Results with Shortcut | XP Series Webinar | LambdaTest
zhlédnutí 99Před měsícem
Building Products that Drive Better Results with Shortcut | XP Series Webinar | LambdaTest

Komentáře

  • @shamax2201
    @shamax2201 Před 21 hodinou

    Thank you!

  • @dnnnyxdxdxd4608
    @dnnnyxdxdxd4608 Před 2 dny

    i Like the hat, you are like young 50 cent as a QA

  • @LambdaTest
    @LambdaTest Před 2 dny

    📍𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤: github.com/john190501/hyp-matrix-mode

  • @user-lk8tn3fm5x
    @user-lk8tn3fm5x Před 2 dny

    Bro Your LetXpath tool is amazing . keep the good work

  • @trevor7481
    @trevor7481 Před 2 dny

    Whats up rex 💯

  • @LambdaTest
    @LambdaTest Před 3 dny

    📌 𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤: github.com/LambdaTest/java-testng-selenium/tree/autohealing-demo

  • @givengeorge9833
    @givengeorge9833 Před 4 dny

    Jason is really in a good mood here.😄 Excellent work and very interesting!

    • @LambdaTest
      @LambdaTest Před 6 hodinami

      Glad you enjoyed it! For more such videos do subscribe the channel🙂

  • @pabloperalta1994
    @pabloperalta1994 Před 4 dny

    No source code of the project makes things really hard

  • @Muse_r
    @Muse_r Před 4 dny

    I am getting Failed to create session. An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up

  • @LambdaTest
    @LambdaTest Před 5 dny

    📍𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤𝐬: Proxy and Adapter Design Patterns: github.com/AutomateThePlanet/LambdaTest-Proxy-Design-Pattern github.com/AutomateThePlanet/LambdaTest-Adapter-Design-Pattern Decorator Design Pattern github.com/AutomateThePlanet/LambdaTest-Decorator-Design-Pattern Singleton Design Pattern: github.com/AutomateThePlanet/LambdaTest-Singleton-Design-Pattern Dependency Injection Design Pattern: github.com/AutomateThePlanet/LambdaTest-Dependency-Injection-Pattern Chain of Responsibility Design Pattern: github.com/AutomateThePlanet/LambdaTest-ChainOfResponsibility-Design-Pattern Strategy Design Pattern: github.com/AutomateThePlanet/LambdaTest-Strategy-Design-Pattern Repository and Factory Design Patterns: github.com/AutomateThePlanet/LambdaTest-Repository-Design-Pattern github.com/AutomateThePlanet/LambdaTest-Factory-Design-Pattern Data-Driven Testing Design Pattern: github.com/AutomateThePlanet/LambdaTest-Data-Driven-Testing-Pattern Builder Design Pattern: github.com/AutomateThePlanet/LambdaTest-Builder-Design-Pattern

  • @SoumyaVBhat
    @SoumyaVBhat Před 5 dny

    Where to add the proxy in playwright?

  • @oleksandrsydorenko3303

    Allure report for the Ubuntu 22.04 ``` curl -o allure-2.6.0.tgz -Ls <link to archive file> sudo tar -zxvf allure-2.6.0.tgz -C /opt/ sudo ln -s /opt/allure-2.6.0/bin/allure /usr/bin/allure allure --version ``` And you are awesome, test everything and make your product more quality

  • @rajeshk2168
    @rajeshk2168 Před 6 dny

    20:32 - setHasText() is throwing Exception stating 2 elements are found. How to uniquely identify the dropdown element by text.

  • @pabloperalta1994
    @pabloperalta1994 Před 6 dny

    I had to downgrade the chai version to 4.2.0 by changing it on the package.json file and running an npm install. Soo it would run with the import you use in the video.

  • @chaits99sehgal
    @chaits99sehgal Před 6 dny

    I don't understand what was the need to keep the drum music in the background, its so annoying.

  • @MohitSheth-ir6qg
    @MohitSheth-ir6qg Před 6 dny

    how can I take a screenshot in selenium js

    • @LambdaTest
      @LambdaTest Před hodinou

      Hey there, To take a screenshot in Selenium with JavaScript, you can use the takeScreenshot() method provided by the WebDriver API. This method captures the current state of the page as a screenshot in the form of a base64 encoded string. You can then write this string to a file to save the screenshot. Here’s how you can do it using async/await syntax in Node.js: const fs = require('fs'); const {Builder} = require('selenium-webdriver'); async function takeScreenshot() { let driver = await new Builder().forBrowser('chrome').build(); try { // Navigate to the URL you want to capture await driver.get('example.com'); // Take screenshot and get the result as a base64 encoded string let encodedString = await driver.takeScreenshot(); // Save the screenshot to a file fs.writeFileSync('screenshot.png', encodedString, 'base64'); } catch (error) { console.error(error); } finally { await driver.quit(); } } takeScreenshot();

  • @RecordToDeathToBoredom

    12:06 what did you do after typing "hello!"? I'm stuck at this part.

    • @LambdaTest
      @LambdaTest Před hodinou

      Hey there, Here the commands: 1. vim hello.txt: Opens the file hello.txt in the Vim editor, creating it if it doesn't exist. Vim is used for editing text and has multiple modes, like insert mode for typing and normal mode for commands. 2. ls: Lists the contents of the current directory, showing files and directories. You can use options to get more detailed information. 3. git status: Shows the current status of a Git repository, including changes staged for commit, modified files not yet staged, and untracked files. It helps you manage and review changes before committing.

  • @user-ft5no1pv9f
    @user-ft5no1pv9f Před 7 dny

    Hi. Could you show how add cookies with java+playwright? I have some I have some misunderstanding about this topic

    • @LambdaTest
      @LambdaTest Před 6 hodinami

      Hey there, Thank you for reaching out, Managing cookies is essential for various testing scenarios, such as testing websites with authenticated sessions. Below is a step-by-step guide on how to add cookies in Playwright using Java: 1. Setup Playwright: First, ensure you have Playwright set up in your Java project. If you haven't already, you can add it via Maven or Gradle. Here’s how you might include it in your pom.xml for Maven: xml Copy code <dependency> <groupId>com.microsoft.playwright</groupId> <artifactId>playwright</artifactId> <version>1.17.1</version> <!-- Check for the latest version --> </dependency> 2. Writing the Code to Add Cookies: You can use the BrowserContext or Page object to add cookies. Here’s an example of how you might do this: import com.microsoft.playwright.*; public class AddCookiesExample { public static void main(String[] args) { try (Playwright playwright = Playwright.create()) { Browser browser = playwright.chromium().launch(new BrowserType.LaunchOptions().setHeadless(false)); BrowserContext context = browser.newContext(); Page page = context.newPage(); // Navigate to the page where you want to add cookies page.navigate("example.com"); // Define your cookie BrowserContext.AddCookie cookie = new BrowserContext.AddCookie("myCookie", "cookieValue"); cookie.setDomain("example.com"); cookie.setPath("/"); cookie.setExpires(1684374000); // Use Unix timestamp for expiry cookie.setHttpOnly(true); cookie.setSecure(true); cookie.setSameSite(BrowserContext.AddCookieSameSite.STRICT); // Add the cookie to the browser context context.addCookies(cookie); // Continue with your actions or tests page.navigate("example.com"); // Re-navigate to see cookie effects // Close the browser browser.close(); } } } 3. Running Your Code: Make sure that your environment is configured to compile and run Java applications. You can run your program from an IDE or the command line, depending on your setup. 4. Checking Cookies: To check if the cookies are set correctly, you can print the cookies from the browser context or inspect them in the browser's developer tools if you run the browser in headless mode.

    • @user-ft5no1pv9f
      @user-ft5no1pv9f Před 4 hodinami

      @@LambdaTest Thank you very much for your incredible help. Thanks for your time

  • @gianmarcoantonini7508

    Great tutorial!

    • @LambdaTest
      @LambdaTest Před 7 dny

      Glad you liked it! Please subscribe to the channel for more such videos🌟

  • @PankajSharmaPS
    @PankajSharmaPS Před 9 dny

    super like 👍

    • @LambdaTest
      @LambdaTest Před 7 dny

      Glad you liked it! Please subscribe to the channel for more such videos🌟

  • @talipoglu1836
    @talipoglu1836 Před 9 dny

    1000 times very useful tutorial. Can we watch it in russian language please. Thanks

    • @LambdaTest
      @LambdaTest Před 7 dny

      Glad you liked it! Please subscribe to the channel for more such videos🌟

  • @kshwetainit
    @kshwetainit Před 10 dny

    Hi Kaushik, I hope you don't mind asking me another question :) Question is : I have one function(below shown) in my every page script, this function is basically used for 'delay' . Now I want to add this function in WebActions page and want to call or import it where ever delay is needed ( hope it is making sense) async delay(milliseconds: number) { return new Promise<void>((resolve) => { setTimeout(() => { resolve(); }, milliseconds); }); I tried adding above code in my WebActions page in Lib folder .. but when I ran the test after importing the WebActions in page and calling delay function it is giving me error at pageRepo\AccountReportsStatisticsPage.ts:43 41 | await this.statisticsDropdown.selectOption({value: 'Sector'}); 42 | //await expect(this.verifyChart).toBeEnabled(); > 43 | await this.webActions.delay(3000); | ^ 44 | const masg = await this.verifyChart.isVisible(); 45 | console.log('Chart Visible:', masg); 46 | } Can you please help me to understand How can I make this delay function reusable and add it to WebActions page in Library and how I should call it in my other page or tests? Thanks.

    • @LambdaTest
      @LambdaTest Před 6 hodinami

      Hey there, Thank you for reaching out, To resolve the issue you're facing with the delay function in your WebActions class, let's go through the steps you need to take to ensure the function is properly defined and accessible across your test scripts. 1. Define the delay function in the WebActions class: First, ensure your delay function is properly defined as a method of the WebActions class. Here’s how you can define it: export class WebActions { // Other methods... async delay(milliseconds: number): Promise<void> { return new Promise<void>(resolve => { setTimeout(() => { resolve(); }, milliseconds); }); } } 2. Importing the WebActions class: Make sure you are correctly importing the WebActions class in the test script where you intend to use the delay function. Here's a typical import statement, assuming the WebActions class is defined in a file within the Lib folder. 3. Instantiate and use WebActions: If your WebActions class requires instantiation (if it's not a static class), you'll need to create an instance of WebActions before you can use the delay function. Ensure you do this in your test script: const webActions = new WebActions(); await webActions.delay(3000); If WebActions has dependencies or requires specific setup in its constructor, ensure these are handled when you instantiate it. Hope these resolve your issue, please let us know if you face any more issues

  • @user-jt6cy1ni1d
    @user-jt6cy1ni1d Před 11 dny

    sir can you make a auto-respond chatbot for skype

  • @PavanKumar-ij3gp
    @PavanKumar-ij3gp Před 14 dny

    How to typecast incase of remotewebdriver

    • @LambdaTest
      @LambdaTest Před 6 hodinami

      Hey there, To typecast with RemoteWebDriver, you can cast it to the specific driver type that you are using. For example, if you're working with Chrome, you would cast it to ChromeDriver. Here's how you can do it in Java: WebDriver driver = new RemoteWebDriver(new URL("your.selenium.server:port/wd/hub"), desiredCapabilities); ChromeDriver chromeDriver = (ChromeDriver) driver; Make sure that the actual driver instance on the server matches the type you are casting to, to avoid ClassCastException.

  • @AnitaChalavadi
    @AnitaChalavadi Před 14 dny

    Amazing session! i'm facing error "Cannot resolve symbol 'MobileCapabilityType'" please help with this

    • @LambdaTest
      @LambdaTest Před 13 dny

      Hey there, First, ensure that you have included the Appium client libraries in your project. If you are using Java, you need to have the Appium Java client added to your project dependencies. For Maven Projects Add the following dependency in your pom.xml: <dependency> <groupId>io.appium</groupId> <artifactId>java-client</artifactId> <version>7.6.0</version> <!-- Use the latest version available --> </dependency> For Gradle Projects Add the following dependency in your build.gradle: dependencies { implementation 'io.appium:java-client:7.6.0' // Use the latest version available } Correctly Import MobileCapabilityType: Ensure that you are importing MobileCapabilityType from the Appium java-client package. Add the following import statement at the beginning of your Java file: import org.openqa.selenium.remote.DesiredCapabilities; import io.appium.java_client.remote.MobileCapabilityType; This import statement is crucial as it specifically includes the MobileCapabilityType class which contains various constants used to set the capabilities of mobile devices. -------- Hope this resolves your issue, let us know if you need any more help.

  • @andrewburnip2225
    @andrewburnip2225 Před 17 dny

    2 hours deep and bro's sporting a new haircut. Looking fresh my guy. Excellent tutorial so far.

    • @LambdaTest
      @LambdaTest Před 13 dny

      Glad to hear the tutorial was helpful for you! Do subscribe the channel for more such tutorials !🙂

  • @shubhanshushivhare9759

    Sir how to put the download file in a specific folder directly

    • @LambdaTest
      @LambdaTest Před 13 dny

      Hey there, To download a file to a specific folder using Selenium, you'll need to configure the browser's profile to set the default download directory before initializing the driver. This setup depends on the browser you are using (e.g., Chrome, Firefox, etc.). Here’s how you can do it for the most common browsers: For Google Chrome You can use Chrome’s preferences to specify the download directory. Here’s how to set it up in Selenium with Java: import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOptions; import org.openqa.selenium.WebDriver; public class FileDownloadTest { public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "path/to/chromedriver"); ChromeOptions options = new ChromeOptions(); // Set the default download directory options.addArguments("download.default_directory", "/path/to/download/directory"); // Disable Chrome's PDF viewer to download PDF files automatically options.setExperimentalOption("plugins.always_open_pdf_externally", true); WebDriver driver = new ChromeDriver(options); // Now you can visit the website and perform the download driver.get("example.com/download_page"); // Code to trigger the file download goes here driver.quit(); } } ------------- Key Points to Remember ChromeOptions and FirefoxProfile: For Chrome, use ChromeOptions to set preferences. For Firefox, use FirefoxProfile to set preferences. MIME Types: The value for browser.helperApps.neverAsk.saveToDisk in Firefox and similar settings in Chrome should be adjusted according to the MIME types of the files you intend to download (e.g., application/pdf, image/jpeg, application/zip). Path Adjustments: Replace "/path/to/download/directory" with the actual path where you want to save the downloaded files. Ensure the directory exists as browsers may not create the directory for you. Driver Executable: Ensure that the paths to chromedriver or geckodriver are correct and that the executables are compatible with the version of the browser installed on your machine.

    • @shubhanshushivhare9759
      @shubhanshushivhare9759 Před 12 dny

      @@LambdaTest thank you sir used the given approach looks good now!!

  • @anaisry
    @anaisry Před 19 dny

    Hi, one question I have a URL xx/0/xy and in my test I have to check the duration of an element, in the URL from xx/0/xy to xx/1000/xy how can I automate this, without having to write them separately.? it("0", () =>{ cy.visit('/xx/0/xy') cy.checkelement() }) it("1", () =>{ cy.visit('/xx/1/xy') cy.checkelement() }) it("2", () =>{ cy.visit('/xx/2/xy') cy.checkelement() }) .... Repeat cy.visit('/xx/1000/xy') I would really appreciate it if you could help me with this problem. Thanks a lot

    • @LambdaTest
      @LambdaTest Před 13 dny

      Hey there, To streamline your test automation and avoid manually writing out each test case from xx/0/xy to xx/1000/xy, you can use a loop to dynamically generate each test case. This approach will not only save time but also make your test script easier to maintain. Here’s how you can do it in Cypress: ------ describe('URL Duration Check', () => { // Loop from 0 to 1000 for (let i = 0; i <= 1000; i++) { it(`${i}`, () => { cy.visit(`/xx/${i}/xy`); // Dynamically change the URL based on the loop counter cy.checkelement(); // Assuming this is a custom command to check certain elements }); } }); ------ Describe Block: This is used to group multiple test cases. Here, it groups tests that check the duration of an element for different URL segments. Looping: The for loop iterates from 0 to 1000, which automates the process of incrementing the URL segment. Dynamic Test Title: The it(`${i}`, () => { dynamically sets the title of each test case to the current iteration count, aiding in better test identification and troubleshooting. Dynamic URL Visit: cy.visit(`/xx/${i}/xy`); dynamically constructs the URL for each test iteration, substituting i with the loop index. ------ Hope this helps

  • @Monish_Prasad_V
    @Monish_Prasad_V Před 20 dny

    Good content! But it would be better if we could see code examples in parallel.

    • @LambdaTest
      @LambdaTest Před 13 dny

      Hey there, Thank you for your interest, you can view the complete tutorial on Pytest on our channel czcams.com/video/KZstMSOHIvQ/video.html

  • @kshwetainit
    @kshwetainit Před 20 dny

    Hi Kaushik, You videos are really a big help for me in daily work life :) Thank you so much (again) for making these videos. As before I came up with one question : this time question is how to verify the popup/alert/dialog display on screen when a downloaded completed for a report(in my project) , this popup is displaying on browser's top right corner below download button (Browser's download button) The test I am doing here is - Click on Report button - Entering a date range - click on Download button - which download the report and shows a popup on browser's top right side with Download button and with default name like : Statement 00-01 I have tried below options but nothing is giving me anything in Console or output in report after execution await this.page.waitForLoadState(); this.page.on('download', download => download.path().then(console.log)); this.page.on('dialog', async dialog=> { console.log(dialog.message()); await dialog.dismiss(); }) OR // Get all popups when they open this.page.on('popup', async popup => { await popup.waitForLoadState(); console.log(await popup.title()); Please let me know how can I get the report name from popup or can check the visibility of the popup after download ? Thank you so much.

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, We are glad the videos have been helpful to you! Regarding your query on handling browser download notifications and popups with Playwright, it seems you're trying to interact with or verify the browser's native download notification, which appears once a file download completes. This kind of notification is part of the browser's UI and not directly part of the webpage's DOM, making it challenging to interact with or verify directly using Playwright or any other web automation tool. Playwright's primary focus is on interacting with web content within the context of the page's DOM. Since the browser's download UI is outside the DOM, Playwright doesn't provide a direct way to interact with these elements. However, you can work with download events in Playwright to verify that a file has been downloaded and to obtain information about the downloaded file. Verifying File Download and Obtaining File Information While you cannot directly access the browser's download notification popup, you can verify a download has occurred and get the file's name through Playwright's download event listener. Here's an approach to handle and verify file downloads: // Assuming you have a page object already initialized await page.click('#reportButton'); // Click on Report button // Assume you set the date range here await page.click('#downloadButton'); // Click on Download button to start the download // Wait for the download event and get the download object const download = await page.waitForEvent('download'); // Get the path to the downloaded file const path = await download.path(); console.log(`Downloaded file path: ${path}`); // To get the download's suggested filename (e.g., "Statement 00-01.pdf") const filename = download.suggestedFilename(); console.log(`Downloaded file name: ${filename}`); // Your further assertions or checks can go here, for example: // Verify the filename matches expected pattern expect(filename).toMatch(/Statement \d{2}-\d{2}\.pdf/); This code listens for a download event on the page and then uses the download object to get the path and the suggested filename of the downloaded file. You can use this information to verify that the download has completed and that the filename matches your expectations. Let us know if this resolves your problem.

  • @vanajachowdary3998
    @vanajachowdary3998 Před 20 dny

    org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 123.0.6312.106 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe Build info: version: '4.0.0', revision: '3a21814679'

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, The error message you're encountering is a common issue when working with Selenium WebDriver, indicating a version mismatch between the ChromeDriver and the Google Chrome browser installed on your system. The key part of the error message is: Here are steps to resolve this issue: Update ChromeDriver You need to update your ChromeDriver to a version that supports Chrome version 123. This is typically the first and most straightforward solution: Find the Appropriate ChromeDriver Version: Visit the ChromeDriver Downloads page to find the version of ChromeDriver that corresponds with your version of Chrome (in this case, Chrome version 123). Download and Replace ChromeDriver: Download the appropriate ChromeDriver version for your operating system and replace the existing ChromeDriver in your project or in the location referenced by your system's PATH environment variable. Verify the Update: Run your Selenium tests again to confirm the issue is resolved. Using WebDriverManager If you are frequently encountering version mismatch issues, consider using WebDriverManager in your project. WebDriverManager automatically manages the WebDriver binaries for you. To use WebDriverManager with ChromeDriver in a TestNG project, add the WebDriverManager dependency to your pom.xml: <dependency> <groupId>io.github.bonigarcia</groupId> <artifactId>webdrivermanager</artifactId> <version>5.0.3</version> <!-- Use the latest version available --> </dependency> Then, set up ChromeDriver like this in your test setup method: ----------------- import io.github.bonigarcia.wdm.WebDriverManager; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.BeforeClass; public class YourTestClass { private WebDriver driver; @BeforeClass public void setupClass() { WebDriverManager.chromedriver().setup(); driver = new ChromeDriver(); } // Your test methods }

    • @vanajachowdary3998
      @vanajachowdary3998 Před 19 dny

      @@LambdaTest thanks for the reply, please see this is my chrome version 123.0.6312.106 --> i dont see any chromedrivers for this version, please help to find the chromedriver

    • @LambdaTest
      @LambdaTest Před 13 dny

      Hey there, Go to the ChromeDriver downloads page (sites.google.com/chromium.org/driver/) where you can find the list of ChromeDriver versions along with the Chrome versions they support. ChromeDriver releases are frequent, and each release usually supports the latest stable release of Chrome. Once you find the right version, download it for your operating system (Windows, macOS, Linux). You'll need to unzip the downloaded file and replace the existing chromedriver.exe in your project directory or in a directory that's in your system's PATH. ------- As an alternative to manually updating the ChromeDriver, you can use the WebDriverManager library, which can automatically manage the WebDriver binary for you. Here's how you can set it up: <dependency> <groupId>io.github.bonigarcia</groupId> <artifactId>webdrivermanager</artifactId> <version>5.0.3</version> <!-- Use the latest version available --> </dependency> And in your Java setup: import io.github.bonigarcia.wdm.WebDriverManager; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.BeforeClass; public class YourTestClass { private WebDriver driver; @BeforeClass public void setupClass() { WebDriverManager.chromedriver().setup(); driver = new ChromeDriver(); } // Your test methods } Hope this resolves your issue, let me know if you face any issue

  • @LambdaTest
    @LambdaTest Před 20 dny

    📌 𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤: github.com/AutomateThePlanet/LambdaTest-Builder-Design-Pattern

  • @elallende
    @elallende Před 22 dny

    is this video up to date for the Selenium C# 101 Certification ?

    • @LambdaTest
      @LambdaTest Před 13 dny

      Hey there, Yes, the video can serve as a good reference for the Selenium C# 101 Certification. It provides foundational knowledge that is essential for understanding the basics of Selenium with C#. However, please ensure that you also refer to the latest documentation and any recent updates in the Selenium community, as there could be changes or new features not covered in the video.

  • @azizhalaouit9735
    @azizhalaouit9735 Před 25 dny

    When a test is Annoteted with "@Disabled" the program generate the exception (java.lang.NullPointerException: Cannot invoke "com.aventstack.extentreports.ExtentTest.log(com.aventstack.extentreports.Status, com.aventstack.extentreports.markuputils.Markup)" because "com.xx.yy.ExecutionContext.CURRENT_EXTENT_TEST" is null at com.xx.yy..extentreports.ExtentTestListener.testDisabled(ExtentTestListener.java:13) .... and the test report fails to show correct test information. (Dashboard shows wrong information about tests status) Do you know why?

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, The issue you're experiencing with @Disabled tests causing NullPointerException in your Extent Reports integration is not directly related to the version of Selenium, but rather how the test framework and your reporting setup interact. The core of the problem lies in how disabled tests are handled by your test listener and the lifecycle of ExtentTest objects within that context. Given the issue description, it seems your ExtentTestListener attempts to log a disabled test without checking if the ExtentTest instance (ExecutionContext.CURRENT_EXTENT_TEST) has been initialized, leading to a NullPointerException. This can happen because the initialization logic that typically runs before each test (e.g., in a @BeforeEach method) doesn't execute for @Disabled tests, so the ExtentTest instance remains null. To address this issue, you need to adjust your test listener to handle @Disabled tests properly. Here's a conceptual approach to solving this problem: Check for Null Before Logging: In your listener methods (e.g., testDisabled), add a null check for the ExtentTest instance before attempting to log anything. If the instance is null, you can either skip the logging for this test or initialize a new ExtentTest instance specifically for logging the disabled test. Global Initialization: Ensure that any required global initialization for your Extent Reports setup is performed outside of test-specific setup methods. This way, even if a test is skipped, the essential parts of your reporting infrastructure are ready to be used.

  • @dachengzhao7612
    @dachengzhao7612 Před 25 dny

    The audio quality is so bad in the later sections

    • @LambdaTest
      @LambdaTest Před 24 dny

      Thank you so much for bringing this to our attention! We're genuinely grateful for your feedback as it helps us identify areas where we can improve.We're already looking into this issue to ensure a much better listening experience moving forward.

  • @Tej-ds1zc
    @Tej-ds1zc Před 26 dny

    Hi Koushik, The reports, screenshot and videos are not displaying for me. I did the same setup inside the config.js. Can you please help me out. import type { PlaywrightTestConfig } from '@playwright/test'; const config: PlaywrightTestConfig = { testMatch: ["tests/UI_Automation/loginTest.spec.ts"], use: { headless: false, screenshot: "on", video: "on" }, reporter: [["dot"], ["json", { outputFile: "jsonReports/jsonReport.json" }], ["html", { open: "never" }]] }; export default config; // Additional configuration options can be added here

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, The configuration you've posted for Playwright seems correct for enabling screenshots and videos during your tests, as well as for setting up reporters. If the reports, screenshots, and videos are not displaying or being generated as expected, there are a few common issues and troubleshooting steps you can take: 1. Check Playwright Version Ensure you're using a version of Playwright that supports these features. While it's likely you are, if you're using a very outdated version, some features might not work as expected. You can update Playwright using npm or yarn: npm install @playwright/test@latest 2. Verify Output Directories By default, Playwright saves screenshots and videos in the test-results directory under the specific test directory. Make sure you have the correct permissions to write to these directories and that there's sufficient space. 3. Check for Errors in Test Execution Sometimes, if tests fail to execute correctly (e.g., due to errors in the test code or setup issues), screenshots and videos might not be generated. Look for any error messages in the test output that might indicate what went wrong. 4. Inspect Playwright Configuration While your configuration looks correct, ensure there are no overrides happening elsewhere that might disable screenshots or videos. For instance, if you're using environment variables or command-line arguments to run your tests, these can override your config settings.

  • @divyaverma6763
    @divyaverma6763 Před 28 dny

    Step 4 at time span 16:00 I am not able to follwoup, pls help if i am doing right? PS C:\Mobile Automation\AndroidProjectsPOC\iOSAppium-LambdaTest-master> mvn clean install mvn : The term 'mvn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + mvn clean install + ~~~ + CategoryInfo : ObjectNotFound: (mvn:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

  • @devarajsnaidu3168
    @devarajsnaidu3168 Před 28 dny

    @LamdaTest Am getting unresolved driver attribute in pytest testcase when we initialize loginpage in pytest testcase loginpage=Loginpage(self.driver) Could you help me on this

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, It sounds like you're encountering an issue with accessing the driver attribute within your pytest test case, particularly when you're trying to initialize an instance of LoginPage. This issue commonly occurs due to a few reasons, such as the driver not being properly set up or passed to the test method, or perhaps a scope issue within your test class. Without seeing the full code, I'll provide a general approach to troubleshoot and potentially resolve this issue: Ensure Proper Initialization of driver Firstly, make sure that self.driver is correctly initialized within your test class. This is typically done in a setup method, which is executed before each test method runs. Use of self.driver In the code snippet you provided, loginpage=LoginPage(self.driver), it appears within a class method where self.driver should be accessible assuming self.driver has been correctly initialized as part of the class instance. Make sure that self.driver is initialized in a method that runs before your test methods, such as a setup method annotated with @pytest.fixture. Passing the driver to the Test Method If your test methods are designed to receive the driver as an argument, ensure you're using a pytest fixture to inject the driver into them.

  • @giovanni9305
    @giovanni9305 Před 28 dny

    'PromoSM'

  • @arquitectoqasdetautomatiza5373

    TE AMO!!! ME SALVASTE LA VIDA!!!

    • @LambdaTest
      @LambdaTest Před 20 dny

      Encantado de que te gusten los vídeos, por favor suscríbete para más tutoriales como este. ❤🖖

  • @alyymagdy
    @alyymagdy Před měsícem

    If the username contains slashes, how should be the handling? Example : Username : Dev/admin Password : Pass@word

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, When dealing with authentication pop-ups in Selenium, one common technique is to pass the credentials directly in the URL. This works for basic HTTP authentication dialogs that appear when you navigate to a URL that requires authentication. However, special characters in usernames or passwords, such as slashes (/), can pose a problem since they have specific meanings in URLs. For a username like "Dev/admin" and a password like "Pass@word", you would typically encode the special characters to ensure they are correctly interpreted in the context of a URL. In URLs, special characters are percent-encoded, meaning they are replaced with a percent sign (%) followed by two hexadecimal digits representing the character's ASCII code. Handling Special Characters Slash (/) in the username "Dev/admin" should be encoded as %2F. At symbol (@) in the password "Pass@word" is usually fine, but in credentials within a URL, it should be encoded to avoid confusion with the symbol used to separate the password from the URL domain. It should be encoded as %40. Encoding Example Given the username "Dev/admin" and the password "Pass@word", the encoded credentials part of the URL would be "Dev%2Fadmin:Pass%40word".

  • @ahuaracab
    @ahuaracab Před měsícem

    Awesome series! Please more videos! Part VIII 💥

    • @LambdaTest
      @LambdaTest Před 24 dny

      Sure, we're thrilled to hear you're enjoying the series! Part VIII is on its way, and we can't wait to share it with you. Stay tuned for more explosive content coming soon.

  • @SarathKumar-zz1bd
    @SarathKumar-zz1bd Před měsícem

    Hi, Can playwright support the automating the desktop applications? Like in selenium, we have Robot and AutoIt similarly is there any way to do these things from the playwright?

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, Playwright has support for automating Electron applications, which are desktop applications built with web technologies. You can use Playwright to interact with the web content within an Electron app. This requires launching the Electron application in a way that Playwright can connect to it, typically by using Playwright's electron API. If a desktop application embeds a web view (using frameworks like Chromium Embedded Framework), you might be able to automate the web content part of the application using Playwright, provided you can access the web context. This would be more of a workaround and highly dependent on the specific application and its architecture.

  • @ahuaracab
    @ahuaracab Před měsícem

    Hi Rex, I love your videos! I have a doubt. Why doesn't your timeout to find the web element finish? In my case, first, it shows a timeout for the not found element before the timeout test error.

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, When you mention "timeout to find the web element" and then a "timeout test error," you're likely referring to two different timeout mechanisms at play: Element Search Timeout: This is the time your automation tool waits for an element to appear on the page before it throws an error saying the element couldn't be found. This timeout is crucial for web testing because elements might take some time to load, especially on dynamic or slowly loading pages. Test Execution Timeout: This is a JUnit feature that allows you to specify how long a test is allowed to run before it's considered failed due to taking too long. This is set to prevent tests from running indefinitely and is particularly useful for identifying tests that hang or are stuck in a loop. Managing Timeouts Adjusting Element Search Timeout: If elements on your page regularly take longer to load, you may need to increase your element search timeout. This gives your tests more leeway to wait for elements to become available. In Selenium, you can adjust this with the implicitlyWait method or by using explicit waits for specific elements that might take longer to load. Setting Test Execution Timeout in JUnit: JUnit allows you to set a maximum time that a test can run. If your element search timeouts are correctly configured but your test still exceeds the overall allowed time, you might need to reassess either the test execution timeout or the efficiency of the test itself. In JUnit 5, you can use the @Timeout annotation to specify how long a test is allowed to run.

  • @LambdaTest
    @LambdaTest Před měsícem

    📌 𝐆𝐢𝐭𝐇𝐮𝐛 𝐋𝐢𝐧𝐤: github.com/AutomateThePlanet/LambdaTest-Data-Driven-Testing-Pattern

  • @TMalaland1
    @TMalaland1 Před měsícem

    For recent video viewer (up to 2024) change the require to import to avoid issues

    • @LambdaTest
      @LambdaTest Před 20 dny

      Hey there, The error message you're encountering, "mvn : The term 'mvn' is not recognized as the name of a cmdlet, function, script file, or operable program.", indicates that Maven is either not installed on your system or its installation path is not added to your system's PATH environment variable. Maven is a build automation tool used primarily for Java projects, and it's required for compiling and running tests with Appium for many Java-based projects. First, you should check if Maven is indeed installed on your system. Open a new command prompt or terminal and type: mvn -version If Maven is not installed, you will need to install it. Here are the general steps for installing Maven: - Download Maven: Go to the official Apache Maven download page and download the latest version. - Extract the Archive: Extract the downloaded archive to a folder on your computer, e.g., C:\Program Files\Apache\maven. Set Up Environment Variables: M2_HOME (Optional on newer versions): Add a new system variable named M2_HOME that points to your Maven folder, e.g., C:\Program Files\Apache\maven. JAVA_HOME: Ensure you have the JAVA_HOME environment variable set to the path of your JDK installation. PATH: Add Maven’s bin directory to the system’s PATH variable, e.g., C:\Program Files\Apache\maven\bin. This allows you to run Maven from the command line anywhere.

  • @joke6215
    @joke6215 Před měsícem

    Not only I can learn how to write tests, but also how to solve errors like ReferenceError: describe is not defined, No test files found: "test" or [ERR_REQUIRE_ESM], by using stackoverflow. Yes, I'm aware that these problems are not caused by You, it's just a part of experience. 10/10, it's the best tutorial on the YT Edit: And now I see that I just needed to watch another 10 minutes to find a solutions to my other problems, 11/10 tbh.

    • @LambdaTest
      @LambdaTest Před měsícem

      We are glad that you found this tutorial helpful ❤ Keep up the great work, and thank you for the feedback. Your journey and progress are inspiring. If you have any more questions or need further assistance, feel free to ask. Happy testing!

    • @swapniltiwari4899
      @swapniltiwari4899 Před 12 dny

      How did you fix it? I am struggling to fix the issue

    • @joke6215
      @joke6215 Před 12 dny

      @@swapniltiwari4899 If you are using newest versions of JS, mocha, ect., don't use chai, that's for sure, and there was something to do with config files, I don't really remember what, but googling error codes eventually solved my problems

    • @joke6215
      @joke6215 Před 11 dny

      @@swapniltiwari4899 Honestly I don't remember now, but I'm sure that if you are using latest versions of software, you have to exclude chai from code, other problems can be solved by googling errors (took me like 1h or so).

    • @pabloperalta1994
      @pabloperalta1994 Před 6 dny

      @@swapniltiwari4899 i fixed it by changing in the package.json that says the version of chai to 4.2.0 instead of 5, and then run again an npm install. This downgraded the version of chai to one that supports require.

  • @azizhalaouit9735
    @azizhalaouit9735 Před měsícem

    Very nice and easy to follow tutorial. Thanks for sharing.

    • @LambdaTest
      @LambdaTest Před měsícem

      Glad to hear the tutorial was helpful for you! Do subscribe the channel for more such tutorials !🙂

  • @KristinJackvony
    @KristinJackvony Před měsícem

    Thanks for this great tutorial. I didn't understand fixtures at all until you explained them so clearly.

    • @LambdaTest
      @LambdaTest Před měsícem

      Glad to hear the tutorial was helpful for you! Do subscribe the channel for more such tutorials !🙂

  • @jasmeetpabla3133
    @jasmeetpabla3133 Před měsícem

    Hi Vinnie , I need your help , Could you please help me ? I want a script to get the failed jobs across my projects. Purpose is I want to create a lambda function which will get all the failed jobs and re-trigger them , is there any way ?

    • @LambdaTest
      @LambdaTest Před měsícem

      Hey there, Creating a script to fetch and re-trigger failed jobs across your projects involves interacting with your CI/CD platform's API. Most CI/CD platforms like Jenkins, CircleCI, Travis CI, GitLab CI, and GitHub Actions provide APIs to get job statuses and trigger new runs. Here is a pseudocode example for a platform with REST API endpoints /api/jobs to list jobs and /api/jobs/{jobId}/retrigger to re-trigger jobs. Replace placeholder URLs, methods, and authentication details with those specific to your platform. python ------------ import requests # Placeholder for the API endpoint to list jobs LIST_JOBS_ENDPOINT = "your-ci-platform.com/api/jobs" # Placeholder for the API endpoint to re-trigger a job RETRIGGER_ENDPOINT = "your-ci-platform.com/api/jobs/{}/retrigger" # Function to fetch failed jobs def fetch_failed_jobs(): response = requests.get(LIST_JOBS_ENDPOINT, headers={"Authorization": "Bearer YOUR_API_TOKEN"}) jobs = response.json() return [job for job in jobs if job['status'] == 'failed'] # Function to re-trigger a failed job def retrigger_job(job_id): response = requests.post(RETRIGGER_ENDPOINT.format(job_id), headers={"Authorization": "Bearer YOUR_API_TOKEN"}) if response.status_code == 200: print(f"Job {job_id} re-triggered successfully.") else: print(f"Failed to re-trigger job {job_id}.") # Main logic if __name__ == "__main__": failed_jobs = fetch_failed_jobs() for job in failed_jobs: retrigger_job(job['id'])