Search found 23 matches

by sherinjab
Mon Apr 30, 2018 3:24 pm
Forum: Object Identification and Technologies
Topic: Unable to read header text in a datagrid from code randomly
Replies: 3
Views: 1720

Re: Unable to read header text in a datagrid from code randomly

Hi, We do not use Ranorex Studio but Ranorex dlls are used in our framwork to access controls based on the rxpath and using methods like FindSingle for single element and Find for a list. Its a WPF desktop application and I'm using Ranorex 8.0. The rxpath is /form[@wpfnative='True' and @title='Hubbl...
by sherinjab
Mon Apr 30, 2018 2:21 pm
Forum: Object Identification and Technologies
Topic: Unable to read header text in a datagrid from code randomly
Replies: 3
Views: 1720

Unable to read header text in a datagrid from code randomly

Hi, I need to read the column names of a datagrid which is dynamic and my code works sometimes but does fail a lot too. I have the correct rxpath to access these text values and it works every time I use it on Ranorex Spy, however when I debug the code to test the same Rxpath using the following cod...
by sherinjab
Fri Feb 23, 2018 2:45 pm
Forum: Object Identification and Technologies
Topic: Unable to run tests after upgrading to Ranorex 8
Replies: 12
Views: 5244

Re: Unable to run tests after upgrading to Ranorex 8

FYI, I even tried to comment the lines which failed before and see if it would work for other code which looks for a Ranorex form and got the error "Could not load file or assembly 'Ranorex.Core.WinApi, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. An...
by sherinjab
Fri Feb 23, 2018 9:58 am
Forum: Object Identification and Technologies
Topic: Unable to run tests after upgrading to Ranorex 8
Replies: 12
Views: 5244

Re: Unable to run tests after upgrading to Ranorex 8

Yes, tried running without teamcity and I still get the same error. I can find all the C++ runtime dlls too. Also tried using the latest version sent by you but still sadly facing the same issue.

Thanks,
Sherin
by sherinjab
Fri Feb 23, 2018 9:20 am
Forum: Object Identification and Technologies
Topic: Unable to run tests after upgrading to Ranorex 8
Replies: 12
Views: 5244

Re: Unable to run tests after upgrading to Ranorex 8

Yes I do have Ranorex installed even there with a Runtime license. The runs from teamcity worked fine on the same agent when I had Ranorex 6.1. The error has come up only after upgrading to the latest version.
by sherinjab
Thu Feb 22, 2018 5:26 pm
Forum: Object Identification and Technologies
Topic: Unable to run tests after upgrading to Ranorex 8
Replies: 12
Views: 5244

Re: Unable to run tests after upgrading to Ranorex 8

Hi Alex, Thanks for the instructions and it definitely helped getting the tests running locally and I could also reduce the number of plugins to just the Winforms one add another additional dll i.e Ranorex.Libs.Util. However, now I cannot run the tests on teamcity due to the same error. I'm trying t...
by sherinjab
Tue Feb 20, 2018 2:45 pm
Forum: Object Identification and Technologies
Topic: Unable to run tests after upgrading to Ranorex 8
Replies: 12
Views: 5244

Unable to run tests after upgrading to Ranorex 8

Hi, I recently upgraded my Ranorex version from 6.1 to 8 and finding it really hard to get my tests running again. We run our tests from Visual Studio instead of Ranorex Studio and before worked by just adding the dlls Ranorex.Core and Ranorex.Plugin.Winforms as reference to run the tests on our des...
by sherinjab
Fri Sep 09, 2016 4:17 pm
Forum: General Questions
Topic: Can the new feature soln settings be used with Visual Studio
Replies: 1
Views: 1419

Can the new feature soln settings be used with Visual Studio

Hi, We have installed Ranorex 6.1 as a team and would be interested to use the new solution settings feature that come with it, so all of us and the test agent have the same Ranorex settings. The link below explains it mainly in use with Ranorex Studio but we use Visual Studio as our IDE and execute...
by sherinjab
Thu Nov 05, 2015 6:04 pm
Forum: Object Identification and Technologies
Topic: Unable to find a control when trying through MStest.exe
Replies: 9
Views: 2790

Re: Unable to find a control when trying through MStest.exe

This issue was resolved after wasting many days but the cause of the issue was due to the difference in RxPaths generated between Ranorex Studio and Spy.
When I used the RxPath as used by Studio, even mstest could find the control and the test ran successfully
by sherinjab
Mon Sep 21, 2015 3:06 pm
Forum: Object Identification and Technologies
Topic: Unable to find a control when trying through MStest.exe
Replies: 9
Views: 2790

Re: Unable to find a control when trying through MStest.exe

Hi,

Anyone who can help me on this?Still not been able to resolve the issue.

Thanks
Sherin
by sherinjab
Fri Sep 18, 2015 11:55 am
Forum: Object Identification and Technologies
Topic: Unable to find a control when trying through MStest.exe
Replies: 9
Views: 2790

Re: Unable to find a control when trying through MStest.exe

Hi Markus, I start the mstest.exe via CMD and I had set both CMD and mstest.exe to run as Administrator same as the application but it still doesn't work. I find it weird how it's not able to identify this control while it can access other windows controls in the same form. I've attached a snapshot ...
by sherinjab
Thu Sep 17, 2015 12:07 pm
Forum: Object Identification and Technologies
Topic: Unable to find a control when trying through MStest.exe
Replies: 9
Views: 2790

Re: Unable to find a control when trying through MStest.exe

Hi Markus, Thanks for the suggestions and even I agree it seems to be something related to security or permissions. I'm using Ranorex 5.4.1 currently testing on Windows 8 but I tested on Widnows 7 and it's the same behaviour on both.My AUT is a Windows application with many WPF controls but this par...
by sherinjab
Tue Sep 15, 2015 5:33 pm
Forum: Object Identification and Technologies
Topic: Unable to find a control when trying through MStest.exe
Replies: 9
Views: 2790

Unable to find a control when trying through MStest.exe

Hi, I'm facing a weird issue where a Combobox which is identified when I run my test on Visual Studio cannot be identified when I run the same test via command line using mstest.exe. I even tried debugging the issue by attaching to the Mstest process, but there is no other problem but just that it c...
by sherinjab
Wed Sep 09, 2015 2:35 pm
Forum: How To …
Topic: Trigger the appln on a remote machine using Process.Start
Replies: 1
Views: 2401

Re: Trigger the appln on a remote machine using Process.Start

Hi,

I tried to get it working and it now works for me after following the steps mentioned in http://jake.ginnivan.net/teamcity-ui-test-agent/, mainly the one to do the agent start from Startup and after doing a restart of my teamcity agent.

Thanks,
Sherin
by sherinjab
Wed Sep 09, 2015 11:45 am
Forum: How To …
Topic: Trigger the appln on a remote machine using Process.Start
Replies: 1
Views: 2401

Trigger the appln on a remote machine using Process.Start

Hi, I'm trying to run my automated Ranorex UI tests through teamcity ,which were created using Visual Studio IDE. I've created the a configuration on teamcity to do the build and run the tests using MSTest. I want these tests to be executed on a remote machine , which I have logged into and also hav...