Forum Discussion
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.
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.
- tvklovesu2 years agoFrequent Contributor
I found this page with an example, but still TC is not able to find the page object
Project.Variables.MyURL = "https://ea-webapp-dev-raven.com/"
URL= %Project.Variables.MyURL%email-batches/*
Not sure whats wrong I am doing here. Can someone please help me
Thanks