I tried setting the id for the element and am passing the newly set id to the JS function for hitting the enter key. Although I no longer see any error, I do not see any response either. When the enter key is pressed after placing the characters, it should search. But it does not search or bring up any results.
The text field that we are trying to hit the enter key is textClones in the attached image
At the point indicated by Step 1 in the attached image, just before modifying the Outerhtml of the element, if I try entering a string manually and hitting the enter key, the search works and yields results
At the pointed indicated by Step 2, which is just after modifying the OuterHTML, I can see that the outerHTML is modified to include the ID. But at this point, even if I try to manually enter a string and hit the enter key, the search does not work. Nothing happens
Instead of doing a manual search, if I let the automation continue (22-HitEnter is performs the KeyDown, KeyUp and KeyPress events for the field), then also no search results are yielded. Nothing happens
Based on the above it appears, that when the outerHTML is modified, it somehow prevents the application from working as expected
Can you please help, as we are not able to proceed with the automation.