Unified Functional Testing: How to schedule a .tsp file to run? - vba

I have a .tsp file that uses GUI to test out applications and I need it to run everyday.
The thing is, only UFT is able to recognize the file type. Outside of UFT, the file is just a folder with many files inside it so I can't use Windows Task Scheduler to run it.
Would there be a way to schedule it by either using a built-in UFT tool or using some sort of outside script to open UFT and run it?

UFT supports scheduling tests with Jenkins.

Related

Is it possible to package Selenium test cases into a runnable appliction

I am creating selenium test to test a web app. I also want to be able to use these test cases as a way for non technical users to automate the first few steps of the process. ~Is this possible?
If you are using testng, generate command to run XML from the command line and then copy the same command to .bat or .cmd file. By a click any user can run those tests/suite.
Of course you can, Selenium automates browsers, it is not a 'test library' you can use it in any program. Just write java program where you use selenium.
You can also write tests (in JUnit or TestNG or any other test runner) and run tests programmatically.

How to automate command prompt(putty) action via selenium

My application requires to enter commands on command prompt(Putty) and then I need to verify that from web browser.
I have used selenium for web functionalities but How can i achieve this with selenium?
which extensions /library files i would require?
Use Auto It (https://www.autoitscript.com/site/autoit/AutoIT) to automate the interaction with putty and run the script in Java using Execute command(or find the command specific to your programming language).

Which Automation Framework provides an option to schedule runs?

i want to use an automation framework/tool which can help me in scheduling my runs so that my test scripts can run automatically as per my desired time.
Thanks in advance.
You should integrate with any CI tool like Hudson, jenkins, Teamcity etc
You don't need to be dependent on any tool for scheduling your test runs. First you need to understand which file you need to execute your test, for example in selenium, test can be executed by running testng.xml on command line, you can simply create a vb script or batch file containing all the commands and use that batch file in Windows Scheduler.
You can find windows scheduler in Windows 7 at Control Panel - Administrative Tool - Windows Scheduler - Create Basic Schedule -- Here you can browse the your trigger file and run your test weekly, daily, monthly etcc... Hope this helps !
Thanks,
Pankaj.

Defining an external tool for my IDE plug-in via Eclipse launching API

I tried to create, as user from my Xtext plug-in, a new external tool configuration to simply execute a .bat wich launches an external compiler of the language for which I'm implementing an IDE using Xtext. I did so by selecting External Tools -> External Tools Configurations... -> New Program, and then by filling the information about location of the .bat, working directory and arguments. This was very simple.
Now, I'm trying to define directly in my plug-in this external tool which executes my .bat, by using the Eclipse launching API, but I found very difficult to understand how I could obtain this... I don't understand if there is some class which implements ILaunchConfigurationDelegate that I can extend to automatically launch my .bat (or in general, to launch a program!).
Have you any hint, or is there some simple example about implementing an external tool that simply launches a .bat (or program in general), using Eclipse launching API?
Thanks in advance,
Marco

Using selenium grid to execute remote code

We looking to use Selenium grid to parallelize our tests but some of our tests need to run java code local to the testing machine. In other words as well as automating the browser we also need to run some java code on the test machine. Are there hooks in Selenium Grid that will allow us to do this?
PS we are also looking at Jenkins to setup our environment.
EDIT: To be clearer, the java code I need to execute does a get from the web application, downloading pdf files that we cannot do with selenium alone. It then does some processing on those PDF files. I suppose the processing could be done on the server hub but the downloading can't. Unless someone can explain how to download a pdf using selenium and save it to a given location?
Selenium cannot execute your java code in the remote control machine. It will get executed only in the hub machine. However, taking screenshot, deal with popup, uploading the files in a specific path can be taken care by Grid.