RE: How to create a Two separate projects as a single or how to create as a exe


I Need a answer for following scripts Because first one is for checking the sublinks are working or not after that test result will be sended to specific mail ID and how to batch both the projects as single and how to run simuntaneously

Why cant you include the different test scripts in the same project, any specific reasons?

on November 12, 2014.

I have two projects First One to check the Broken links and another one is sending Email report .In the first one i did for report getting all the console output to be stored in a text format and Second one is sending email report with attachment of that Text fileĀ  So it can be run by one by one.

on November 20, 2014.

And also am attach some here below code not check if the link have errors in the wordpress website it does not take the title with pipe symbol for eg:title is “Anushkasaloons|You are not authorised to view this page” it run as the link is working bt the fact is link is not working.

for (String t : linkTexts) {
if (t != null && !t.isEmpty()) {
String title;
title = driver.getTitle();
System.out.println(“title is”+title);
if((title.contains(“You are not authorized to view this page”))||(title.contains(“404”)) ||
(title.contains(“408”))|| (title.contains(“400”)) || (title.contains(“401”))
|| (title.contains(“403”))||(title.contains(“Page not found”))||(title.contains(“500”))||(title.contains(“error”))||(title.contains(“503 Service Unavailable”)))
System.out.println(t + ” the link is not working”);
} else {
System.out.println(“\”” + t + “\”” + ” is working.”);


on November 20, 2014.
Add Comment
1 Answers
Best answer

Assuming that you are using Java and IDE as eclipse.
You can add another project(say Project A) in other’s project(say project B) build path using

Right click on project B’s folder in eclipse –> properties –> build path –> projects –> add

Another way create jar. And add as external Jar.

Train Answered on November 17, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.