コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5985 ビュー

h all i have a wizard on which i have already two buttons and i want to add a third one using xpath,,but somehow its not working,,,,the buttons there are added by following code



<footer> 
<button string = "Save" type = "object" class = "oe_highlight" name = "write" />
<button string = "Cancel" class = "oe_link" special = "cancel" />
 </ footer>
and am giving xpath as:


<xpath expr = "// button [@ name = 'write']" position = "before"> <button string = "Save and Print" type = "object" class = "oe_highlight" name = "write_company_and_print_report" /> </ xpath>

whats the problem plz?
アバター
破棄
最善の回答

try this code :

<xpath expr="//footer" position="inside">

 <button string="Save and Print"  type="object" class="oe_highlight" name="write_company_and_print_report"/>

</xpath>




アバター
破棄