Forum Discussion
KB1
2 years agoChampion Level 2
This is what I would try:
let Test = frame.FindElement("//div[.='" + Project.Variables.Name + "']");
- tvklovesu2 years agoFrequent Contributor
Thanks for the reply. I am looking to pass variable in to nameMapping repository. I know how to do with in the script. But my project is in Keyword test and I need to pass URL for page and some test data for objects.
- KB12 years agoChampion Level 2
Sorry I haven't tried keyword based testing But I think you can try only adding:
div[.='" + Project.Variables.Name + "']" to the keyword
- tvklovesu2 years agoFrequent Contributor
Sorry, If I confused you. I want that variable to be used in the nameMapping window as shown in below. I saw in one of the post sometime back that only project variables can be used in the nameMapping objects. but can't find that exact syntax. The below syntax is not working for me.