public static void addLink_RichTextEditor_WikiPage(WebDriver driver,
			PopupItem linkType, String linkContent,String label, String tooltip,Boolean isInNewWindows) {

		clickOnPopupItem(driver, linkType);	
		driver.switchTo().window(driver.getWindowHandle());

		
		switch (linkType) {
		case WIKI_PAGE_ADD_NEW_IN_CURRENT_SPACE:
			break;
		case WIKI_PAGE_SELECT_PAGE_IN_ALL_PAGES:
			WebElement allPages = getMenuBarItem_AddLinkImagePopup(driver,
					"All Pages");
			
			if (allPages != null) {
				allPages.click();
				pause(1000);
				selectItem_AllPages_AddLinkPopup(driver,linkContent);
				clickOn_SelectButton_AddLinkPopup(driver);
				pause(500);
				configLinkParameter_AddLinkPopup(driver,label, tooltip, isInNewWindows);
				clickOn_CreateLinkButton_EditLinkParameter_AddLinkPopup(driver);
			} else {
				System.out.println("Cannot get All Pages Element");
			}
			break;
		case WIKI_PAGE_SEARCH_PAGE:
			break;
		case ATTACHED_FILE_CURRENT_PAGE_UPLOAD_NEW_FILE:
			break;
		case ATTACHED_FILE_CURRENT_PAGE_SELECT_FILE:
			break;
		case ATTACHED_FILE_ALL_PAGE_SELECT_FILE:
			break;
		case WEB_PAGE:
			break;
		case EMAIL_ADDRESS:
			break;
		default:
			break;
		}
	}