Search found 12 matches

by din2dino
Wed Dec 31, 2008 9:06 pm
Forum: General Questions
Topic: Function evaluation timed out
Replies: 1
Views: 8289

Function evaluation timed out

Hi, I have a table with wround 70 child elements that I iterate through to find the element I want. However after few iterations, teh childs are returned as null. I ma using GetChild(index). After few iterations, it child is returned as null. While debugging, state of the table is shown as Funciton ...
by din2dino
Wed Dec 10, 2008 12:35 am
Forum: Automation API
Topic: Cant get list of controls properly
Replies: 1
Views: 2620

Cant get list of controls properly

Hi, I have this winforms control, where i am trying to retrive the list of controls and pick the one I want based on index. However the list of controls returned keeps changing. First time controls in the tab and other tab are also returned. When i call the same code second time, it returns the cont...
by din2dino
Thu Dec 04, 2008 10:17 pm
Forum: General Questions
Topic: Table doesnt return rows
Replies: 3
Views: 2793

Ranorex doesnt show any rows too. I can retrive cells, but I would want to know the number of columns and rows as well. This can change in my tableand with just cells I cant find the rows/clumns

Any ideas?
by din2dino
Tue Dec 02, 2008 6:28 pm
Forum: General Questions
Topic: Table doesnt return rows
Replies: 3
Views: 2793

Table doesnt return rows

Hi,

I have a table element say myTable

and when I call

Ranorex.Element[] rows = myTable.FindChildren(Role.Row);
Console.WriteLine(rows.Length);

It reutrns 0. Only cells are returned.

Am i missing something?
by din2dino
Wed Nov 26, 2008 6:07 pm
Forum: General Questions
Topic: button elemetn found but mouse.moveto(element) doesnt work
Replies: 1
Views: 2844

button elemetn found but mouse.moveto(element) doesnt work

Hi , I have a button, which i retrieved on name as element, element is retirived, not null and when i call mouse.move to(element) it doesnt go to it location but some where else. I dont have any other control by the same name. Location is not empty either. This is my code. Ranorex.Element button = f...
by din2dino
Thu Nov 06, 2008 7:40 pm
Forum: General Questions
Topic: State.expanded and State.Collapsed
Replies: 4
Views: 3147

Thanks for the code. This helped me. however I noticed that element.state & state.collpased is returning the same value when collapsed/expanded.

Am I missing something?
by din2dino
Thu Nov 06, 2008 1:42 am
Forum: General Questions
Topic: State.expanded and State.Collapsed
Replies: 4
Views: 3147

Any solution?
by din2dino
Wed Nov 05, 2008 9:24 pm
Forum: General Questions
Topic: Control with no name and ID
Replies: 7
Views: 3348

Thanks for this sample. I did actually try this. However I get a lot of such Role.Text elements that I cant manage to know the index of the one I need.
:(
by din2dino
Wed Nov 05, 2008 8:54 pm
Forum: General Questions
Topic: Control with no name and ID
Replies: 7
Views: 3348

Element Role is Text (42)
And Element Name is blank. Nothing listed.

Class is Internet Explorer_Server
by din2dino
Wed Nov 05, 2008 8:45 pm
Forum: General Questions
Topic: Control with no name and ID
Replies: 7
Views: 3348

This is not a web application. Its a desktop app.
by din2dino
Wed Nov 05, 2008 8:26 pm
Forum: General Questions
Topic: Control with no name and ID
Replies: 7
Views: 3348

Control with no name and ID

How can I get the contrl of an item that has no name/id shown. Its actually a text box and spy shows no name and Id except for class is Internet Explorer_Server.

Whats the solution?
by din2dino
Wed Nov 05, 2008 8:23 pm
Forum: General Questions
Topic: State.expanded and State.Collapsed
Replies: 4
Views: 3147

State.expanded and State.Collapsed

I have a header which I cna expand and collapse and I want to check if it is collapsed.

After I collapse it, I cant get the element state to State.Collapsed. Its only shown as readonly.

How can I get this thing to work?