Search found 20 matches

by Nicklas
Tue Oct 22, 2013 9:09 am
Forum: Object Identification and Technologies
Topic: Relative path from repository item
Replies: 3
Views: 2989

Re: Relative path from repository item

Thanks, however this is not what I meant, the question was not accurate. What I meant was: is there a way to get the xpath part of a repository item, i.e. MyRepository -MyDOM --MyFolder :: //div[#'myDivID] ---MyItem :: ./input[@class='myClass'] We want to get the xpath of the MyItem without the base...
by Nicklas
Thu Oct 17, 2013 3:12 pm
Forum: Object Identification and Technologies
Topic: Relative path from repository item
Replies: 3
Views: 2989

Relative path from repository item

Hi,
We have a piece of user code where we need to get the relative path from a repository item, is that possible? We know about GetPath(), but that only gives us the absolute path, right?

/Nicklas
by Nicklas
Wed Oct 09, 2013 1:44 pm
Forum: General Questions
Topic: Feature request: quick access to user code in RM
Replies: 2
Views: 1493

Feature request: quick access to user code in RM

Hi, I have a small request to Ranorex Studio that would save a lot of clicks/day, and in the long run a lot of time. We use a lot of user codes in our record modules and today the only way to view/edit them is to right click on the user code row and select 'View code'. I would like to be able to dou...
by Nicklas
Tue Oct 08, 2013 10:25 am
Forum: Automation Tools
Topic: Suppress warnings for variable binding
Replies: 10
Views: 4728

Re: Suppress warnings for variable binding

Thank you! :D
by Nicklas
Tue Oct 08, 2013 9:13 am
Forum: Automation Tools
Topic: Suppress warnings for variable binding
Replies: 10
Views: 4728

Re: Suppress warnings for variable binding

Hi, we're trying to find the option to suppress the warnings for variable binding. Could you please pin point where the option is? Thank you.
by Nicklas
Wed Feb 01, 2012 8:18 am
Forum: Automation API
Topic: Triggering onblur
Replies: 5
Views: 2098

Re: Triggering onblur

Ok great! Thanks for the input. One question though, what do you mean by "call the event yourself"? Can I trigger the .focusout() event manually?
by Nicklas
Tue Jan 31, 2012 9:20 pm
Forum: Automation API
Topic: Triggering onblur
Replies: 5
Views: 2098

Re: Triggering onblur

I'm just setting the value ...emailField.Value = myEmail
by Nicklas
Tue Jan 31, 2012 4:48 pm
Forum: Automation API
Topic: Triggering onblur
Replies: 5
Views: 2098

Triggering onblur

On our web page we have an input field where users enters their email address. If they enter an invalid one a small icon will appear, and if they enter a valid another icon will show instead. The icon appears once the field loses focus. Here's the problem: After Ranorex have entered an email address...
by Nicklas
Thu Jan 05, 2012 10:52 am
Forum: Automation Tools
Topic: Read from multiple Excel sources in one test case
Replies: 9
Views: 6038

Re: Read from multiple Excel sources in one test case

Ehm, no I did not, sorry. I thought it was a Ranorex error code.

I'll download the Office Multilingual User Interface Pack and hope it helpes. Thanks for pointing me i the right direction!
by Nicklas
Wed Dec 28, 2011 3:52 pm
Forum: Automation Tools
Topic: Read from multiple Excel sources in one test case
Replies: 9
Views: 6038

Re: Read from multiple Excel sources in one test case

Thanks for the exampels. How ever I keep getting an error when opening up my Excel doc:

System.Runtime.InteropServices.COMException (0x80028018):
Old format or invalid type library. (Exception from HRESULT:0x80028018)

Any ideas?
by Nicklas
Wed Dec 21, 2011 4:17 pm
Forum: Automation Tools
Topic: Read from multiple Excel sources in one test case
Replies: 9
Views: 6038

Re: Read from multiple Excel sources in one test case

Thanks for replying Ciege, but I have also tried Microsoft.Office.Interop.Excel but couldn't get it working though. Could you please share some code examples? Still would like to know how to get it working with ExcelDataConnector as well, it seems like a simple and clean solution (once you get it wo...
by Nicklas
Wed Dec 21, 2011 3:46 pm
Forum: Automation Tools
Topic: Read from multiple Excel sources in one test case
Replies: 9
Views: 6038

Re: Read from multiple Excel sources in one test case

Thank you for pointing me in the right direction, it helped alot! Though I still can't get it to work. Now I get the following error message: The type or namespace name 'ExcelDataConnector' could not be found (are you missing a using directive or an assembly reference?) . What assembly do I need to ...
by Nicklas
Wed Dec 21, 2011 3:01 pm
Forum: Automation Tools
Topic: Read from multiple Excel sources in one test case
Replies: 9
Views: 6038

Read from multiple Excel sources in one test case

Hi, I want to do some automated tests on our registration. First I want to tryout some invalid email addresses then I move on and tryout some invalid usernames and last some invalid passwords. As data source I want to use an Excel document. The document has one sheet for invalid emails, one for inva...
by Nicklas
Wed Oct 12, 2011 3:38 pm
Forum: General Questions
Topic: Working with (browser) tabs
Replies: 5
Views: 4594

Re: Working with (browser) tabs

Great! Still think it's a very strang and cumbersome way. Many other tools have a much simpler and easier way on working with browser tabs. However Ranorex still rocks :)
by Nicklas
Wed Oct 12, 2011 9:50 am
Forum: General Questions
Topic: Working with (browser) tabs
Replies: 5
Views: 4594

Re: Working with (browser) tabs

Okej, thanks. I understand how to open and close tabs now. But I still don't have a clue how to switch between them. I've read the post you linked to but I'm still confused. In FF I can use EnsureVisible on an element and the correct tab will show, correct? But how do I do it in IE? "...For IE you h...