How do I access button control

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
nshah
Posts: 1
Joined: Mon Jan 23, 2017 11:05 pm

How do I access button control

Post by nshah » Mon Jan 23, 2017 11:10 pm

Hi,

I have following xpath but getting error that element does not support for this element.

Ranorex.Unknown oAdpt = oContainerRepo.TradeSation.StatusBar;

Button item1 = oAdpt.FindSingle<ListItem>("/form[@class='ORPLAT.EXE TRADESTATION']/element[@class='BCGPDockBar:400000:8:10005:10']/element/button?[4]"); :|

Any idea or suggestion?
Attachments
Ranorex Element error with BCGP control.png
Ranorex element error
Ranorex Element error with BCGP control.png (31.97 KiB) Viewed 491 times
Ranorex elrment error.png
Attached is screen shot
Ranorex elrment error.png (24.99 KiB) Viewed 491 times
Last edited by nshah on Tue Jan 24, 2017 4:04 pm, edited 2 times in total.

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

Re: How do I access button control

Post by odklizec » Tue Jan 24, 2017 9:20 am

Hi,

Please post at least a Ranorex snapshot (NOT screenshot!) of the element in question. There is nothing anyone else can do or suggest without at least Ranorex snapshot (sample app would be even better). 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