I wish to do the following using selenium.
1. create a new customer
2. place an order using that customer
3. write the result file to a particular location where the name of the result file should include the customername as well
For example: resultJames@yahoo.com.txt [ file type can be either html or txt or any other]
I wish to know how to code in java to write the result file(i.e the test result) to a particular directory.
Thanks in advance
Something like that:
String customer = "testcustomer"; //name of your customer
File file = new File(customer+"@yahoo.com.txt");
Nobody is Perfect... i'm Nobody...
Thanks Super man