Find Element

Ask general questions here.
adang82
Posts: 1
Joined: Wed Jul 27, 2022 7:09 pm

Find Element

Post by adang82 » Wed Jul 27, 2022 7:20 pm

Hi,

I have a project where I need to find all the asterisks on a screen (see attachment) and return the number of count. I find that usercode is probably the only approach to this. I created a repository item for the asterisks "body/div[10]/?/?/form[@name='missedQuestionsForm']/?/?/?/?/?/?/?/?/span[@innertext=' * ']" and attempted to use FindElement to search for the item but Ranorex doesn't seem to recognize FindElement. Please help. Thank you!
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Find Element

Post by odklizec » Wed Aug 31, 2022 7:31 am

Hi,

Please post a Ranorex snapshot (NOT screenshot) of the problematic page. With snapshot, we can provide much more reasonable suggestions. Screenshot is useless here ;) Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration