| || |
Global String issue
I am currently Converting a set of tests to be locale / Language independant.
I am doing this by creating a Scripting Library built from my language resouce XML files
From this Library I then Populate the a raft of Global strings with the appropraite values depending on what Language I pass into my function
The problem i am having is with a HTMLSpan that has a property InnerText Of "Asset Mgmt"
When I create a Global object to contain the the properties
set goAssetMang =HTMLSpan("InnerText='" & gstrAssetMngmt & "'", tpAttachwait)
It complains saying that it cannot find the Attach Name "Inner Text='Asset Mgmt'" but if I manually enter the String, i.e do not use my global, String variable it works!!
Why would it fail to recognise an attach name because it is stored as a global string or am I missing something even more obvious?
Re: Global String issue
Solved the problem!
For some strange reason the Space between the two words was not being recognised as a space!!
Beats me! but after a quick XML edit it works