How can I get the webElement which in an .htc file?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
sanliuus
Posts: 2
Joined: Tue May 06, 2008 4:49 pm

How can I get the webElement which in an .htc file?

Post by sanliuus » Tue May 06, 2008 5:15 pm

I really need your help on this problem. I encountered it that I can't get the webElement which in an .htc file (HTML Component) which is used to generate an dynamical calendar viewer. The URL is https://titanium.dev.mpslab.com/exchange/. You can use a1985z:a1985z to login. This page is like "Microsoft Outlook Web Access". After login, click Calendar on left navigation panel. I want to get webElement of calendar events in the calendar viewer. But through WebSpy can't get the XPath. Is there any way to control them?

Image

Thanks & Regards!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Post by Support Team » Sat May 10, 2008 10:49 am

Unfortunately the inside of the calendarview htc component used by Internet Explorer is not visible in the HTML DOM.
However, it should be possible to find accessibility elements in the calendar by using Element.FindChild() with Role "Table". (it works for me with your demo site)
Please use Ranorex Spy Pro to identify the elements you are looking for.

Michael
Ranorex Team