İNJECT JS SCRİPT Error

hello everyone. I’m working on a challenge and I’m getting an error in the js script, what do you think is the problem?

js script code

Hi,

For now, can you try to modify Document to document before getElementById?
(d should be lower-case)

Regards,


hi Yoichi I can try but i didn’t get results

regards.

Hi,

To isolate cause, can you try to run the following script?

"function(){var elm = document.getElementById('test')}"

Regards,

now i am getting an error like this :frowning:



I need to enter PONUMBER but I get an error about the selector of the get text activity, I’m trying to sync them with regex and now I’m facing this problem.

Hi,

Does Inject JS script work without error? If so, it means document.getElementById works.
Next, can try to run your first line of the script without variable?

And if you need to use dynamic selector, perhaps selector string should be like the following.

image

Regards,

btw thanks Yoichi for help me

i am getting this error i think the js script is not working properly what should i do

PurchaseORDERSNEW.zip (7.8 KB)