javascript delimiter is not working


#1

storeText



css=span.errorMessage



Locked



store



1



delimiter



store



javascript{storedVars['Locked'].split('[')[storedVars['delimiter']]}



Temp



store



0



delimiter1



store



javascript{storedVars['Temp'].split(']')[storedVars['delimiter1']]}



LTNumber



echo



${LTNumber}



#2

Please let me know if anyone knows how to get the “LTNumber” from the “Locked” text.

Locked- "The Associate Profile record is locked by

05901 USER through L&T [20114000800]
and cannot be edited at this time"

Im trying to get that exact L&T number(20180314000000) from the

‘Locked’ variable.

It is working in selenium IDE, but not Katalon.