Search found 36 matches

by jsmith
Wed Sep 02, 2020 8:44 am
Forum: General Questions
Topic: Ensure Teamcity test exe is started with enough privileges (administrator)?
Replies: 1
Views: 1174

Ensure Teamcity test exe is started with enough privileges (administrator)?

Hi there, My tests are built and deployed to a vm, then the test exe is started. Often, I get permissions related failures. I ensure Agent, and AUT are Run as Administrator. I've turned UAC off. Running the tests in studio works just fine. Only when the test is deployed and run do I have a problem. ...
by jsmith
Thu Mar 21, 2019 3:07 pm
Forum: Automation Tools
Topic: Adding nuget to User code
Replies: 2
Views: 2076

Re: Adding nuget to User code

Hi Stub, It seems that, when I ticked multiple boxes to add the nuget package to my different projects, it did not do so. Some of the projects didn't throw the error and looking at their reference folders, they had the reference. I tried at the solution level to install them again, but without succe...
by jsmith
Thu Mar 21, 2019 12:41 pm
Forum: Automation Tools
Topic: Adding nuget to User code
Replies: 2
Views: 2076

Adding nuget to User code

Hello, I have some User code. I would like to add the Aforge.Core nuget package and use it in my user code. I have succesfully added the nuget package using Manage Packages. But now my build fails at the line: using Aforge; with a CS0246 error The type or namespace name 'AForge' could not be found (...
by jsmith
Tue Jan 08, 2019 1:01 pm
Forum: Mobile Testing
Topic: Website test in Chrome on Android device – howto
Replies: 10
Views: 4630

Re: Website test in Chrome on Android device – howto

I have got this working and can run Ranorex tests on native devices on Android. Are you still experiencing the ChromeDriver error? I had it before Christmas. I fixed it, but would have to dig to remember how.
by jsmith
Fri Dec 14, 2018 9:49 am
Forum: Mobile Testing
Topic: Testing the website in Safari on iOS with Ranorex 7.2
Replies: 4
Views: 2785

Re: Testing the website in Safari on iOS with Ranorex 7.2

Hello odklizec, It is the Appium-on-mac to real device that I am trying to set up at the moment :( It is my first experience with any apple devices, and so far I am not having fun. I have had commands not found, installed programs suddenly not there. I have used brew, and npm, then found one or both...
by jsmith
Fri Dec 14, 2018 9:32 am
Forum: Mobile Testing
Topic: Testing the website in Safari on iOS with Ranorex 7.2
Replies: 4
Views: 2785

Re: Testing the website in Safari on iOS with Ranorex 7.2

Hello An_snust,
Did you achieve this in the end? Right now I am trying to do exactly the same thing but am very stuck. Any advice you can offer would be much appreciated.
by jsmith
Thu Dec 06, 2018 9:21 am
Forum: Mobile Testing
Topic: Use native browsers for mobile web testing(IOS/Android) - 2018
Replies: 3
Views: 2482

Re: Use native browsers for mobile web testing(IOS/Android) - 2018

Hello odklizec, Thank you for your reply. I have been able to achieve this with Android real devices and an emulator. I was first alerted to the possibility of doing this by this post: https://www.ranorex.com/forum/viewtopic.php?f=23&t=5761&p=47806&hilit=native#p47806 :shock: I have effectively tick...
by jsmith
Wed Dec 05, 2018 3:44 pm
Forum: Mobile Testing
Topic: Use native browsers for mobile web testing(IOS/Android) - 2018
Replies: 3
Views: 2482

Use native browsers for mobile web testing(IOS/Android) - 2018

Hello, I have been on a mission these last two weeks to test real devices and emulated devices with our browser based app. Whilst we have the option to push browser tests to BrowserStack, this is very expensive if you want to test on devices. So I am tasked with investigating if Ranorex can run test...
by jsmith
Thu Nov 15, 2018 12:14 pm
Forum: General Questions
Topic: Exception when trying to capture an image
Replies: 6
Views: 1270

Re: Exception when trying to capture an image

Hello, An update: I seem to have fixed the problem (fingers crossed). This line: Bitmap newimg2 = Ranorex.Imaging.CaptureImage(itemAdapter); is the line that was failing to do as designed. Quite often, the line would pass but newimg2 would still be null. I now test to see if it is null after this li...
by jsmith
Wed Nov 14, 2018 3:25 pm
Forum: General Questions
Topic: Exception when trying to capture an image
Replies: 6
Views: 1270

Re: Exception when trying to capture an image

I have just added the visible = true steps to the one of my two repo items that this is affecting. However the other item is a 'Base' item. That is, it has a lot of items within it. Its xpath is: /dom[@visible='True' and @domain='mydomain.co.uk'] But it normally displays with Base: preceding it. I u...
by jsmith
Wed Nov 14, 2018 2:59 pm
Forum: General Questions
Topic: Exception when trying to capture an image
Replies: 6
Views: 1270

Re: Exception when trying to capture an image

Hello again odklizec, I have spent a lot of time trying to debug it. The error always occurs at that line, indicating newimg2 is null . Tracing that back, I fill newimg2 with an Image.Capture And tracing that back brings us to the itemAdapter. The itemAdapter is where I think it goes wrong. Sometime...
by jsmith
Wed Nov 14, 2018 9:58 am
Forum: General Questions
Topic: Exception when trying to capture an image
Replies: 6
Views: 1270

Exception when trying to capture an image

I have code which should capture a screenshot, either via a repo item, or via screen co-ordinates. I f I pass the method a repository item it will use it. I am regularly getting an exception "Object Reference Not Set to An Instance of an Object". I am not a natural coder. I get that something isn't ...
by jsmith
Fri Nov 02, 2018 4:37 pm
Forum: General Questions
Topic: System tests on BrowserStack
Replies: 12
Views: 3245

Re: System tests on BrowserStack

This was solved by using a Key Sequence {Return} on the box that it could find. Still a frustrating problem, but whilst this workaround works, it will have to do.
by jsmith
Fri Nov 02, 2018 4:33 pm
Forum: General Questions
Topic: System tests on BrowserStack 2
Replies: 1
Views: 1005

Re: System tests on BrowserStack 2

Fixed it.
I dragged on the repository item that is my domain.
Selected Invoke.
Changed the Invoke to Close()

This closes the browser, and BrowserStack then ends the session.
by jsmith
Fri Nov 02, 2018 4:31 pm
Forum: Mobile Testing
Topic: Switching between Automation Roots?
Replies: 9
Views: 3111

Re: Switching between Automation Roots?

Okay so I have found a solution. I have created an excel document which lists the name of each of my endpoints. Then set this document as a datasource for my test case I have then created a User code to change Endpoint to whatever string I pass in as a parameter. Then I have bound the data to the re...