selenium framework issues met in window 7 + OS X86 64bit system

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 .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值