Search found 5 matches

by bta
Tue Sep 06, 2016 11:00 am
Forum: How To …
Topic: Declare an Item as a new variable
Replies: 8
Views: 2738

Re: Declare an Item as a new variable

I don't know if I was clear in my question ... Let me explain : As you will see bellow, In my repository, I have three tables converted to "ROOTED FOLDER" : Capture.PNG In a code module I want to use one of these three tables, switch a condition. So for that, I would declare at the beginning a gener...
by bta
Mon Sep 05, 2016 9:31 am
Forum: How To …
Topic: Declare an Item as a new variable
Replies: 8
Views: 2738

Re: Declare an Item as a new variable

Hi krstcs Thank you for your reply. Your suggestion (the self property) solved my first problem (implicitly convert the type "RootedFolder" to "Ranorex.Table"). But the problem now is that by declaring the variable as "Ranorex.Table" (while it is "RootedFolder"), it is not possible to access to the ...
by bta
Fri Sep 02, 2016 4:03 pm
Forum: How To …
Topic: Declare an Item as a new variable
Replies: 8
Views: 2738

Re: Declare an Item as a new variable

Hi Robert, Thanks again for your help. When I check the item with Ranorex Spy, it is indeed a table, as you see in the screenshot as you see bellow : Capture.PNG [/size] But it does not work when I declared the variable with like Ranorex.Tableas I don't know if the cause of the issue is the fact of ...
by bta
Fri Sep 02, 2016 10:32 am
Forum: How To …
Topic: Declare an Item as a new variable
Replies: 8
Views: 2738

Re: Declare an Item as a new variable

Thank you RobinHood42 for your reply You are right !! indeed basically they were tables, but I forgot that I converted them to "Rooted Folder" in order to add items (rows, cells,...). So that's why their type is no longer "Ranorex.Table". I don't Know if there is a general type of "Rooted Folder" (l...
by bta
Thu Sep 01, 2016 11:10 am
Forum: How To …
Topic: Declare an Item as a new variable
Replies: 8
Views: 2738

Declare an Item as a new variable

Hi, I have the following problem: I our SUT there are a window that contains three tables (with diférents path). In a code module, I would use one of these three tables (switch a condition) : Ranorex.Table tableau = null; switch (_numero_de_tableau) { case "1" : tableau = repo.Superviseur_Logistique...