Daniyal Rasheed’s Post

View profile for Daniyal Rasheed, graphic

TOSCA Automation | UI, SAP & API | Creating Test Scripts to Reduce Regression Effort by 90%

Common Beginner Mistakes in TOSCA (And How to Fix Them) New to TOSCA? Here are common mistakes beginners often make— And how you can avoid them for smoother automation: 𝟭) Lack of Structure in Test Cases - Mistake: Creating test cases without a clear structure. - Fix: Organize your test cases into sections: Preconditions, Process, and Postconditions. This improves readability and makes maintenance easier. 𝟮) Overloading Modules with Controls - Mistake: Adding all controls from a screen into a single module. - Fix: Group controls logically—create separate modules for things like menu items. This makes your modules reusable and easier to manage. 𝟯) Neglecting Verification Steps - Mistake: Forgetting to include verification steps in test cases. - Fix: Always add verification steps to confirm the expected outcomes, like checking if the correct items appear in a shopping cart. 𝟰) Combining Too Many Verifications in One Test Case - Mistake: Overloading test cases with multiple verifications. - Fix: Break verifications into smaller, focused test cases. This makes it easier to identify where things went wrong during testing. 𝟱) Ignoring Stable Properties for Object Identification - Mistake: Using properties that frequently change for object identification. - Fix: Choose stable properties like inner text when scanning objects to reduce maintenance issues later. 𝟲) Underestimating Maintenance Efforts - Mistake: Thinking automation is "set it and forget it." - Fix: Plan for regular updates and reviews of test cases and modules. TOSCA automation requires ongoing maintenance for long-term projects. 𝟳) Relying Solely on Record-and-Playback Features - Mistake: Depending too much on the record-and-playback feature. - Fix: Create test scripts manually for more robust and adaptable automation, especially for dynamic applications. 👇 Avoiding these mistakes will save time and effort. It will lead to better automation and lower maintenance. ↓ p.s. Follow me for more!

  • No alternative text description for this image
Rohit Patil

Software Test Engineer

3mo

Insightful

Ajay S

Python-CrewAI |• Certified TOSCA Automation Specialist • AS1 • AS2 • AE1 • AS(SAP) |Make Automation certified RPA engineer | Automation Engineer at Qualitest | Web Developer • Founder at Social Helper Charitable Trust.

3mo

8. Please add this also proper naming conventions for each steps - if possible add discussion for that step.

Sanjay Kumar Jena

Business Systems Analyst | Insurance - P&C | SAP For Insurance | ISTQB CTAL-TA | TRICENTIS TOSCA PRODUCT CONSULTANT CERTIFIED

3mo

Very helpful

Yatish Naik

Sr.Product Test Engineer @ClaySys | QA Lead | RPA | Automation Testing

2mo

Useful tips

Mohamed Shuja

Senior Data Research Analyst at Wikiprospects

3mo

Very informative Daniyal Rasheed

See more comments

To view or add a comment, sign in

Explore topics