In case of rpachallenge you need 2 elements spied:
Any Label ("First Name" for example), in modeller leave three attributes checked: Tag Name = LABEL, Match Index = 1, Value - set Dynamic
Any Input, 1 attribute is enough: PATH - set Dynamic
Then to fill any field (e.g. "Last Name"), you do:
Read element Label, Data: Get Path, Params: Value = "Last Name", out - path(Text)
Write element Input, Data: "Last Name From a file", Params: Path = Replace([path];"LABEL";"INPUT")
Repeat 7 times for each field.
Basically you set Dynamic field attributes when you use them, not when you spy them.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
Original Message:
Sent: 04-05-2021 03:12
From: Aarthy A
Subject: what is Dynamic field ?
Thanks Andrey.. Can you tell me how to Read text from dynamic field used in Application Modeller on a Obj studio ?
------------------------------
Aarthy A
Original Message:
Sent: 04-02-2021 11:54
From: Andrey Kudinov
Subject: what is Dynamic field ?
Just to give an example of where this can be used: http://rpachallenge.com/ (using IE, where xpath is not available).
Fields shift around every submit, so you need to find a label, then rewrite it's PATH to point to a related input, for which path would be dynamic = not spied in advance, but calculated in runtime.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
Original Message:
Sent: 03-27-2021 16:17
From: Aarthy A
Subject: what is Dynamic field ?
Hi Team,
Can anyone tell me what is dynamic field and why is it used
Regards,
A
------------------------------
Aarthy A
------------------------------