Search found 10 matches

by pksy
Thu Feb 02, 2012 12:13 am
Forum: Object Identification and Technologies
Topic: Unable to recognize element in grid
Replies: 5
Views: 3280

Re: Unable to recognize element in grid

I've made a lot of progress regarding this. So far I'm able to find a specific cell with a specific name. The part I'm stuck on is how do I right click that cell since I can't seem find such a command with GridEX. Or is there a way to convert a GridEXcell to a Ranorex.Cell? I've copied and pasted my...
by pksy
Fri Jan 20, 2012 8:10 pm
Forum: Automation API
Topic: How to convert string to repo item path
Replies: 4
Views: 3246

How to convert string to repo item path

Hi, I don't know if the following is even possible but here goes: I have the following repository structure myContainer -> myButton1 -> myButton2 -> myButton3 I was hoping to pass in a string into a method, where the string is the name of the repo item in the repository, then use it as a repo path a...
by pksy
Fri Jan 20, 2012 7:53 pm
Forum: Object Identification and Technologies
Topic: Unable to recognize element in grid
Replies: 5
Views: 3280

Re: Unable to recognize element in grid

I'm fairly new regarding this so please bear with me. In the link you provided, it's trying to get items from a ListView so it uses the following: System.Windows.Forms.ListView remoteListView = (System.Windows.Forms.ListView)control; For my case, would it be the following? Janus.Windows.GridEX.GridE...
by pksy
Wed Jan 18, 2012 8:01 pm
Forum: Object Identification and Technologies
Topic: Unable to recognize element in grid
Replies: 5
Views: 3280

Unable to recognize element in grid

Hi, I've been using RanorexSpy for a while and I've been able to successfully track elements. But there's on part of my application where it can't seem to recognize the columns/rows in a grid. I can only seem to recognize the whole grid as a whole and RanorexSpy sees this grid as a "Janus.Windows.Gr...
by pksy
Mon Jan 16, 2012 8:20 pm
Forum: General Questions
Topic: How to pass in repo item in method and access it's children
Replies: 6
Views: 2565

Re: How to pass in repo item in method and access it's children

Thanks! This is what I'm looking for. However, instead of using YourRepositoryFolders.MainAppFolder mainFolder, is there to be able to pass in any AppFolder so I can use the method for any folder in my repository?
by pksy
Thu Jan 12, 2012 7:57 pm
Forum: General Questions
Topic: How to pass in repo item in method and access it's children
Replies: 6
Views: 2565

How to pass in repo item in method and access it's children

Let's say my repository is structured as follows: Main -> Summary -> Tab1 -> Tab2 -> Detail -> Report -> Additional Info Is there a way for me to pass in the "Main" repo item into a method as a parameter and within that method, be able to access the children of "Main" repo item? If this is possible,...
by pksy
Fri Dec 30, 2011 8:41 pm
Forum: Automation Tools
Topic: How to set which properties to use for the Repository
Replies: 1
Views: 2154

How to set which properties to use for the Repository

Hi, How does the Repository know which property to use when it comes to automatically generating an xpath? For example: I have a Form where it has a property "controlname" and "title". When I recorded one action on that form, it created a repo starting with "/form[@controlname='New File']". But when...
by pksy
Tue Dec 20, 2011 8:27 pm
Forum: Automation API
Topic: How to use the same Key Sequence variable in diff recording
Replies: 5
Views: 2651

How to use the same Key Sequence variable in diff recording

Hi, I have several recordings where I enter the same company name in a text field on different pages of the application. I then converted the company name into a variable for all those recordings. I also have a global parameter "companyName" where the value is "Test Company". I understand that one o...
by pksy
Mon Dec 19, 2011 8:28 pm
Forum: Automation Tools
Topic: How to bind global param to all test cases
Replies: 3
Views: 3728

Re: How to bind global param to all test cases

Hi Martin, I appreciate your response. How would this work for variables that are define for each recording? For example, I have a recording where I enter the candidate first name in a text field. I made the name as a variable (candidateName) and when I click on the "Variables" toolbar menu in the r...
by pksy
Fri Dec 16, 2011 9:35 pm
Forum: Automation Tools
Topic: How to bind global param to all test cases
Replies: 3
Views: 3728

How to bind global param to all test cases

Hi, I've gone through the tutorial but I'm still fairly new to Ranorex so please bear with me. My test suite contains test cases that will always refer to the same client name. For ex. in TC1, I select the client from a dropdown while in TC2, I enter the client name in a text box. I've set the clien...