enriquebravo
2 years agoContributor
How can I set the value of a selector at runtime?
Hello, I have a scenario that needs to iterate select a value from a dropdown every time it runs. Typically, I use the FindElement action in combination with an xpath expression to click on the r...
- 2 years ago
If you have a look at step 26 on this blog post...
It shows you how to use a Project Variable in the name map. So you can set the value of the Project variable at run time, then use that variable in the namemap / selector when you need it. The key bit is making sure you 'refresh' the namemap if you update the variable. All detailed in the post and in the video.