Page 1 of 1

Reg: Unable to identify Custom Datagrid

Posted: Sat Apr 09, 2011 8:56 am
by thangavel
Hi,

We have one Silverlight Application which is having custom control in it. I'm using Rx 2.3.8 version. It is not recognizing the Custom control. Here with i'm attaching the screenshots and snapshot of the parent control of that custom control (This snapshot does not have the expected control since it is not able to identify). I tried to identify the same control using UIAverify (Opensource). UIAverify is able to identify the control.
4-9-2011 11-43-43 AM.png
4-9-2011 11-37-27 AM.png
UnableToIdentifyCustomDatagrid.rxsnp

Re: Reg: Unable to identify Custom Datagrid

Posted: Mon Apr 11, 2011 12:01 pm
by Support Team
Hi,

maybe the content of your tab page is placed somewher outside of your tabpage list.
Try to find this out by analysing the UI presenattion with Spy.

It also my be possible that you have to activate the control by interacting with it (by mouse click..) to make it recognizeable for Ranorex.

Can you please provide us a snapshot file of your whole application under test.
Additionally can you please provide us access to your application under test.
This will make it much easier for us to help you solving your issue.

Kind Regards,
Tobias
Support Team

Re: Reg: Unable to identify Custom Datagrid

Posted: Sat May 07, 2011 11:35 am
by thangavel
Hi,
I'm sorry. The Application cannot be shared since it is restricted. Herewith I've attached entire snapshot of the Silverlight Part.

Using Ranorex SPY:
There is a container "ContentFrame". Inside that container, one TabPageList control is available. 2 tab controls are displayed (radTabItem1 & RadTabitem2) inside of that TabPAgeControl. But there are 3 Controls actually (I used UIAVerify to identify that third control. (Please refer the screenshot :"RanorexSnapshot.png")
RanorexSnapshot.png
Using UIAVerify SPY:
When I spy using UIAVerify tool, I'm able to see the third control ("grdShipment" data grid). (I've attached the screenshot [UIAVerify_MouseHover.png]. please refer). But I forced UIAVerify Tool to identify that control by Ctrl Clicking.
UIAVerify_MouseHover.png
ApplicationSL.rxsnp
I tried to record the flow using Ranorex recorder. But Ranorex is not able to recognize that "grdShipment" DataGrid.

Re: Reg: Unable to identify Custom Datagrid

Posted: Mon May 09, 2011 10:24 am
by Support Team
Hi,

have you tried to activate the control by interacting with it?
As mentioned before this might be necessary to make it recognizeable for Ranorex.

Kind regards,
Tobias
Support Team

Re: Reg: Unable to identify Custom Datagrid

Posted: Mon May 09, 2011 10:45 am
by thangavel
Yes. I Activated the SilverLight control from code. I was able to fetch all the controls from Ranorex code (But except that Grid control).

Re: Reg: Unable to identify Custom Datagrid

Posted: Mon May 09, 2011 11:08 am
by Support Team
Hi,

can you please provide us access to your application, as we do not have another possibility to help you solving your issue.
So it would be great if you can generate a test user and send the access data to our support mailbox support_at_ranorex.com.
With this test user we can analyze the GUI to help with automation.

Kind regards,
Tobias
Support Team

Re: Reg: Unable to identify Custom Datagrid

Posted: Mon May 09, 2011 11:35 am
by thangavel
I've sent a email (Sub: WHiBoard URL and credentials) to [email protected] reg URL, Credentials and Steps.

Kindly Let me know if you have any issues accessing the application from your network.

Re: Reg: Unable to identify Custom Datagrid

Posted: Tue May 10, 2011 9:15 am
by Support Team
Hi,

Tobias wrote you yesterday following lines per mail:
I’ve just talked to one of our developers and it looks like there is something broken within your implementation of the tab view.
It’s possible to get the data grid element form point but there is now way to build a fitting path for it.
That’s the reason why UIAVerify tool crashed several times when trying to track the data grid.

So please try to review your xaml code to make your data grid track-able for Ranorex.
I just post this to finish the thread.

Regards,
Peter
Ranorex Team