Hello Team,
We are facing some problems, actually four problems in our WPF application. I have uploaded a file which explains in detail about the each problem along with the Screen shots.Please help us in regards to this matter.
Problem in recognizing the elements in Our WPF Application
-
- Posts: 4
- Joined: Mon Aug 30, 2010 10:26 am
Problem in recognizing the elements in Our WPF Application
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Problem in recognizing the elements in Our WPF Application
Hi,
It could be following reason why you don't get the grid inside the container during the second run:
We know about a bug in UIAutomation framework of Microsoft, that you have to click inside the container before you can automate the elements inside. Therefore please click first in the center of the container and the element should be available.
Combo-box issue:
You have first to open the combo-box, then the items with the text should be available. The text of the items will be generated if you open the combo-box.
About the issue with scrolling to an item which is not in the viewable are, please use the EnsureVisible() method or/and the Focus method, to bring the item to foreground.
Regards,
Peter
Ranorex Team
It could be following reason why you don't get the grid inside the container during the second run:
We know about a bug in UIAutomation framework of Microsoft, that you have to click inside the container before you can automate the elements inside. Therefore please click first in the center of the container and the element should be available.
Combo-box issue:
You have first to open the combo-box, then the items with the text should be available. The text of the items will be generated if you open the combo-box.
About the issue with scrolling to an item which is not in the viewable are, please use the EnsureVisible() method or/and the Focus method, to bring the item to foreground.
Regards,
Peter
Ranorex Team
-
- Posts: 4
- Joined: Mon Aug 30, 2010 10:26 am
Re: Problem in recognizing the elements in Our WPF Application
But the problem with that combo box is that in our Application U.I, that particular element looks like textbox not combo box in the UI, you can check that in the screen shots.
There are two properties which were changing.
If its the first run then those property values are
1. Visible is True.
2. Is Control Element is False.
After the first run those values are
1.Visible is False.
2.Is Control Element is True.
There are two properties which were changing.
If its the first run then those property values are
1. Visible is True.
2. Is Control Element is False.
After the first run those values are
1.Visible is False.
2.Is Control Element is True.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Problem in recognizing the elements in Our WPF Application
Hi,
Please could you post us a Ranorex Snapshot of your application to take a look on the controls?
How to create a Snapshot
It is much easier for us to analyze it with this snapshot.
Regards,
Peter
Ranorex Team
Please could you post us a Ranorex Snapshot of your application to take a look on the controls?
How to create a Snapshot
It is much easier for us to analyze it with this snapshot.
Regards,
Peter
Ranorex Team