The following code snippets are from the Session 2 Object Identification TC Webinar last month and am trying to reproduce the results of each presentation. I am using the just installed 12.53 Community version of LR. All of the code snippets worked in the demo and I have some questions about the syntax, which is often the most difficult problem to resolve using many of the LR protocols (well, at least for me).
1. In the following example why does the method call, evalXPath, not have to include TC., as in:TC.evalXpath?
2. Why is the closing bracket ] required without an associated opening bracket? What is its syntactical purpose? Does online help provide syntax rules?
3. Can the the single quote block, '" Args.Context.buttonText "' in the following example be replaced with escaped double quotes as in: \" Args.Context.buttonText \" ?
-Thanks, Terry Horwath