This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.firefox.FirefoxDriver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void fetchContacts() { | |
ZcsService zcsService = new ZcsService("https://webmail.daiict.ac.in/service/soap", 2, true); | |
AccountSelector accountSelector = new AccountSelector(); | |
accountSelector.setBy(AccountBy.OPT5_NAME); | |
accountSelector.setValue(username); | |
AuthRequest authRequest = new AuthRequest(); | |
authRequest.setAccount(accountSelector); |
NewerOlder