Search found 8 matches

by Jonathan
Thu Jan 20, 2011 5:50 pm
Forum: Automation API
Topic: Detecting flex cursor state
Replies: 1
Views: 2576

Detecting flex cursor state

I'm trying to check the state of the cursor inside of flex, specifically I'm looking to detect if it is currently setBusy or not. I tried getting the cursor information from the system, however it treats both states of the cursor as the same, which leads me to believe Flex masks the cursor. Is there...
by Jonathan
Tue Dec 14, 2010 10:28 pm
Forum: Automation API
Topic: Flex Component Loaded
Replies: 1
Views: 2085

Flex Component Loaded

I'm wondering if anyone has found a good way to recognize if a flex component has finished loading. We have a mixed html/flex page where the flex component can take a while to load. When I was just dealing with the html aspects I was using a WaitForDocumentLoaded() from WebDocument which was fine. N...
by Jonathan
Mon Nov 15, 2010 5:12 pm
Forum: Object Identification and Technologies
Topic: Expanding a Flex Tree
Replies: 12
Views: 4662

Re: Expanding a Flex Tree

The location of the triangle changes within the rectangle of the element, since the rectangle of the element doesn't change with an increase in depth in the tree, but the location of the triangle inside it does, this means that any method I make that uses the pixel location expected for the triangle...
by Jonathan
Mon Nov 15, 2010 3:44 pm
Forum: Object Identification and Technologies
Topic: Expanding a Flex Tree
Replies: 12
Views: 4662

Re: Expanding a Flex Tree

Writing with pixel coordinates is what I was trying to avoid, namely because the location of the triangle changes.

Is there any way for me to directly trigger a flex event firing, similar to how normal events can be fired?
by Jonathan
Mon Nov 15, 2010 3:18 pm
Forum: Object Identification and Technologies
Topic: Expanding a Flex Tree
Replies: 12
Views: 4662

Re: Expanding a Flex Tree

They have a different onClick event which I believe I should be triggering by clicking on the tree item prior to calling expand(), however they have a flex itemOpening event ( One of the events listed here under Events ) trigger which calls the loadChildren method. I know the itemOpening event is tr...
by Jonathan
Mon Nov 15, 2010 2:48 pm
Forum: Object Identification and Technologies
Topic: Expanding a Flex Tree
Replies: 12
Views: 4662

Re: Expanding a Flex Tree

I'm working with code, and if I could trigger the itemOpening event for the flex tree item I am clicking I believe it would work, however I'm not sure how to trigger an internal flex event from Ranorex.
by Jonathan
Thu Nov 11, 2010 2:53 pm
Forum: Object Identification and Technologies
Topic: Expanding a Flex Tree
Replies: 12
Views: 4662

Re: Expanding a Flex Tree

@Artur - Double clicking doesn't expand

I've included a snapshot of the state of the item (and tree) as it is when the tree is opened
by Jonathan
Wed Nov 10, 2010 10:06 pm
Forum: Object Identification and Technologies
Topic: Expanding a Flex Tree
Replies: 12
Views: 4662

Expanding a Flex Tree

We have a flex component to test that has a dynamically loading tree, where the children are only loaded into the tree when their parent node is expanded. However when I run TreeItem.expand() the tree item is expanded, but the children are not loaded. From my understanding there must be an event fir...