Rather than us $currentFormName here, which is described as an Unbound Variable, I would rather use a C# Global Variable, like this:/mobileapp[@title='com.365agile.enterprise.365Agile-TEST']/form/container[@caption='' and @containertype='LayoutContainer']/container/container/container/container/container/container/table/
container[1]/container/cell/text[@accessibilitylabel=$currentFormName]
Code: Select all
public static string GlobalCurrentForm
{
get{return _globalCurrentForm ;}
set{_globalCurrentForm =value ;}
}
I need to use this path to access the control described.