1. RPA Challenge - Dynamic Web Page - Anchor

Hi @badita,
Here is the code for the challenge assignment. Please find it.
Main.xaml (40.9 KB)

2 Likes

Hi @jibanjyoti,

Your approach (keyboard automation) won’t work since the fields are dynamically changing their position and order. You may have Last Name, First Name, Email or Email, First Name, Last Name.

The hint is to uses the Anchor Based activity. The task is very difficult… especially since the Anchor is not yet documented :)).

6 Likes

Hi @badita,
i did the work and also tested.
i am attaching the code file for the dynamic web page challenge,
please find the attachment. DynamicUIElementSelect.zip (26.0 KB)

8 Likes

@beesheep: Why aren’t you posting here? That will be deleted :).

1 Like

ok,

I’ll post it in here:
.
here is my solution

Automation_Challenge.xaml (50.9 KB)

Regards,

2 Likes

The winner is @ashis-kumar.singh. He managed to automate via selectors.
We’ll come back with a more difficult one. :))

@beesheep: your solution works too… but in the next version the coordinates of the inputs will change relative to the labels. Image automation should be avoided on web.

5 Likes

no one is using anchor base. waiting to see @andrzej.kniola :slight_smile:

Regards…!!

4 Likes

…there’s no need now. Maybe in the next RPA challenge.

2 Likes

I thought the same about @andrzej.kniola LOL

3 Likes

Congrats to all that solved :slight_smile:

Since it’s already solved might as well - attached AnchorBase solution (with ColumnName based selectors and a slight reduction in wait times).
100% accuracy.
Added a stopwatch - from pressing Start to last submission it measured 7460ms (7,5s - pretty nice) on my machine. Whole workflow with reading excel etc. completed in 19s.

AutomationChallenge1.zip (23.9 KB)

10 Likes

This one was relatively easy :slight_smile:
@andrzej.kniola - I liked the stopwatch…something new I learnt.
Thanks.

4 Likes

PFA My workflow , first i tried using anchor base but in some cases it is failing(where the two labels are coming side by side) than i used dynamic selectors and it’s working fineMain.xaml (48.8 KB)
indent preformatted text by 4 spaces

3 Likes

Hello, has there been a change in the rpachallenge.com markup? The solution provided by @andrzej.kniola has stopped working for me :frowning:

4 Likes

Probably. Though Anchor should still work in most of the cases.

1 Like

Mix of @andrzej.kniola - column based selectors and @Jishnu_Kumar - dynamic TypeInto selector (without Click or Find Label Anchor) works pretty well and consistent with minimal activities. 12 seconds from Start to last submission

RPA-DynamicSelectors.xaml (16.2 KB)

6 Likes

has anybody did this using automation anywhere

3 Likes

My success rate was 100% . Yay!
RPA Challenge 1.xaml (32.2 KB)

7 Likes

hello buddy, I to have the same question that any one had done this with Automation Anywhere, If yes please give me some suggestions that how can I proceed further to do this.

Thanks
Sarah John

1 Like

Hello @ashis-kumar.singh , Thanx for your solution,
please Can you explain how you adjust the appropriate Dynamic Selectors as the selector is not available ?
Waiting for your reply!

1 Like

I’m late but latest with anchor base.
Working 100%.

RPA_Challenge.xaml (26.5 KB)

3 Likes