Search found 4 matches

by martinO
Thu Apr 07, 2011 4:22 pm
Forum: Automation API
Topic: Count of elements within a container
Replies: 7
Views: 7448

Re: Count of elements within a container

Hi Support Team We would like to record/write our tests within Ranorex Studio without coding. Is there any way with Ranorex 3 to realize the discussed functionality of counting elements without having to code it? What is the easiest way to write a test that includes counting elements? Thanks for you...
by martinO
Wed Dec 15, 2010 2:34 pm
Forum: Object Identification and Technologies
Topic: RepoItemInfo cache of AbsolutePath
Replies: 4
Views: 3375

Re: RepoItemInfo cache of AbsolutePath

Hi Tobias Thanks a lot. It works (with a little change). Working code: public void SetUseCache(bool useCache) { this.MyForm.UseCache = useCache; } public void SelectSolutionManagerWindowByFileName(string openedFileName) { this.MyForm.BasePath = string.Format( "/form[@automationid='MainView' and @win...
by martinO
Wed Dec 15, 2010 8:42 am
Forum: Object Identification and Technologies
Topic: RepoItemInfo cache of AbsolutePath
Replies: 4
Views: 3375

Re: RepoItemInfo cache of AbsolutePath

Hi Alex MyForm has no parent folder. protected MyRepositoryFolders.MyAppFolder MyForm { get { return MyRepositoryFolders.Instance.Form1; } } Is it possible just to detect the window by windowtitle? Now the error is "Ranorex.ElementNotFoundException : No element found for path '/form[@automationid='M...
by martinO
Tue Dec 14, 2010 4:01 pm
Forum: Object Identification and Technologies
Topic: RepoItemInfo cache of AbsolutePath
Replies: 4
Views: 3375

RepoItemInfo cache of AbsolutePath

Hi there I made a little method to detect a window of my application with windowtitle. (SelfInfo is of type RepoItemInfo) First time I invoke this method it works as expected. After that the AbsolutePath in SelfInfo is set to "/form[@automationid='MainView']" and when I invoke the method the second ...