Forum Discussion
rraghvani
2 years agoChampion Level 3
In script code, you can do
function Test()
{
// Project.Variables.Name = "Theme1"
var strXPath = aqString.Format("//span[text()='%s']", Project.Variables.Name);
Log.Message(strXPath);
}
But it's not possible to do //span[text()='" + Project.Variables.Theme + "'] in Name Mappings. TC will just search that entire property value.
Related Content
- 3 years agoIuliaVascan
- 2 years agoBouzouki
Recent Discussions
- 5 hours agoMW_Didata