Search found 75 matches

by WajdaW
Tue Oct 02, 2012 2:02 pm
Forum: Object Identification and Technologies
Topic: Identifying ribbon buttons in excel
Replies: 5
Views: 3156

Re: Identifying ribbon buttons in excel

Sorry for late reply, I have postponed this task as I have some other which have higher priority. Yes I know about this option. But generally, our names could change. Let say, in one version title can be "Synchronize", in other "Synchronization", or we decide to support one more language and to test...
by WajdaW
Mon Sep 10, 2012 10:23 am
Forum: Object Identification and Technologies
Topic: Identifying ribbon buttons in excel
Replies: 5
Views: 3156

Re: Identifying ribbon buttons in excel

Here is snapshot.

Here are some documentation about technology used:
http://www.add-in-express.com/files/docs/adxnet7.pdf

It is basically, an Excel COM add-in.
by WajdaW
Wed Sep 05, 2012 1:30 pm
Forum: Object Identification and Technologies
Topic: Identifying ribbon buttons in excel
Replies: 5
Views: 3156

Identifying ribbon buttons in excel

I am developing some addin from Office using Addin Express. I just wonder if there is a way to assign some kind of id to my components so I can identify them uniquely? I found property Id on those buttons, but it seems that Ranorex cannot recognize it. I used earlier AccessibleName attribute, but it...
by WajdaW
Tue Apr 10, 2012 5:16 pm
Forum: Object Identification and Technologies
Topic: RxPath changing in runtime
Replies: 7
Views: 2481

Re: RxPath changing in runtime

Thanks Tobias, I used /*[@controlname='cancelButton'] path.
And than I checked in runtime whether element is Button or not, if not than I used it's child.

That solved problem.

Best regards,
Vladimir
by WajdaW
Tue Apr 10, 2012 2:02 pm
Forum: Object Identification and Technologies
Topic: RxPath changing in runtime
Replies: 7
Views: 2481

Re: RxPath changing in runtime

Code: Select all

//*[@controlName='cancelButton']
How should I cast this element to button adapter since once it can be Element with child element of type Button, and once can be Button?
by WajdaW
Mon Apr 09, 2012 11:25 am
Forum: Object Identification and Technologies
Topic: RxPath changing in runtime
Replies: 7
Views: 2481

RxPath changing in runtime

Hi, I'm running win 7 as administrator, with UAC off. I run my tests in single separate process in Nunit. Here is scenario: I have some dialog which contains beside other controls two buttons, 'Link' and 'Cancel'. When I click on 'Link' button some message box appears. When I close message box I try...
by WajdaW
Fri Jan 13, 2012 10:34 am
Forum: Object Identification and Technologies
Topic: Ranorex cannot find element when ran from test runner
Replies: 11
Views: 4669

Re: Ranorex cannot find element when ran from test runner

Yes, I figured out that when I changed assembly isolation settings that my RxPath changed as well. I changed RxPath accordingly but than tests failed on other elements. I'm now have a lot of other stuff to do that have higher priority. I have few ideas of maybe trying to remove @processname attribut...
by WajdaW
Thu Jan 05, 2012 5:31 pm
Forum: Object Identification and Technologies
Topic: Ranorex cannot find element when ran from test runner
Replies: 11
Views: 4669

Re: Ranorex cannot find element when ran from test runner

Support Team wrote:Assembly Isolation -> Run tests in a single sepearte process
Assembly Reload -> Check "Reload before each test run"
I set those settings and now all of my tests failed because username field wasn't found.
by WajdaW
Thu Jan 05, 2012 1:30 pm
Forum: Object Identification and Technologies
Topic: Ranorex cannot find element when ran from test runner
Replies: 11
Views: 4669

Re: Ranorex cannot find element when ran from test runner

These files were generated when I ran tests. I couldn't upload second one, so here it is: http://www.megaupload.com/?d=6GLDRXWY What is the difference when the element is found and when it is not found? Are you starting the execution differently? Or is it just random? There is no difference, I start...
by WajdaW
Wed Dec 28, 2011 2:09 pm
Forum: Object Identification and Technologies
Topic: Ranorex cannot find element when ran from test runner
Replies: 11
Views: 4669

Re: Ranorex cannot find element when ran from test runner

And the test is working alright if you are not using NUnit to start it? I always use NUnit to start the test because I only use ranorex automation API, and I'm writing my tests in code with this API. But when I start test I set timeout at 3 minutes for this element. And since it always finds elemen...
by WajdaW
Tue Dec 27, 2011 11:41 pm
Forum: Object Identification and Technologies
Topic: Ranorex cannot find element when ran from test runner
Replies: 11
Views: 4669

Re: Ranorex cannot find element when ran from test runner

UAC is turned off on my win 7 and that is my dev machine, so there is full .NET 4.0 framework. I haven't been starting nunit explicitly as admin before as I am admin at that machine. Now I have explicitly right clicked and and chosen 'Run as administrator' option. But it seems that problem persists,...
by WajdaW
Mon Dec 26, 2011 9:51 am
Forum: Object Identification and Technologies
Topic: Ranorex cannot find element when ran from test runner
Replies: 11
Views: 4669

Ranorex cannot find element when ran from test runner

I have following problem. When I start my test using nunit as my test runner Ranorex sometimes cannot find element. But when I saw that test hanging for a while, I opened my repo and tried to highlight element with ranorex spy, and I succeeded. Strange thing is that it is the same repo and same elem...
by WajdaW
Wed Nov 02, 2011 1:24 pm
Forum: Object Identification and Technologies
Topic: GroupBox sometimes container sometimes element
Replies: 17
Views: 5268

Re: GroupBox sometimes container sometimes element

Thanks Peter. That solved the problem. :)
by WajdaW
Fri Oct 28, 2011 10:40 am
Forum: Object Identification and Technologies
Topic: GroupBox sometimes container sometimes element
Replies: 17
Views: 5268

Re: GroupBox sometimes container sometimes element

Is there a way to somehow specify role for my win forms components. I figured out that if a role of control is unknown it becomes element which is default. Can I specify in my win form code control role for this case?
Will this fix the problem?
by WajdaW
Fri Oct 28, 2011 10:37 am
Forum: Object Identification and Technologies
Topic: GroupBox sometimes container sometimes element
Replies: 17
Views: 5268

Re: GroupBox sometimes container sometimes element

I am administrator on that machine. UAC is turned off.