Hi @shraddha_joshi
if the selector has any attribute which has value equal to any of field in queue item, you can try that approach.
like for eg, First Name field has selector attribute innertext=firstname [assume]
if in the queue item if you had items like this
firstname=Data
lastname=N
now u can fill the input field by taking the firstname attribute from queue to selector innertext attribute value so that u can fill the details there.
Another thing to discuss here, which field to update is not same every time,
e.g.
in first queue item we may get request to update firstname and lastname, in next queue item, we need to update email only.
For this first I need to find which field to update on Web page and then use typeinto to update it
As this is changing every time, what should be the approach to automate it?
Issues I am facing is -
Which activity should be used to find ui element if we know only one attribute like innertext?
After we found ui element, we need to use typeinto which should be dynamic.
And it requires actual ui element to be indicated on screen , how to use it dynamically ?
See here the main aim is to type into required field as per specified in queue item.
Consider First name has attribute innertext which has the value firstname
Simmilary Last name has attribute innertext which has the value lastname
Now in queue item values are like this
firstname: Hello
lastname: world
Now to type the data into reqd field, u need loop through field in queue item and use the type into activity to type the value by changing the attribute value with the field value of queue item
If I want to update 10 random attributes then inside for each loop - currently I need to add 10 typeinto and check like
if aaname=“First Name” then typeinto value
If aaname=“Last Name” then typeinto value
Is it possible to have only one typeinto ?
I have tried it but it fails . is it the limitation of typeinto that it only works for element for which it is indicated on screen?
As i told earlier, once u retrive the queue item, next loop through each specific field of queue item and then you can add the specific field name as attribute in selector of it so that selector would change accordingly based on field .
If you can share screenshot of selector, i can help u to find this out