SelectFrame code working for FF but not for IE8

閲覧: 32 回
最初の未読メッセージにスキップ

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


Anita Mohanani

未読、
2010/10/27 7:06:542010/10/27
To: Selenium Users
This code is not working in IE



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.


sushma Narla

未読、
2013/08/19 7:26:252013/08/19
To: seleniu...@googlegroups.com、annu...@gmail.com
Hey ...did you get any work around for your issue ,  iam facing the same issue in ie 9 & 10 ... your help is much appreciated 
全員に返信
投稿者に返信
転送
新着メール 0 件