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 automatically inputs some keys, and then 
return some values from the web app. (I can't input the info directly with 
powershell as some of it needs to go into pop up windows that I cannot 
access via the object).

$ie = New-Object -com InternetExplorer.Application
$ie.Navigate("http://www.url.com";)
$ie.visible = $true
& C:\Sendkeys_Application_Folder\Sendkeys_Application.exe

$result = $ie.Document.getElementByID("result").innerHTML 
write-host $result


Now while this works fine on the master server, when I try and work it on 
the slave server it throws me an error, probably because it cannot find the 
application or its folder on the slave PC.


It isn't ideal that I'd have to set up this application on every slave 
machine I set up so I was wondering if it's at all possible to execute it 
from the master machine and have it affect the GUI on the slave machine?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/be1a80a9-9413-4c92-a5ad-af15aeddce26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to