Skip to main content
Question

I'm trying to capture few buttons but they aren't being recognized in A360.

  • February 26, 2022
  • 8 replies
  • 484 views

Forum|alt.badge.img+11

 

(I've also tried using keystrokes to navigate to the button, but no use)

Also I did try changing the DOMXpath but I don't understand where it's going wrong.

 

 

 

wanna select next buttonbuttons to select

 

 

inspecting NEXT buttoninspect NEXT

 

 

Xpath in A360Xpath in A360

 

the bot says successful completion. but the button isn't getting clicked.

 

8 replies

Forum|alt.badge.img+11
  • Author
  • Navigator | Tier 3
  • 22 replies
  • February 26, 2022

no results.


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • February 26, 2022

Hi @sirispandana velagala​ ,

 

Could you pass this XPath into the Inspection Window just to validate whether it returns a unique match?

//button[@id='ext-gen426']

 

Kind Regards,

Ashwin A.K


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • February 26, 2022

Hi @sirispandana velagala​ ,

 

Then that means the XPath requires a bit more polishing, would be so kind as to include a larger snippet of the DOM so that I can help you with it?

 

Kind Regards,

Ashwin A.K


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • February 26, 2022

Or how about this:

 

//button[.='Next'] -> Does this return a unique match?

 

Kind Regards,

Ashwin A.K


Forum|alt.badge.img+11
  • Author
  • Navigator | Tier 3
  • 22 replies
  • February 26, 2022

This returns a unique match.

 

imageThis is how I set the attributes. Still no luck.

 

figured out how the keystrokes are working.

gonna try to use them.

 

Thanks !!

 

 


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • February 26, 2022

Hi @sirispandana velagala​ ,

 

I usually keep only the DOMXpath checked, and the rest inactive and it works out fine for me.

Its difficult to say for sure what the issue is unless I have access the the instance itself, but I'm glad you were able to come up with a solution on your own!

 

Kind Regards,

Ashwin A.K


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • February 28, 2022

Understood, some elements are tricky to work with.

 

Here is something else you could try, simply Capture the element and then pass in the DOMXpath and see if the bot is able to interact with it.

 

If that works, then slowly start unchecking the Object Properties one by one, and run the process each time just to check which property is responsible for successfully targeting the element of interest.

 

In my experiments, I noticed that elements encased inside frames require the HTML HasFrame to be enabled.

 

It could be different for you, its all trial and error.

 

If nothing else work, then you have to rely on Simulate Keystrokes.

 

Kind Regards,

Ashwin A.K

 

 


Forum|alt.badge.img+11
  • Author
  • Navigator | Tier 3
  • 22 replies
  • February 28, 2022

I've tried keeping only DOMXpath active as well, but the application has IFrame which is messing with the DOMXpath.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings