Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Run file from UI Script


#1

I followed the example given to create a button in the GUI. All I need is to execute a file when it is clicked. can someone please help me.

	/* Bind the click event to trigger the automated tests */
	$("a", button).click(
		function()
		{
                                     << Code to Run file >>
                    }
	);

thank you


#2

I am able to create a file using:

window.open(“file://\\\\Server\\File.Extention”);

Now I just need to write to a file