I am quite new to Selenium IDE. I want to split an error message and extract the first word of the error message. I have used the following commands as in the image.
Following are the results of the log.
- assertText on css=.ngn with value Could not rejected OK
- store on css=.ngn with value variable OK
- store on 0 with value delimiter OK
- store on javascript{storedVars['variable'].split(' ')[storedVars['delimiter']]} with value test OK echo: javascript{storedVars['variable'].split(' ')[storedVars['delimiter']]}
I also referred the following article.
Any of the above did not help me with my expected output. Please let me know a way to solve this issue. I am specifically expecting a solution to be done through Selenium IDE.