Search found 9 matches

by BruceBalen
Wed Jul 01, 2009 10:19 pm
Forum: Automation API
Topic: findSingle compile error
Replies: 2
Views: 2674

Re: findSingle compile error

I think I fixed it. I had to change a namespace declaration:

using System.Windows.Forms;
to
using WinForms = System.Windows.Forms;
by BruceBalen
Wed Jul 01, 2009 10:14 pm
Forum: Automation API
Topic: findSingle compile error
Replies: 2
Views: 2674

findSingle compile error

Okay, this one makes absolutely no sense. I'm using a very simple instance of findSingle to locate a save button and click it like this: Button save = cmsForm.FindSingle(".//button[@accessiblename='Save']"); I get a compile error: Cannot implicitly convert type 'Ranorex.Core.Element' to 'System.Wind...
by BruceBalen
Wed Jul 01, 2009 5:52 pm
Forum: Automation API
Topic: Retrieving a list of elements using FindDescendants()
Replies: 4
Views: 4611

Re: Retrieving a list of elements using FindDescendants()

Ciege does it again! Thank you so much. Moving on now.
by BruceBalen
Tue Jun 30, 2009 10:57 pm
Forum: Automation API
Topic: Retrieving a list of elements using FindDescendants()
Replies: 4
Views: 4611

Re: Retrieving a list of elements using FindDescendants()

Right the definition for findDescendants() says it returns IList, but if I do it that way, I get a different error: The type or namespace name 'IList' could not be found (are you missing a using directive or an assembly reference?) (CS0246) So, I just need to use the appropriate namespace, but every...
by BruceBalen
Tue Jun 30, 2009 8:59 pm
Forum: Automation API
Topic: Retrieving a list of elements using FindDescendants()
Replies: 4
Views: 4611

Retrieving a list of elements using FindDescendants()

I have been trying to extract the list of Text elements contained in an element using the FindDescendants() method. I used the syntax I found in examples posted here by the support team, but I'm getting an error nonetheless. I am working in C#. here is the code: List<Text> nodeList = repo.FormAmdocs...
by BruceBalen
Tue Jun 30, 2009 1:11 am
Forum: Automation Tools
Topic: Clicking an element obscured behind other elements
Replies: 7
Views: 6125

Re: Clicking an element obscured behind other elements

My workaround is working fine for my purposes and I'm already on to the next project. I should spend my time developing rather than pursuing this issue any further, so I'll have to let it rest for now. Thanks everyone for the help. :)
by BruceBalen
Fri Jun 19, 2009 8:46 pm
Forum: Automation Tools
Topic: Clicking an element obscured behind other elements
Replies: 7
Views: 6125

Re: Clicking an element obscured behind other elements

Thanks for all your help, Ciege. I was referring to any documentation on how Ranorex connects to DOM objects, but maybe that doesn't exist at the moment. Anyhow, I've figured out a workaround for the moment by checking the screenRectangle.Location values for the target object before clicking it. If ...
by BruceBalen
Fri Jun 19, 2009 2:14 am
Forum: Automation Tools
Topic: Clicking an element obscured behind other elements
Replies: 7
Views: 6125

Re: Clicking an element obscured behind other elements

Well, my first question is how does a user do it manually? Is it possible for a user to click an object behind another object? If there is a user workaround, try mimicking that functionality... If not sounds like a poor design from development. A user would scroll through the list until they bring ...
by BruceBalen
Thu Jun 18, 2009 10:23 pm
Forum: Automation Tools
Topic: Clicking an element obscured behind other elements
Replies: 7
Views: 6125

Clicking an element obscured behind other elements

Hi all, I hope someone here has had experience with this problem. Here's the story: I have a program that is doing a lot of clicking on text elements in a web form. After a certain point, the list containing these elements gets long and starts to scroll upward. This means that some elements near the...