Hello all.
I am tying to get a property of an input value (inside iframe and table etc.). The html looks more or less like this
<iframe name="_paa" src="/something/SearchFramePage.htm" style="height: 100%; width: 100%; border: 0px;">
<frameset border="0" framespacing="0" cols="*,150" frameborder="0">
<frame name="leftframe" src="tyhja.htm">
<form name="_ctl0" method="post" action="./Tulos.aspx?workgroup=FM4..." id="_ctl0" class="system_form">
<table class="system_datagrid system_datagrid_tulokset" cellspacing="0" rules="all" rendermode="Inline" border="1" id="GridTulokset" style="border-collapse:collapse;top:82px;">
<tbody>
<tr class="labon_datagrid_mainHeaderRow">
<td class="device-headerColumn">Laite</td>
</tr>
<tr class="system_datagrid_row static-table">
<td class="device-itemColumn">
**<input name="GridTuloksetLaite" type="text" value="LAITE_KOODI " readonly="readonly" id="GridTulokset_Laite" disabled="true" style="">**
</td>
<td class="spn-itemColumn">
<a id="GridTulokset_0987_nayteno" href="javascript:__doPostBack('GridTulokset$_0987$nayteno','')">012345</a>
With that I get the ID property of the table
by
Browser.Get Property //iframe >>> //frame[@name="leftframe"] >>> //table[@class="labon_datagrid labon_datagrid_tulokset"] id
But when I try to go deeper for the input
tag
Browser.Get Property //iframe >>> //frame[@name="leftframe"] >>> //table[@class="system_datagrid system_datagrid_tulokset"] >>> //input[id="GridTulokset__ctl2_Laite"] value
I get error
ValueError: Argument ‘assertion_operator’ got value ‘value’ that cannot be converted to AssertionOperator or None.
I am not completely sure what am I doing wrong here so help would be very much appreciated.