Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only

Resilient Automation with IBM RPA: Building a Smart Web Automation

By Tiago Carmo Santos posted 06/15/26 09:00 AM

  
The IPA Challenge presents a unique automation problem: a form where field positions shuffle randomly after each submission. Traditional automation approaches fail immediately, but IBM RPA's Smart Web Commands provide the resilience needed to handle this dynamic scenario.
IPA Challenge WebPage
Image 01 - IPA Challenge Web Page
---
What Makes This Challenge Difficult?

After each form submission, the page:
  • Shuffles field positions
  • Fields appear in different order
  • Maintains semantic meaning - Labels stay consistent (Username, First name, Email, etc.)
  • Requires multiple submissions - Process multiple employee records
Traditional positional selectors (nth-childnth-of-type) break immediately when field order changes.

The Solution: Smart Web Commands with Semantic Selectors

IBM RPA's Smart Web Commands (available in version 30.0.3+) use fingerprint-based selectors that combine multiple strategies:

  1. Unique identifiers - Each field has a stable identifier that doesn't depend on position. 
  2. Semantic attributes - Fields are identified by their semantic meaning, not DOM position.
  3. Structural context - Maintains awareness of form structure without relying on specific positions.
  4. Multiple fallback strategies - If one strategy fails, the next one is tried automatically:
    1. Minimal CSS selectors
    2. CSS Selectors Path
    3. XPath expressions
    4. Fingerprints

Real Working Example

Here's the actual WAL script that successfully handles the IPA Challenge:
Image 02 - IBM-RPA WAL File at Script Mode
---
Image 03 - IBM-RPA WAL File at Design Mode
---
Image 04 - IBM-RPA New Web Smart Command - Set Element Value
---
Why This Approach Works


Benefits of Smart Web Commands

Position-independent - Fields found by meaning, not location  
Self-healing - Multiple fallback strategies  
Semantic matching - Uses label text and field names  
Robust fingerprints - Combines structural and semantic data  
Version-aware - Selector versioning for compatibility  


Best Practices

DO
  • Use IBM RPA Studio -> Create WAL File at Design Mode -> Click on [Start Recorder] feature;
  • Choose Web Recorder -> Smart -> (Chrome / Edge);
  • Generate Script Smart Web Commands by Demonstration;
  • The New Web Extension auto generate Selectors Strategies at the step above;
  • A NoCode User Experience with a Recorder/Playback feedback instantly;

DON'T ❌
  • Avoid define Selectors Strategies manually IBM RPA Studio -> Create WAL File at Script Mode;
  • Avoid change Selectors Strategies created automatically by Design Mode;
  • Probably it will BREAK your WAL scripts;
---
Image 05 - IBM-RPA New Web Smart Recorder
---

Selector Anatomy

A Smart Web Command selector includes multiple strategies:
---

Comparison: Before and After

Before (Brittle Approach)
---
After (Resilient Approach)

Results

This approach successfully:
 ✅ Handles unlimited form submissions with changing field positions
 ✅ Maintains 100% accuracy across all fields
 ✅ Adapts to dynamic page changes automatically
 ✅ Requires no manual intervention after initial setup
 ✅ Provides detailed error information when issues occur


Conclusion

The IPA Challenge demonstrates why traditional web automation fails with dynamic content. IBM RPA's Smart Web Commands solve this problem through:

1. Semantic field identification - Find fields by meaning, not position
2. Multiple fallback strategies - Automatic retry with different approaches
3. Fingerprint matching - Robust element identification
4. Version-aware selectors - Compatibility across page changes

By using these techniques, you can build automation that adapts to dynamic forms and maintains high reliability even when page structure changes.

Next Steps

1. Try Smart Web Commands - Upgrade to IBM RPA 30.0.3+
2. Test the IPA Challenge - Use the script below as a starting point.

Resources



About Smart Web Commands: Available in IBM RPA 30.0.3 and above. Uses next-generation browser extension architecture with semantic field detection and fingerprint-based selectors.

---

*Ready to build resilient automation? Try Smart Web Commands today!*
0 comments
88 views

Permalink