cause the automation framework is desinged in 32bit system, I encoutered some problems when using it in window 7 + OS X86 64bit system+ IE9 ,
1. can not read data from Excel file using ODBC?
resolution : 1) add excel drive into ODBC Data Srouce Administrator under foler " C:\Windows\SysWOW64\odbcad32.exe"
2) using eclipse which is suit for 32 bit system.
2. can not find Main class?
resolutin : change JRE from jre 7 to jre 6
3. cannot find element in website,which is working well without the fremework but with the same execution envrioment.
resolution: 1) using explisite wait
2) WebDriverWait
public static WebElement waitAndFindElement(WebDriver driver, WebElement element, int timeOutInSeconds){
WebDriverWait wait = new WebDriverWait(driver,timeOutInSeconds);
WebElement e = wait.until(ExpectedConditions.visibilityOf(element));
return e;
}
3) PageFactory.initElements();
4.Last keyword input in the " Data table - bussiness flow" sheet can not be recognized?
the limit of the for loop is incorrect, plus one .