Search found 13 matches

by haniball
Tue Jul 19, 2016 10:27 am
Forum: Automation Tools
Topic: Ranorex Agent with Powershell
Replies: 1
Views: 2323

Ranorex Agent with Powershell

We currently start Tests with PSExec wich has issues with User Sessions and we are not sure if this is still the recommended way to call Ranorex TestCases on a remote machine.

Can you somehow call the Ranorex Agent and tell him what to execute? Maybe with Powershell?
by haniball
Thu Jun 30, 2016 3:03 pm
Forum: Bug Reports
Topic: [Ranorex 5.4] Failed to instrument WPF process.
Replies: 6
Views: 2886

Re: [Ranorex 5.4] Failed to instrument WPF process.

I have this problem on execution. Could you explain how to solve this issue on the target machine that just executes the tests please?
by haniball
Wed May 25, 2016 10:42 am
Forum: General Questions
Topic: Code Coverage Tab
Replies: 1
Views: 1909

Code Coverage Tab

What is the Code Coverage Tab in the project settings good for? Is there a possibility to analyze Code Coverage?
by haniball
Tue May 03, 2016 2:05 pm
Forum: How To …
Topic: WaitForNotExists on type Element
Replies: 5
Views: 3329

Re: WaitForNotExists on type Element

Mhmm well I don't really say Find() on //text[@innertext='myText']. I just say ....//text to get child elements of a container with multiple results and save the results to a list. Then I get a special item from the list usally by TextValue and do something with it. So I never really have the path t...
by haniball
Mon May 02, 2016 1:28 pm
Forum: How To …
Topic: WaitForNotExists on type Element
Replies: 5
Views: 3329

Re: WaitForNotExists on type Element

Thanks for your answer. That's what I thought too but I have as mentioned the problem that the path is not good if I say Find() and then .GetPath() I found that if I say: Ranorex.Text mySearchResultItem = Host.Local.Find("//text['myText']") and then mySearchResultItem.GetPath() I do not get a good p...
by haniball
Tue Apr 26, 2016 9:49 am
Forum: How To …
Topic: WaitForNotExists on type Element
Replies: 5
Views: 3329

WaitForNotExists on type Element

I have code that finds elements with the Find() option. With find you get an element of certain type e.g. Ranorex.Text but not the Info element. It seems you can't get the RepoItemInfo from the element (which seems legit because it has nothing todo with the repo). But for example WaitForNotExists() ...
by haniball
Wed Dec 30, 2015 12:28 pm
Forum: Automation Tools
Topic: Removed TFS settings - still prompted for server...
Replies: 4
Views: 2423

Re: Removed TFS settings - still prompted for server...

This isn't really a fix/solution. Ranorex doesn't support GIT and in this case if this thread is correct you cannot get rid of the popup to connect to Team Foudnation Server. @Support Team - In case you didn't fix this since 2011, could you fix this in a future release? There really should be a chec...
by haniball
Thu Oct 15, 2015 8:52 am
Forum: How To …
Topic: Find Closest Element by Id
Replies: 3
Views: 3257

Re: Find Closest Element by Id

Thanks following-sibling is a good hint but not the real solution. Sometimes the text is in an extra label field etc. and sibling takes only elements on the same tree-level (as far as I understood). The closest method would scan for the nearest element in the tree that matches the criteria. Is there...
by haniball
Tue Sep 22, 2015 11:17 am
Forum: Automation Tools
Topic: Change C# type of repository item
Replies: 7
Views: 3334

Re: Change C# type of repository item

You ask if that is related to the find Method. No I am looking for a command like jQuery closest but in Ranorex.

I created a new Post because it's not really related to this one... -> http://www.ranorex.com/forum/find-close ... t8492.html
by haniball
Tue Sep 22, 2015 11:17 am
Forum: How To …
Topic: Find Closest Element by Id
Replies: 3
Views: 3257

Find Closest Element by Id

-LIST --Listitem ---Headline ---Status Step1: I get all the headlines in a list via the Find<Text>('text[@automationid='headline']"') method. I now have a IList<Text> headlines. Step2: I find the element with a specific headline via a Linq Query like myHeadlines.First(x=>x.TextValue == "Hadline1");....
by haniball
Mon Sep 21, 2015 10:57 pm
Forum: Automation Tools
Topic: Change C# type of repository item
Replies: 7
Views: 3334

Re: Change C# type of repository item

Damn, took me half the day to find out myself what you posted then with a perfect explaination :). It's not exactly what I was looking for because I don't like hardcoded strings in my sourcecode but it's not too bad. After that problem got solved the very next question was how to find the nearest it...
by haniball
Fri Sep 18, 2015 9:55 pm
Forum: Automation Tools
Topic: Change C# type of repository item
Replies: 7
Views: 3334

Re: Change C# type of repository item

Thanks but that's only a bit helpful. You could at least point to the Find Method in the documentation or give a short example. Does the Find method search for that very same element and casts it to the given type (in this case a list)? Is it like: Ranorex.Text myElement = repo.ElementXY; List<Ranor...
by haniball
Fri Sep 18, 2015 2:32 pm
Forum: Automation Tools
Topic: Change C# type of repository item
Replies: 7
Views: 3334

Change C# type of repository item

I have a path like this /form/container/list[@classname='ListBox']/listitem/text[1] This should return the first textbox of all listitems in a list. But the C# type in the *.cs file of the repository is Ranorex.Text. Therefore I can't use foreach. How can I a list of items via repository without usi...