File upload and download using selenium with java and bamboo - selenium-webdriver

I have one problem for which i am seeking help.
Can someone guide me on this.
Problem: How to do file handling using selenium, grid4 and bamboo.
Steps for the Issue/problem:
1.I have to run one test case where i am downloading a file with some extension from website "x"
2. I need to change the extension to .txt. and add the file to zip.
3. In 2nd test, i need to open website "y" and upload the zip file created in step 2.
Can someone suggest some solution or pointers here.

Related

how to find ".ipynb_checkpoints" folder

How can I find ".ipynb_checkpoints" files in windows10 computer?. using anaconda jupyter windows10
I was running a big calculation code overnight. I found my jupyter notepad file not running and empty in the morning. I can not recover the file. It said some memory error or etc. The day before it asked me to save the file with new version or old version of Jupyter version or something like that.
Can I recover my file by using ".ipynb_checkpoints" folder. I can not find any ".ipynb" files in my computer which is using windows10. I can not see hidden files etc.
when I download the file it is not JSON file or something. It cannot be converted online. The file is too big...
any help is appreciated. thanks in advance....

Standalone Executable with Kivy?

I recently created my first Windows package for a small app I made using Kivy. I have a few questions with regard to running the app.
First, is there a way to get the app to run without a record log popping up in another window? It is just ugly and doesn't seem like something I want in my final "product".
Second, how can I run the app from my desktop? Right now I have a shortcut placed on my desktop, but if I wanted to send my app to a friend, how could I send it to them where they can simply have an icon on their desktop to click on?
Thanks!
The entire process is done in 2 steps.
Step 1: Make the windows executable files (not Python files)
You'll need to use PyInstaller to create EXE for Windows. Here's the link
https://kivy.org/doc/stable/guide/packaging-windows.html
You will notice a new folder created where all the files are kept along with the application executable file.
Step 2: Pack these into a Single Installer File (EXE you are looking for)
You can use a third part software like InstallForge to create a single package installer for these files.
This EXE file can be share with anyone and they can install the program just like any other windows software

Overwrting multiple file using NSIS Script (how Win Zip extractor does)

I am writing a script using Null Script which install around 6000 files in INSTALLDIR i.e. C:\ABC folder.
I have done this using
File /r "ABC"
in install section.
It is just a simple extractor (no registry entries and no uninstall.exe created during install).
Now, if I run the same exe again then I want my exe to display a message box to the user while overwriting the files containing the options
Yes,
Yes too all, or
exit the installer
i.e. How WinZip software does while extracting the same zip file in the same location multiple times.
If I set the SetOverwrite value to off then during install (2nd time) my EXE just skips the file installation without notifying the user. Also using IFFILEEXIST I can check a single file or *.* files but cannot do one to one mapping.
Please suggest how can I implement this. If this question is already posted then please send me the link.
Thanks in advance.
It is not possible to get this behavior in NSIS when using File /r. You might be able to pull off something similar by generating the file list at compile time by executing a batch file with !system and then check if each file exists and maybe delete the old one at run-time but you are not going to get the dialog without a custom plugin. NSIS itself only supports basic Abort/Retry/Cancel and Yes/No dialogs.
If you only want to use free tools, why not just use 7-Zip to create a self extracting archive?

How to open file maker .fp3 files without file maker installed?

A client of mine sent me his db to review before starting a new project with him, as he said, he is using file maker pro 4.
He sent me a list of .fp3 files, but I can't find file maker 4 or 5 somewhere for free to download and check these files, and he can't find a setup file for file maker for me.
Is there a a way to open these files and see the db structure?
Your best bet is to ask someone with FileMaker 5 or 6 to convert the files into v5 and then convert them further to the current version (v12). E.g. I can do that; my email is mikhail -dot- edoshin -you-know-what- gmail -dot -com.

Is it possible to package an .exe application in a war file?

I have one web application(.war) file. There is one tool (.exe) which is used for some computation but it is currently outside of this web application. We have a requirement, where we need to package this .exe file and .war file into single .war file, so that user can just click a particular link and .exe will be opened from the .war file.
My question is, is it possible to package both (exe and war) into the single war file? If yes, can please let me know the convinient way. I did some googling but most of the answer shows converting war to an exe file, which i dont require.
A war file is nothing more than a zip archive, as such you can place whatever you want inside.
Now the use case seems strange. Do you intend to download the executable from the website?

Resources