Jump to content

Recommended Posts

Posted

Hi Guys,

    Could you please suggest me IEGetDOMObjByXPathWithAttributes.au3 file.

 ( or)  Where i have to get or download  that above au3 file to working on IEXpath.

Thank You

 

 

Regards,
Chaitanya K.
Posted

Have you checked the following link:

 

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Is this what you looking for ?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

 I am trying with that au3 file.

when i use relative path I can get Result, and when i try to absolute path the result would be false.

;Relative path (Its Working)
                                  $xpathUserIdn= "//*[@id='TR292655516']"
                                  $aInputn = BGe_IEGetDOMObjByXPathWithAttributes($oIE,$xpathUserIdn)
                                   _IEAction($aInputn[0],"click")
                                   
                                   ;Absolute Path(For the Same Above row, Result is False why ?)
                                   $xpathUserIdn= "/html/body/div[4]/div[3]/div/div[2]/form/div[2]/table/tbody[2]/tr[1]"  ;Last tr[Variable]
                                   $aInputn = BGe_IEGetDOMObjByXPathWithAttributes($oIE,$xpathUserIdn)
                                   _IEAction($aInputn[0],"click")
                                   
                                   
                                   ;Actually My tr Id is varient for every row and Its generated random ID(The complete process is Under the Loop)

Please suggest me.

Thank You

Edited by ChaitanyaK
Regards,
Chaitanya K.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...