[error] Cannot read property 'toUpperCase' of undefined


#1

I get the following error while using the storeText command

"[error] Cannot read property ‘toUpperCase’ of undefined"

It doesnt seem to like my xpath

//*[@id=“TabContent_orderdetail”]/div[1]/div/table/tbody/tr/td[2]/p/text()[1]

I notice that when i take off the text()[1] it works but it doesnt get what I need.


#2

Hi, can you please paste the complete source code of the macro here ( = JSON code from the source tab), then we can test this further. (Indeed, it sounds like bug).