Search found 15 matches

by yam
Sun Jun 10, 2018 8:33 am
Forum: Automation API
Topic: start install process fails with Access denied
Replies: 7
Views: 2481

Re: start install process fails with Access denied

Ignore the redundend +. In the script there is only one.
Anyway, it seems that the copy file succeeds. File exists. I get the error when using install process.
by yam
Thu Jun 07, 2018 1:28 pm
Forum: Automation API
Topic: start install process fails with Access denied
Replies: 7
Views: 2481

Re: start install process fails with Access denied

I've changed the file copy to temp folder. Still getting Access Denied error.
by yam
Thu Jun 07, 2018 12:20 pm
Forum: Automation API
Topic: start install process fails with Access denied
Replies: 7
Views: 2481

Re: start install process fails with Access denied

Actually, there is no special reason for copying the setup file to the desktop. I can copy it to any folder.
Anyway, I'm running the test via Jenkins, to a computer with a administrator rights. Is there a way to run the script with administrator privileges (command line)?
by yam
Thu Jun 07, 2018 9:33 am
Forum: Automation API
Topic: start install process fails with Access denied
Replies: 7
Views: 2481

start install process fails with Access denied

I have a script that copies a setup file to the desktop and runs the install process. The script is truggered from Jenkins. The problem is that, sometimes , the script fails with Access denied error: [Error ][Module]: Access to the path 'C:\Users\builder\Desktop\setup.exe' is denied. I have full adm...
by yam
Wed Feb 28, 2018 1:51 pm
Forum: Automation API
Topic: calling msiexec
Replies: 1
Views: 1726

calling msiexec

In my code I'm calling msiexec twice. Once for installation and once for upgrade. When I'm running msiexec via command line, the upgrade works fine and I can see that files are replaced. But , when I run it via Ranorex, upgrade is finished sucessfully but files are not replaced! I using the same syn...
by yam
Wed May 17, 2017 9:47 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

Yes I did but I run it only on slave computer. It didn't help.
Should I also run it on the master computer?
by yam
Tue May 16, 2017 7:40 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

OK, so it's the same as in our case. Anyone can access Jenkins GUI via URL and eventually, with appropriate rights, run or manage the tests jobs. But still, it's just a master-slave configuration. So I'm afraid, I'm still not getting why do you access slave machine via RDP/VNC? :) Black screenshots...
by yam
Sun May 14, 2017 7:38 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

My test start with admin privilege. Here is the error that appears in Jenkins console: [Error ][Module]: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a n...
by yam
Thu May 11, 2017 9:47 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

I'm opening RDP/VNC just to see that everything works fine and that the computer is not locked (I don't really need to open it :-)). You've mentioned that maybe test is started with wrong privileges? What do you mean by that? Jenkins job is configured to run the test exe on the slave computer. How c...
by yam
Thu May 11, 2017 8:51 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

I'm running it from Jenkins GUI :-)
Of-course we have jobs that are running automatically over night.
The idea is that everyone can access to Jenkins GUI (url) from his/her computer and run a build/test if needed.
by yam
Thu May 11, 2017 7:58 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

Jenkins slave is not running as a service. This is what I've done so far: 1. Jenkins master computer (not running as service) 2. Jenkins slave computer for running Ranorex UI test (not running as service) 3. Jenkins host computer for triggering Ranorex job. 4. From Jenkins host computer, I've opened...
by yam
Thu May 11, 2017 7:00 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

I've configured my environment as you said.
Also, I've upgraded Ranorex to version 7.
Still not working....
by yam
Tue May 09, 2017 10:40 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

I'm using JNLP connection for master/slave communication and it works fine. I'm able to run the test, the problem is that my Ranorex test is a UI test, so it fails - it does not recognize UI controls (in the reports it shows black screens). I get the following error: "Showing a modal dialog box or f...
by yam
Tue May 09, 2017 9:16 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Re: Running Ranorex tests (remotly) using jenkins - fails

Upgrading to 7.0.1 will take some time... so meanwhile I've done the following: 1. Moved Jenkins master to a server computer. 2. I've installed TightVNC on Jenkins master computer and on a the slave computer (and opened a connection to the slave computer from Jenkins master computer). Now, I've run ...
by yam
Thu May 04, 2017 6:42 am
Forum: Automation Discussions
Topic: Running Ranorex tests (remotly) using jenkins - fails
Replies: 19
Views: 6552

Running Ranorex tests (remotly) using jenkins - fails

Hi, I have a Ranorex UI test suite that runs every 1AM, triggered by Jenkins. Jenkins triggers the Ranorex tests on a remote computer – master/slave configuration (Jenkins as master and its slave nodes, where the Ranorex automation should be triggered, are not started as a service). Ranorex agent is...