Does the Powershell command “sendkeys” work in Jenkins? If not, is there an alternative method?

2016-09-14 Thread Jenkins Johnny
I've been trying to create a Powershell script in Jenkins that input keyboard commands to test if various fields and quick key shortcuts are working. For example, I use the following to enter a 'quick key' event that will close the application (alt + X) Add-Type –AssemblyName System.Windows.

Error creating a powershell COM object in Jenkins

2016-09-14 Thread Jenkins Johnny
I want to create a COM object, internet explorer application. The following code works fine in PowerShell ISE (32 bit): $ie = New-Object -com InternetExplorer.Application But, when I try running it on Jenkins Windows server (using either the powershell plugin or calling the PS1 with a batch f

Error creating a powershell COM object in Jenkins

2016-09-14 Thread Jenkins Johnny
I want to create a COM object, internet explorer application. The following code works fine in PowerShell ISE (32 bit): $ie = New-Object -com InternetExplorer.Application But, when I try running it on Jenkins Windows server (using either the powershell plugin or calling the PS1 with a batch f

Can't use sendkeys with Jenkins using Windows automated Snapin tool for Powershell

2016-09-27 Thread Jenkins Johnny
In the example below, I'm using WASP to try and use sendkeys with Jenkins. The following code input a min and max number into a random number generator and returns the results. Link to the code: http://pastebin.com/cCGwyq3i My results return as follows: Minim

How can I view the changes made to a webpage made from commandline in Jenkins?

2016-10-07 Thread Jenkins Johnny
I'm a bit new to Jenkins, and I require it to build automated testing for a webapplication. An ex-colleague for my company built a application that uses multi-threading, that allows the use of "send keys" in Jenkins. So basically, I'm using commandline to open the web application and then op

Cannot connect to the Jenkins slave machine when running Jenkins as a java prgoram

2016-10-11 Thread Jenkins Johnny
When I set up my Jenkins master as a windows service and attempt to connect to a slave machine using "Launch Jenkins via Java webstart", I can connect the slave server to the master fine with no issues. [image: enter image description here] However, I'm

What's the difference between running Jenkins using Java and using the windows installer version?

2016-10-12 Thread Jenkins Johnny
When I set up my Jenkins master using the windows installer version and attempt to connect to a slave machine using "Launch Jenkins via Java webstart", I can connect the slave server to the master fine with no issues. [image: enter image description here]

Is containing Jenkins inside my user folder preventing me from accessing it via slave machine?

2016-10-12 Thread Jenkins Johnny
I installed jenkins as a war file to the location "C:\Users\loggeduser" in the .jenkins folder. I'm trying to access a slave machine's node I set up using "Launch agent via java Web Start", but when it gets to the step where I must access the "http://IPaddress:8080/computer/Slavemachine/slave-a

Using Jenkins, is it possible for me to run an application from my Master machine, that directly affects the GUI on my slave during a build?

2016-10-18 Thread Jenkins Johnny
I have a Jenkins master setup that will open a web application on the slave machine and then opens a sendkeys application to input some keys into various fields on the web app. I'm using powershell to open the web application as an object, then open the sendkeys application which automatical