Page 1 of 1

Find an Item (as Text) from a list

Posted: Thu Apr 04, 2013 1:53 pm
by koxi
Dear All!

I have a problem with selection of an Item from a list. A have a list with many CPU´s and I must find one of them. But always only this type. My problem, this CPU is not in the same position in the list. The CPU what I need is the CPU 315-2AG12 315SB/DPM

It´s possible to find the CPU in the list? If yes, how?

See attached screenshot and the snapshot.

I use a ranorex 3.0.3.13152 and a Win7 Professional 64Bit
Many thanks for your answers.

Best regards
Norbert

Re: Find an Item (as Text) from a list

Posted: Fri Apr 05, 2013 10:05 am
by hs.fk
You can use a RXPath like this

Code: Select all

/form[@automationid='_frameworkWindow']/form/element/tree/treeitem/text[@name='CPU 315-2AG12 315SB/DPM']/..
Doc

Re: Find an Item (as Text) from a list

Posted: Mon Apr 08, 2013 8:18 am
by koxi
Hi hs.fk

thank you very much for your answare. I tried it today and it works :wink: Problem solved.

Best regards
Koxi