[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78GF5X9HP46NT4B3Q993EXP":3,"skill-same:01M78GF5X9HP46NT4B3Q993EXP":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M78GF5X9HP46NT4B3Q993EXP","se-report-integrator",null,"Integrates reporting (Allure or ExtentReports) into a Selenium + TestNG suite with listeners, screenshot-on-failure, and step logging. Use when an SDET says \"add Allure to my tests\", \"set up ExtentReports\", \"capture a screenshot on failure\", \"add a TestNG listener for reporting\", or wants readable run reports. Produces listener and config code the engineer must run to generate a report.","PramodDutta\u002Fskillmasterclass","PramodDutta","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1409610?v=4","01M78G6P6117ADPGFVHSBGTRE6","Promode","01M78G6P6MJD4FF669N45VMYBE",4,"MIT","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-report-integrator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: se-report-integrator\ndescription: >-\n  Integrates reporting (Allure or ExtentReports) into a Selenium + TestNG suite\n  with listeners, screenshot-on-failure, and step logging. Use when an SDET says\n  \"add Allure to my tests\", \"set up ExtentReports\", \"capture a screenshot on\n  failure\", \"add a TestNG listener for reporting\", or wants readable run reports.\n  Produces listener and config code the engineer must run to generate a report.\nlicense: MIT\nmetadata:\n  author: TheTestingAcademy\n  pack: selenium\n  version: 1.0.0\n---\n\n# Selenium Report Integrator\n\nYou **wire reporting into a TestNG + Selenium suite** — Allure or ExtentReports, with\nfailure screenshots and step logs. The integration is a draft the engineer must run;\nonly an actual test run proves the report generates.\n\n## When to use\n- A suite produces only console\u002FTestNG default output and needs a readable report.\n- Someone wants a screenshot attached automatically when a test fails.\n- Step-level logging is needed for triage across a run.\n\n## Workflow\n1. **Pick the reporter**: Allure (CI-friendly, `allure serve` HTML, annotations) or\n   ExtentReports (self-contained HTML, rich in-code logging). Match what CI expects.\n2. **Add dependencies + config**: `allure-testng` (+ AspectJ weaver) or\n   `extentreports`; for Allure set the results dir, for Extent build an `ExtentReports`\n   singleton with a `SparkReporter`.\n3. **Hook TestNG lifecycle** via an `ITestListener`: create a test node on start, log\n   pass\u002Fskip, and on failure capture + attach a screenshot.\n4. **Capture screenshots** with `((TakesScreenshot) driver).getScreenshotAs(...)` inside\n   `onTestFailure`; attach as Allure attachment or Extent `addScreenCaptureFromPath`.\n5. **Log steps** — Allure `@Step`\u002F`Allure.step(...)` or Extent `test.log(...)` from page\n   actions — so the report reads as a narrative.\n6. **Register the listener** in `testng.xml` and emit config, noting versions to confirm.\n\n## Output shape\n```java\npublic class ScreenshotListener implements ITestListener {\n    @Override\n    public void onTestFailure(ITestResult result) {\n        WebDriver driver = DriverFactory.getDriver();   \u002F\u002F driver from the running test's factory\n        byte[] png = ((TakesScreenshot) driver).getScreenshotAs(OutputType.BYTES);\n        \u002F\u002F Allure:\n        Allure.addAttachment(result.getName() + \"-failure\", \"image\u002Fpng\", new ByteArrayInputStream(png), \"png\");\n        \u002F\u002F ExtentReports alternative:\n        \u002F\u002F ExtentTestManager.getTest().fail(\"Failed\", MediaEntityBuilder.createScreenCaptureFromPath(path).build());\n    }\n\n    @Override public void onTestSuccess(ITestResult r) { Allure.step(\"PASS: \" + r.getName()); }\n}\n```\n```xml\n\u003C!-- testng.xml — register the listener -->\n\u003Csuite name=\"suite\">\u003Clisteners>\u003Clistener class-name=\"com.qa.listeners.ScreenshotListener\"\u002F>\u003C\u002Flisteners> ... \u003C\u002Fsuite>\n```\n\n## Guardrails\n- This integration is a **draft the engineer must run** — the report only exists after an actual test execution (e.g. `allure serve target\u002Fallure-results`).\n- **Never assume a locator exists**; the listener touches the driver, not page selectors — keep test locators separate and real.\n- Don't fabricate dependency versions; tell the engineer to confirm the current `allure-testng`\u002F`extentreports` and the AspectJ weaver arg for Allure `@Step`.\n- Guard screenshot capture: a null\u002Fquit driver in `onTestFailure` must not throw and mask the real failure.\n- Attach screenshots as bytes\u002Fpaths through the reporter API — don't leave orphan files or hardcode absolute paths.\n- Keep secrets out of logs\u002Fscreenshots; don't log credentials into the report.\n","# Selenium Report Integrator\n\nYou **wire reporting into a TestNG + Selenium suite** — Allure or ExtentReports, with\nfailure screenshots and step logs. The integration is a draft the engineer must run;\nonly an actual test run proves the report generates.\n\n## When to use\n- A suite produces only console\u002FTestNG default output and needs a readable report.\n- Someone wants a screenshot attached automatically when a test fails.\n- Step-level logging is needed for triage across a run.\n\n## Workflow\n1. **Pick the reporter**: Allure (CI-friendly, `allure serve` HTML, annotations) or\n   ExtentReports (self-contained HTML, rich in-code logging). Match what CI expects.\n2. **Add dependencies + config**: `allure-testng` (+ AspectJ weaver) or\n   `extentreports`; for Allure set the results dir, for Extent build an `ExtentReports`\n   singleton with a `SparkReporter`.\n3. **Hook TestNG lifecycle** via an `ITestListener`: create a test node on start, log\n   pass\u002Fskip, and on failure capture + attach a screenshot.\n4. **Capture screenshots** with `((TakesScreenshot) driver).getScreenshotAs(...)` inside\n   `onTestFailure`; attach as Allure attachment or Extent `addScreenCaptureFromPath`.\n5. **Log steps** — Allure `@Step`\u002F`Allure.step(...)` or Extent `test.log(...)` from page\n   actions — so the report reads as a narrative.\n6. **Register the listener** in `testng.xml` and emit config, noting versions to confirm.\n\n## Output shape\n```java\npublic class ScreenshotListener implements ITestListener {\n    @Override\n    public void onTestFailure(ITestResult result) {\n        WebDriver driver = DriverFactory.getDriver();   \u002F\u002F driver from the running test's factory\n        byte[] png = ((TakesScreenshot) driver).getScreenshotAs(OutputType.BYTES);\n        \u002F\u002F Allure:\n        Allure.addAttachment(result.getName() + \"-failure\", \"image\u002Fpng\", new ByteArrayInputStream(png), \"png\");\n        \u002F\u002F ExtentReports alternative:\n        \u002F\u002F ExtentTestManager.getTest().fail(\"Failed\", MediaEntityBuilder.createScreenCaptureFromPath(path).build());\n    }\n\n    @Override public void onTestSuccess(ITestResult r) { Allure.step(\"PASS: \" + r.getName()); }\n}\n```\n```xml\n\u003C!-- testng.xml — register the listener -->\n\u003Csuite name=\"suite\">\u003Clisteners>\u003Clistener class-name=\"com.qa.listeners.ScreenshotListener\"\u002F>\u003C\u002Flisteners> ... \u003C\u002Fsuite>\n```\n\n## Guardrails\n- This integration is a **draft the engineer must run** — the report only exists after an actual test execution (e.g. `allure serve target\u002Fallure-results`).\n- **Never assume a locator exists**; the listener touches the driver, not page selectors — keep test locators separate and real.\n- Don't fabricate dependency versions; tell the engineer to confirm the current `allure-testng`\u002F`extentreports` and the AspectJ weaver arg for Allure `@Step`.\n- Guard screenshot capture: a null\u002Fquit driver in `onTestFailure` must not throw and mask the real failure.\n- Attach screenshots as bytes\u002Fpaths through the reporter API — don't leave orphan files or hardcode absolute paths.\n- Keep secrets out of logs\u002Fscreenshots; don't log credentials into the report.\n",{"name":5,"license":15,"metadata":24,"description":7},{"pack":25,"author":26,"version":27},"selenium","TheTestingAcademy","1.0.0","main","d8c5108d5ae524b10a5a1c695cdee8cfc018be7b","skillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-report-integrator",8,"https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass","https:\u002F\u002Fgithub.com\u002FPramodDutta","https:\u002F\u002Fscrolltest.com","Blogger at http:\u002F\u002Fscrolltest.com , Youtuber - https:\u002F\u002Fwww.youtube.com\u002Fc\u002FItsTechMode ","2026-07-15 00:36:00",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add PramodDutta\u002Fskillmasterclass --skill se-report-integrator",{"tool":43,"command":44},"bunx","bunx skills add PramodDutta\u002Fskillmasterclass --skill se-report-integrator",{"tool":46,"command":47},"pnpm","pnpm dlx skills add PramodDutta\u002Fskillmasterclass --skill se-report-integrator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-report-integrator\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M78GFBQAXS855299M20HQGYV","se-wait-fixer","Scans Selenium Java code for Thread.sleep and for implicit+explicit wait mixing, then replaces them with WebDriverWait\u002FExpectedConditions or FluentWait to fix synchronization. Use when an SDET says \"remove Thread.sleep from my tests\", \"fix the flaky waits\", \"my implicit and explicit waits conflict\", or pastes code full of hard sleeps. Produces refactors the engineer must run and confirm.","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-wait-fixer\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M78GF8WPMW41VPA7RS4SHK80","se-test-generator","Generates a runnable Selenium 4 + TestNG test in Java from a plain-language scenario, using explicit waits and stable locators. Use when an SDET says \"write a Selenium test for login\", \"generate a TestNG test for the checkout flow\", \"automate this scenario in Selenium\", or pastes Gherkin\u002Fsteps and wants Java WebDriver code. Produces a draft test the engineer must review and run.","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-test-generator\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78GF31BMJCFXTF7CKY8TGV0","se-page-object-builder","Builds a Page Object Model class in Java (PageFactory @FindBy or explicit locators) with action methods and a WebDriverWait for a given page. Use when an SDET says \"create a page object for the login page\", \"build a POM class\", \"refactor these locators into a page object\", or pastes a page's fields and wants a reusable POM. Produces a draft class the engineer must review and run.","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-page-object-builder\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M78GEYWZPDFSZPFZ2VYV7GRD","se-locator-strategist","Recommends and repairs Selenium locator strategy — replaces brittle absolute XPath with By.id, By.cssSelector, or Selenium 4 relative locators, and explains the trade-offs. Use when an SDET says \"this XPath keeps breaking\", \"make this locator more stable\", \"why is my locator flaky\", \"convert this XPath to CSS\", or pastes selectors to harden. Produces proposals the engineer must verify in the DOM.","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-locator-strategist\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78GEV918RERKZ0ZDY5RRF57","se-grid-configurator","Configures Selenium Grid 4 (hub-and-node or standalone, including Docker) and wires RemoteWebDriver for parallel and distributed runs. Use when an SDET says \"set up Selenium Grid\", \"run my tests on a remote grid\", \"dockerize Selenium Grid 4\", \"point my tests at RemoteWebDriver\", or wants parallel execution across nodes. Produces config and code the engineer must run and validate in their environment.","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-grid-configurator\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M78GER91SJKSC4J6G2HCPZXB","se-framework-scaffolder","Scaffolds a Maven Selenium framework — TestNG suite, base test, Page Object package, config loader, logging, and reporting hooks. Use when an SDET says \"scaffold a Selenium framework\", \"set up a new Maven Selenium project\", \"give me a POM\u002FTestNG project structure\", or is starting automation from zero. Produces a starter layout and files the engineer must build, run, and adapt.","https:\u002F\u002Fgithub.com\u002FPramodDutta\u002Fskillmasterclass\u002Fblob\u002Fmain\u002Fskillmasterclass\u002Fskills\u002Fframework-packs\u002Fselenium-pack\u002Fse-framework-scaffolder\u002FSKILL.md",[],[]]