Reg: Unable to identify Custom Datagrid

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
thangavel
Posts: 50
Joined: Tue Jun 09, 2009 6:48 am
Contact:

Reg: Unable to identify Custom Datagrid

Post by thangavel » Sat Apr 09, 2011 8:56 am

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-43-43 AM.png (121.56 KiB) Viewed 1272 times
4-9-2011 11-37-27 AM.png
4-9-2011 11-37-27 AM.png (163.9 KiB) Viewed 1272 times
UnableToIdentifyCustomDatagrid.rxsnp
(126.01 KiB) Downloaded 248 times
Regards,
Thangavel.S

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

Re: Reg: Unable to identify Custom Datagrid

Post by Support Team » Mon Apr 11, 2011 12:01 pm

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
.
Image

thangavel
Posts: 50
Joined: Tue Jun 09, 2009 6:48 am
Contact:

Re: Reg: Unable to identify Custom Datagrid

Post by thangavel » Sat May 07, 2011 11:35 am

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
RanorexSnapshot.png (53.28 KiB) Viewed 1228 times
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
UIAVerify_MouseHover.png (66.44 KiB) Viewed 1228 times
ApplicationSL.rxsnp
(699.53 KiB) Downloaded 220 times
I tried to record the flow using Ranorex recorder. But Ranorex is not able to recognize that "grdShipment" DataGrid.
Regards,
Thangavel.S

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

Re: Reg: Unable to identify Custom Datagrid

Post by Support Team » Mon May 09, 2011 10:24 am

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
.
Image

thangavel
Posts: 50
Joined: Tue Jun 09, 2009 6:48 am
Contact:

Re: Reg: Unable to identify Custom Datagrid

Post by thangavel » Mon May 09, 2011 10:45 am

Yes. I Activated the SilverLight control from code. I was able to fetch all the controls from Ranorex code (But except that Grid control).
Regards,
Thangavel.S

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

Re: Reg: Unable to identify Custom Datagrid

Post by Support Team » Mon May 09, 2011 11:08 am

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
.
Image

thangavel
Posts: 50
Joined: Tue Jun 09, 2009 6:48 am
Contact:

Re: Reg: Unable to identify Custom Datagrid

Post by thangavel » Mon May 09, 2011 11:35 am

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.
Regards,
Thangavel.S

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

Re: Reg: Unable to identify Custom Datagrid

Post by Support Team » Tue May 10, 2011 9:15 am

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
.
Image