Search found 5 matches

by Uwes
Wed Sep 02, 2015 4:30 pm
Forum: General Questions
Topic: SetAttributeValue and Web
Replies: 3
Views: 1803

Re: SetAttributeValue and Web

Seems to fail with any "text box" - like thing including https://de.wikipedia.org./wiki/Wikipedia:Hauptseite -> the "Search/Suchen" textbox top right. Seems to be a "input" html tag. also the "pattern" textbox on http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ash...
by Uwes
Wed Sep 02, 2015 2:07 pm
Forum: General Questions
Topic: SetAttributeValue and Web
Replies: 3
Views: 1803

SetAttributeValue and Web

Hello,

I've been trying to work with items on a website, i.e. using

Code: Select all

mytextbox.Element.SetAttributeValue("Text", "123");
Things that work in winforms don't work in the web.

Why? :roll:
by Uwes
Wed Sep 02, 2015 1:45 pm
Forum: General Questions
Topic: find element in Repo by name
Replies: 4
Views: 3143

Re: find element in Repo by name

allright, here is my own solution: 1. Put all repo elements in a (simple) folder in the repository and give them good names 2. Use the same names in the external application (in my case TestBench interactions) 3. The external application calls a method with the following code: var elementsInFolder =...
by Uwes
Wed Sep 02, 2015 9:55 am
Forum: General Questions
Topic: find element in Repo by name
Replies: 4
Views: 3143

Re: find element in Repo by name

I am using a different Tool (imbus TestBench) to specify my test cases. That's the place that needs to be tidy and useful for non-coders, the Ranorex code is the place where things may get messy :-) So I have a generic Interaction in TestBench, let's say "Click". There is a parameter that says what ...
by Uwes
Wed Sep 02, 2015 8:33 am
Forum: General Questions
Topic: find element in Repo by name
Replies: 4
Views: 3143

find element in Repo by name

Say I have a string, let's call it "Textbox1". How can I find and use the corresponding item in my repository, say, "Page.Something.Textbox1"? - the "Page.Something" - part is known. - I want to use it as a <Ranorex.Text> object and use it, i.e. changing the text for this textbox, like t.Element.Set...