SelectFrame code working for FF but not for IE8

32 views
Skip to first unread message

Anita Mohanani

unread,
Oct 27, 2010, 1:34:06 AM10/27/10
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

unread,
Oct 27, 2010, 7:06:54 AM10/27/10
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

unread,
Aug 19, 2013, 7:26:25 AM8/19/13
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 
Reply all
Reply to author
Forward
0 new messages