Description from extension meta
testudoWork: A powerful tool, it maps locators accurately, generates Playwright code, captures DOM events, and builds test cases.
Image from store
Description from store
# testudoWork: Revolutionizing Web Automation
testudoWork is an innovative tool designed to streamline web automation processes. It offers a comprehensive suite of features that enhance the accuracy and efficiency of selector generation, test case creation, and overall web automation experience.
## Key Features:
- **Cogni XPath Generation:** testudoWork's intelligent algorithm generates relative XPaths, CSS selectors, and other locators, saving time and effort.
- **Multi-Selector SCogniport:** Generate multiple selector types simultaneously, ensuring flexibility and robustness in automation scripts.
- **Cogni Maintenance:** Verify all XPaths in a script with a single click, ensuring accuracy and reliability.
- **Iframe SCogniport:** Seamlessly work with iframes sharing the same `src`, allowing nested web element interaction.
- **Automation Code Generation:** Generate automation script steps with predefined commands, facilitating integration into existing frameworks.
- **Dynamic Attribute Handling:** Generate robust selectors using custom or dynamic attributes, ensuring adaptability and reliability.
- **testudoWork Studio:** Record and edit manual and automation steps, providing a seamless workflow for test case creation.
- **Dark Theme:** Switch to a dark theme for improved usability and reduced eye strain during extended testing sessions.
## How testudoWork Works:
- **Launch testudoWork:** Access the DevTools panel and navigate to the "testudoWork" tab for instant automation possibilities.
- **Generate Selectors:** Inspect elements, and testudoWork generates a unique relative XPath along with various selectors, offering a comprehensive locator set.
- **Evaluate XPath/CSS:** Enter XPath or CSS queries, and testudoWork highlights matching nodes on the page, with the first match in green and subsequent matches in blue.
- **Hover to Highlight:** Hover over matching nodes in the testudoWork panel to highlight corresponding elements on the webpage, providing a visual connection between locators and web elements.
- **Copy & Edit:** Copy locators with a click or edit them easily, ensuring efficient selector management.
## Cogni Suggested XPath:
Cogni Suggested XPath provides a robust XPath for the first matching node, aiding in unique relative XPath creation and query verification.
## Custom Attribute and Text Generation:
- **Custom Attribute:** Specify an attribute name to generate relative XPaths tailored to specific needs.
- **Preset Shortcuts:** Quickly generate XPaths without certain attributes, simplifying locator generation.
- **Persistent Preferences:** Saved attribute preferences ensure a consistent and personalized experience.
- **Reset:** Restore default attribute preferences for a fresh start with new projects.
## Working with Iframes:
testudoWork sCogniports iframes with the same `src`, allowing seamless work with nested web elements.
## Generate Automation Code:
- **Enable Automation Code Generation:** Click the "set driver command" icon to enable automation code generation, adding pre-commands like `page.locator('xpathValue')` to generated selectors.
- **Customize Commands:** Use `xpathValue` and `labelValue` placeholders to customize commands, integrating testudoWork into various automation frameworks.
- **Copy Automation-Ready Commands:** Copy automation-ready commands with a click, simplifying integration into automation scripts.
## Record Multiple XPaths:
- **Start Recording:** Click the "record" button to record XPaths, capturing locators for multiple elements.
- **Inspect Elements:** Inspect elements one by one, generating XPaths with labels for a detailed record of web interactions.
- **Edit and Manage Recorded XPaths:** Edit, copy, or delete recorded XPaths as needed, refining and customizing locators.
- **Export and Copy XPaths:** Export or copy XPaths in bulk, integrating locators into automation frameworks efficiently.
## Generate Multiple Automation Script Steps:
- **Enable Automation Step Generation:** Enable the "set driver command" icon to generate automation script steps with labels.
- **Use Placeholders:** Use `xpathValue` and `labelValue` placeholders in commands for dynamic and adaptable automation scripts.
- **Export and Copy Automation Steps:** Export commands in bulk or copy all at once, integrating testudoWork into the automation pipeline seamlessly.
## testudoWork Studio:
- **Open testudoWork Studio:** Access testudoWork Studio via the video icon in the testudoWork tab or browser toolbar for visual test case creation.
- **Record Manual and Automation Steps:** Perform manual steps, and testudoWork Studio records them alongside automation commands, creating comprehensive test cases.
- **Edit and Save Test Cases:** Edit, add, and save or copy test cases, adapting and reusing them efficiently.
## Cogni Maintenance:
- **Verify XPaths:** Navigate to a webpage, click "Cogni Maintenance," and verify all XPaths in a script with a single click.
- **Paste or Cogniload Scripts:** Paste or Cogniload a script to verify all XPaths, displaying occurrences on the page for quick validation.
- **Copy and Export XPaths:** Copy or export all XPaths in bulk, integrating them into the automation framework effortlessly.
## Dynamic ID/Class SCogniport:
testudoWork alerts about alphanumeric IDs or classes in XPaths, helping avoid potential issues. Exclude IDs or classes by unchecking options for robust locators.
## UI and Advanced Features:
- **Dark Theme:** Enable dark mode for a comfortable and visually appealing experience, reducing eye strain during long sessions.
- **Bulk Operations:** "CopyAll" and "DeleteAll" features in multi-selector and smart maintenance screens streamline bulk locator management.
- **Selector Views:** Switch between selector types for focused editing and generation, ensuring precision and accuracy.
- **Color-Coded XPaths:** Color-coded XPaths enhance locator clarity and readability, aiding in quick identification.
## Additional Notes:
- **Selector Dropdown:** The dropdown in the selector header allows switching between selector types, offering flexibility in locator generation.
- **Sequential Occurrence Numbers:** testudoWork adds sequential occurrence numbers to matching nodes, ensuring locator uniqueness and accuracy.
- **Iframe SCogniport:** testudoWork sCogniports iframes with the same `src`, providing a reliable and consistent experience.
## Conclusion:
testudoWork 0.0.1 is a powerful tool that revolutionizes web automation, offering a seamless and efficient workflow for creating reliable test cases. Its comprehensive features and intuitive interface make web automation more productive and enjoyable, catering to both experienced engineers and beginners.