How to be able to fill in a field on the right where the dropdown field on the left is equal to "MT - A1 expiry date"?

How to be able to fill in a field on the right where the dropdown field on the left is equal to “MT - A1 expiry date”?

For instance dropdown menu on the left is equal to “MT - A1 expiry date” and on the right I want to put the date 01/09/2026. And once I try to insert the next data where the dropdown menu called “Mt - A1 expiry date” is not in the same order than the previous one it crashed because the dropdown field is first on the row 5 and the next one is on the row 4

Indicate the text box, then indicate the dropdown as the anchor.

@Mce You can try to select the dropdown labeled as “MT - A1 expiry date” and, when entering the date corresponding to the dropdown, you can dynamically utilize the dropdown value as the anchor for the text field.

How to proceed @postwick? by using which activity?

@manasrienka25 how to proceed exactly? which activity to user with which parameters?

Using the normal Type Into activity. After clicking the text box to indicate it as the target element (it highlights green) you just click the dropdown to indicate it as the first anchor. Then edit the selectors to make sure the value is taken into account for the dropdown (but not the text box).

Not sure I fully follow you. I try to add the anchor and my selecor is now the following one =>

Is that correct?

You have to highlight code and click the </> button or we won’t see it.

nothing is working. I try to use an anchor base as suggested by CHAT GPT or copilot but it only input the first date and try to insert the second date of the second data in the field behind the field where I want to have the input. I dont know how to have it dynamic.

I use the anchor base activity. On the anchor side I use a find element where it retrieve this selector

SyntaxEditor Code Snippet

</>html app=‘msedge.exe’ htmlwindowname=‘new’ title=‘COMPAS | Additional information’ / </>webctrl tableRow=‘23’ tag=‘TABLE’ /> </>webctrl tableRow=‘5’ tag=‘SELECT’ />

and on the drop action activity I dropped a type into where I have this selector =>

SyntaxEditor Code Snippet

</> html app=‘msedge.exe’ htmlwindowname=‘new’ title=‘COMPAS | Additional information’ / </> <webctrl tableRow=‘23’ tag=‘TABLE’ / <webctrl tableRow=‘5’ tag=‘INPUT’ type=‘text’ / </>

Hi @mce

remove the htmlwindowname attribute from the both anchor and target.
For the anchor keep the aaname

If didnt work then, please share screenshot of both Anchor’s code and target’s code

Try and let us know your result.

Happy Automation!

Hi,

Thanks for your answer. I ve tried to proceed as you suggested but it doesnt work.
Noted that I dont have aaname avaialble for the anchor.

I use the following selector now for the anchor =>

</>html app=‘msedge.exe’ title=‘COMPAS | Additional information’ />

</>webctrl tableRow=‘23’ tag=‘TABLE’ />

</>webctrl tableRow=‘5’ tag=‘SELECT’ />

and for the target =>

</>html app=‘msedge.exe’ title=‘COMPAS | Additional information’ />

</>webctrl tableRow=‘23’ tag=‘TABLE’ />

</>webctrl tableRow=‘5’ tag=‘INPUT’ type=‘text’ />

Thanks in advance for your help

could you please share list screenshots of the target and anchor code. just want to check what attributes are available that we can add or remove.

I believe its the attributes that you need to modify, which will help you fix your issue.

Cheers!

Here it is for the anchor =>

and for the target type into =>

@ Tapas_Kumar_Pattnaik any idea how to solve my problem ?

Hi @mce ,

I can see the validate buttons are green for both. Right now, where are they pointing to, both the anchor and the target?

and

It works for the 1st data because it types into row 5 but the next data it types into row 5 when my label is in row 4

@ Tapas_Kumar_Pattnaik Do you have a potential solution ? I’m trying to find a solution since 3 days but I’m still blocked. thanks in advance for your help.

Hi @mce,

Is it possible for you to have a Zoom call, now? we will connect and sort this out.
Its hard to assist like this to solve your issue related to all these tags.

Yes Im available now or this afternoon . I just sent you a message where I included my email adress.

As per suggestion to use CV Type into activity over our DM, @mce mentioned the issue is now resolved.