a year ago, I was using an a macro to record my actions on the web and then converting them to a python selenium script. Now I want to do that again but cant find the add-in or plug that allowed me to do this. Essentially I clicked the record button and it ran in the background recording my clicks and then sent it to a python script.
I remember it required me to download an older version of Firefox to work properly.
I need this it allows to be record a task and then piece together multiple instances into a full fledged script.
Does anyone know a program that converts a web macro into an actual python script that I can edit and use?
Related
Need a help here.
I have a requirement wherein I have to automate the data retrieving feature of an website. The site has a limitation to search only 30 records at a time. So, what we want to do is login to the site, upload an excel containing 300+ records and click a search button.. and the site should automatically search the records and download the data in excel in a batch of 30.
I wanted to know, if this can be done only using .net or java, without using any automation tool(like selenium etc).If not, what will the best approach to solve it?
Any insight will be helpful.
You cannot use .net or Java if you don't have access to the APIs
( You may try with web API using Rest Client. )
Your requirement can be approached using RPA tools.
I recommend UIPath Studio quick to learn and use
I have a windows application where I am creating an installer for it with InstallShield. The installer will be posted in a login-secured location on the internet. When the program starts up, I am going to have it check the download site to see if it needs to be updated, and if so direct the user to the site to update the app.
The problem is the version numbers. The app knows its own version number, and I can create an API to put on the site that can read the version number of the installer, but how can I keep them in sync? I'd rather not have to do it manually every time there's a build.
The installer is required to be behind a login wall and it can't have any way to direct link to it, so the site will feed it to the user with a binary stream. I had been experimenting with ClickOnce, but I couldn't find a way for it to create a single-file installer and it doesn't allow for authorization when updating.
The best approach depends on how you're building things. This answer assumes you are using a build system to come up with each version number, and specify it downstream to all the built items.
IsCmdBld ... -z "ProductVersion=1.2.3.4" can be used to specify the version at the command line. Be sure to consider that the (optional) fourth field of the ProductVersion is largely ignored by Windows Installer, and adjust your version numbering scheme as necessary.
Alternately the automation interface can be used to edit the project, and set the ProductVersion on the ISWiProject object. This is more flexible, but requires modifying the project before subsequently building it.
My company has a folder called tools... which has about 50 some CLI Tools our support agents use for various troubleshooting and reporting...
Company is getting bigger... giving every rep access to our source code just so they can run the tools is not ideal... Plus things like npm package dependencies happen and it's more maintenance than they want.
Ideally, I would create an internal only website that simply presents a dropdown of all the tools in the /tools folder. The webserver (like Express) would execute the scripts and then redirect the standard output to the screen... The kicker is I need to allow for standard input as well since the tools are somewhat interactive... they get to select choices.
I'm sure there are all kinds of security issues with this and I just want emphasize this would be for internal use only and run by trusted users.
I've seen various terminal emulators and projects like this but looked complicated to make it work for our use case. I really just want to let people run a preset number of commands... I feel like this type of thing should exist and I just haven't stumbled upon it yet.
Alternatively... I've considered refactoring the tools to use something like swagger which would present the options for them to fill out but that too isn't ideal as we have conditional prompts...
You could try to use xterm.js to create browser based terminal that can execute the CLI tools.
You could use socket.io and build a node.js app for specific required commands.
socket.io allows for client/server communications on webpage.
node.js allows for a framework where you can pass commands through.
I have an application developed with Oracle ADF ( JSF ) that uses an applet to send PDFs directly to the printer without showing them to the user.
Since modern browsers (such as the latest versions of Google Chrome) apparently no longer support applets I have developed a swing application java replacing the mentioned applet, this should be distributed using web start.
The printing application is already developed , compiled into a JAR and signed , a first test with a static JNLP was apparently successful .
My problem is that the JAR must receive parameters sent from the website where it is invoked and I do not know how get this. I have seen some examples that extend the JnlpDownloadServlet servlet that is part of the examples of Java, but I could not make anyone of these examples work properly.
I use JDeveloper as IDE.
I hope someone of you can help me.
Thanks in advance.
I was having the same problem.
Following this link from oracle forum I was able to put it to work.
I only add to revise the jnlp tags and attributes when creating the file, like
String jnlpRoot = "<jnlp spec=\"1.0+\" codebase=\"" + codeBaseUrl + "\" version=\"0.1\">\n"; //href="PrintApplet.jnlp"
The href attribute was the one that was breaking the download functionality, it was expecting a file inside the application.
Hope this helps
By the end of last week our central IT Department introduced SCCM and applied it to a bunch of clients in our division. My colleagues and I work as so called "IT-Partner" in a 1st level support for a few hundrets of colleagues. Now we're facing some problems with our new SCCM System (installed packages do not work etc.) Now we'd like to "reset" applications so the SCCM Agend will reinstall them. I've read something about the detection methods but unfortunatelly I do not really know how they work nor I know where those methods are saved. I want to "analyse" those methods so I know which file to modify / delete that the agent will reinstall the application.
By the way, how much time does SCCM take from "assigning" a package to applying to the client?
Assuming you only have the client and no access to the SCCM Console the detection methods can be found using WMI. They are stored in root\ccm\CIModels in the Class Local_Detect_Synclet.
The format is XML in one column and it is designed so that all kinds of detection methods can basically be represented in the same style so it's not very readable but you should be able to get some basic understanding about the detection method used.
Keep in mind this is only true if the software was deployed in the "new" (introduced in sccm 2012) application format and not for the "old" package/program format.
If you want more detail I once tried to automate the process of triggering a reinstall for any given application but ultimately failed due to problems with the chache/distribution point. I posted all my findings here.
So from an application POV. When you deploy an app the detection method is setup in SCCM to determine wether or not the application installed successfully. This detection method could be configured a variety of ways. For example, it could check to see if the msi code is installed to determine success, it could check the .exe and compare it to a specific version, or even check a registry file for existence. In order to change/modify these detection methods you should be an SCCM admin and be able to login to the console. From there you would select the specific application or package you want to analyze and click through the properties of the deployment.