We have a textblock in a cell as below:
<contentpresenter Name="PART_ContentPresenter" Uid="40569470">
<textblock AutomationId="CellElement_0_0" Uid="29580916">3</textblock>
</contentpresenter>
I am using TTF in Visual Studio. When we start script to catch this cell/textblock. It gets object successfully but in textblock tag, i don't see the AutomationId element.
However, after i turn on the Inspect.exe tool to try to verify properties on my product, i re-run my script, i see the AutomationId element appears in textblock tag.
If I turn off inspect tool, restart my application, re-run my script again, i don't see the AutomationId element in textblock tag.... :(
I really need to get the AutomationId property to use it to get exactly data cell i need to work on.
Maybe the inspect tool performs any action on my application,... i am not sure. Could you please help me on this ? do i need to set any configuration in my script ?
Thanks and Regards,
Hoang.
<contentpresenter Name="PART_ContentPresenter" Uid="40569470">
<textblock AutomationId="CellElement_0_0" Uid="29580916">3</textblock>
</contentpresenter>
I am using TTF in Visual Studio. When we start script to catch this cell/textblock. It gets object successfully but in textblock tag, i don't see the AutomationId element.
However, after i turn on the Inspect.exe tool to try to verify properties on my product, i re-run my script, i see the AutomationId element appears in textblock tag.
If I turn off inspect tool, restart my application, re-run my script again, i don't see the AutomationId element in textblock tag.... :(
I really need to get the AutomationId property to use it to get exactly data cell i need to work on.
Maybe the inspect tool performs any action on my application,... i am not sure. Could you please help me on this ? do i need to set any configuration in my script ?
Thanks and Regards,
Hoang.