Search found 10 matches

by jviana13
Thu May 13, 2021 3:10 pm
Forum: General Questions
Topic: Repository Items
Replies: 1
Views: 922

Repository Items

Hi all, I have a user code function, where I pass a Repository Item created with Spy. The code, dependind of some conditions will do several actions on the items. My question is, ow can I operate the items? for example: public void DoSomething(repository item){ if(something){ repository item -> perf...
by jviana13
Wed Apr 28, 2021 4:05 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

Hy,

The AbsolutePath results. thank you very much for your fast and great help.

regards
by jviana13
Wed Apr 28, 2021 3:08 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

Hy, Yes, the code works just fine. But I have an issue now. the code bellow, only the one I use the "repoElement" works, I can´t figure out why when I use the path fails the validation. The first one work, the second one no. public void GetXpathFromRepoItemInfo(RepoItemInfo repoElement){ string xpat...
by jviana13
Wed Apr 28, 2021 2:25 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

Hy,

I try to use it, but I got the follow code compile error:
Non-invocable member 'RepoItemInfo.Path' cannot be used like a method. (CS1955)


Do you know what I am doing wrong?
by jviana13
Tue Apr 27, 2021 4:55 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

More simple, how can I get the path, from an item on the repository?

Because that could help me understand how the xpath and the RXpath work.
by jviana13
Tue Apr 27, 2021 4:09 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

Yes, that would be perfect but the person I came to replace, have a high level of ranorex coding, and I need to catch up fast. Image this instead, what can I use on the variable newXPath (code 1)? For example, if I copy the path from the items on ranorex, and create a variable for example (code 2): ...
by jviana13
Tue Apr 27, 2021 3:32 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

Ok, so, let me try to simplify it. I have installed on my Chrome browser the Ranorex tool to extract the XPath from any item(exemple on image attached). With this, I want to, using the code, create a new item, to then perform a validation, for example. RxPath newXPath = "xpath copy from the browser"...
by jviana13
Tue Apr 27, 2021 10:31 am
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

I did not know what was that. Thank you.

Unfortunatly I can't do it because is private information of my company. It that will be an issue? Because it's a normal button, it could be anything actually. My question is how I can handle XPaths on ranorex.
by jviana13
Tue Apr 27, 2021 9:25 am
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Re: Tags, Web aplication and user code

Ok. So, for example. I have a website, with a certain url, and I am doing some test on it. But for the validation of some instances, I need to aply some logic (C#) and decide witch option select. On the image atached you could see what tipe of options I have. For the Download users, I have imagine, ...
by jviana13
Wed Apr 21, 2021 3:09 pm
Forum: General Questions
Topic: Tags, Web aplication and user code
Replies: 15
Views: 2127

Tags, Web aplication and user code

Hello all, I'm new at Ranorex and I need to create a usercode routine to select multiple items on a website. I have the XPath of each item, and I want to select, and insert text on the items that have that option, and then perform other actions. the problem that I'm facing is that it seams that I ca...