We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi Helen,
Thanks for the reply but I'm still having problems. I tried changing the script engine on both systems and it does not seem to make any difference. I have installed another license on my primary laptop running Win8 and I'm getting the same results as my co-worker running Win10: the dot notation.
Dave
dmacknight wrote:
I also still don't know why, when I record a test it looks like this:
sensorWorks["SensorWorksMain"]["MainMenu"]["Click"]("Project|New");
And when my co-worked records a test it looks like this:
sensorWorks.SensorWorksMain.MainMenu.Click("Project|Open");
If you mean different syntax (["SensorWorksMain"] vs SensorWorksMain), this is because your project uses C#Script or C++Script as a scripting language, and your co-worker's project language is JScript. C#Script/C++Script use the bracket notation object["Property"] rather than dot notation object.Property.
Hi Helen,
Thanks for the reply but I'm still having problems. I tried changing the script engine on both systems and it does not seem to make any difference. I have installed another license on my primary laptop running Win8 and I'm getting the same results as my co-worker running Win10: the dot notation.
Dave