Is it possible to do something similiar to RPA using windows command prompt? - automation

I need to automate a few tasks (data extraction, activating applications etc.) However, I cannot use any external automation software such as UiPath. Is there any inbuilt alternative I can use such as windows command prompt?

It was created so those tasks could be automated. you could use python to do most of those tasks, but none of the built in software will do that for you.

Related

Data Scraping on Cross-Platform process UiPath

I created a process in UiPath Studio on a Windows machine which scrapes data from a website, below are the components used for creating the process
How to replicate the same on a cross-platform machine(Linux)
As we know, for Windows we have UiPath Studio that can use the DataScraping tool which opens the browser and we select things and give patterns for moving forward. But can we replicate the same functionality in Cross-platform Process with limited packages that support cross-platform in UiPath?
If yes, how to solve this?
UiPath is NOT natively running on Linux. You will need to set up a docker to run UiPath.
On Linux Robots you get all the points.
But as you want to use UI element interaction, you need the Chrome. So better have a look on Chrome Automation on Linux how to do.

How to automate installation process of any windows software application

I want to automate the installation process of any windows .exe/application software.
For example: I have "npp.7.Installer.x64" .exe file and I want to install this .exe/application through any scripting or tool instead of manual process.
I had tried with "AutoIT" tool but I am unable to achieve the results.
Please suggest me a appropriate way. Thanks in advance.
I have write code in python command line with administration permission and write below lines:
app = Application().start(r"D:\npp.7.Installer.x64.exe")
Above code successfully pop the Installation window of notepad.

How to setup Python/Jython in IBM BPM

I want to configure Python/Jython in IBM BPM, so that these files can directly executed from process app. How can I do that?
How to setup this entry in WebSphere Application Server?
Why do you need to install python or jython on IBM BPM , if you need it to make deploy using WAS command line , there're commands that not related to jython or python and can do the same.
I don't believe that IBM BPM Standard really handles this use case (although more details would help). It is possible it maybe part of the "Advanced" offering, but I'm not as familiar with the integration designer product.
IBM BPM Standard allows you to call java code directly either as LiveConnect (bad) or executing java code you place in JAR files in the server files of your Process App (good). I have seen this used to leverage the Java ability to call command line scripts in order to issue some of the WASAdmin scripts, but that has been the limit of the integration with jython that I have seen.
For details about creating Java connectors you can use this article - http://www.ibm.com/developerworks/bpm/bpmjournal/1206_olivieri/1206_olivieri.html. While it says 7.5.1 the approach works for TeamWorks 7 through IBM BPM 8.5.5
Can you give more details about the use case you are trying to meet with this technical approach?
You can call any system process api/command using java, java code can be called by using as jar libraries.
System process api/command can execute python or any other code.
IBM BPM > Jar libs > System (OS) Process API/Commands > Python
I haven't come across any such use case.

Mocking Windows Installer

Is it possible to mock the Windows Installer? I would like to set up tests for various scenarios during install. I don't really care what is stored in the Windows Installer databases, I just want to test the output of the installer packages (what files have changed, etc).
Edit
I suppose I could setup VMWare images and script them. Does anybody know how to script/automate tasks in VMWare instances?
Yes, it's possible. You need two things:
A setup authoring tool which can generate the packages. A command line interface or scriptable solution would be great for automation.
A resource monitor which determines what each installation does. You can use Process Monitor or another tool which monitors files and registry.
As an optional feature I would also suggest a log parser. This way you can create a verbose log for each installation and analyze the log to see what it did to the target machine.
There is no way to mock MSI. You either trust that it works and evaluate the data in the MSI to predict what will happen or you use infrastructure automation to spin up machines and execute the installer then run tests to confirm the expected behavior.

Cross platform ZIP utility for scripting

Background: I'm writing a script to collect some files in to a zip file. This script might be used in several operation system. The issue is that I don't what do they(the OS's) support? Linux has a build-in ZIP (on most distributions). Windows is a bit of a mess in this perspective. Since the zip command is not distrusted with the OS
Two issues:
1) I'm looking for a ZIP utility to be my scripts meat and bones, without actually implementing my own zip. Something with a unified command line style. (Java based perhaps?) If you know one, it will help me a lot to complete my task.
2) Right now I'm using some oracle client zip.exe for my windows machine to test my script. I've notice that I don't see the files inside of my newly created archive. Browsing around the web tells me that this has to do with windows being "blind". Preferably, any utility will solve that. Any ideas on why does this happen?
In the and I wrote a litle program in Java that does the ziping. I would publish the code but it's closed source. Since java was assumed in my system combined with the strong zip power it was the solution.