Anita Mohanani
未読、2010/10/27 1:34:062010/10/27投稿者に返信する場合はログインしてください
転送する場合はログインしてください
このグループ内のメッセージを削除する権限がありません
メッセージを報告するにはログインしてください
メールアドレスがこのグループでは匿名化されているか、メンバーのメールアドレスを表示する権限がないため、元のメッセージを表示できません
To: Selenium Users
Hi,
I have a piece of code which is as below:
selenium.selectWindow("VLO");
selenium.selectFrame("name=topFrame");
Assert.assertTrue(selenium.isTextPresent("classDPTest500"),
"Student's full name is wrong");
selenium.selectFrame("relative=up");
selenium.selectFrame("mainFrame");
selenium.click("//input[@name='EV_G06_U4_BASH_A_0013' and
@value='B']");
selenium.selectFrame("relative=up");
selenium.selectFrame("bottomFrame");
selenium.click("link=2");
In the pop up there are 3 frames. Above mentioned code is working fine
in FF but the same gives error in selenium.selectFrame("mainFrame");
The error is
com.thoughtworks.selenium.SeleniumException: ERROR: starting from
frame VLO:top, could not find frame name=mainFrame
Kindly, provide a better way to do this.
Thanks,
Anita