Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


driver.switchTo().frame() causes Application to crash

View previous topic View next topic Go down

driver.switchTo().frame() causes Application to crash

Post by hj on Thu Jul 26, 2012 7:08 pm


I am using Selenium 2 and IE7.

There are a lot of iframes present in the application I am testing.
So I am using driver.switchTo().frame() method to switch between iframes.
I also use driver.switchTo().defaultContent() before switching to an iframe.

However in some cases, driver.switchTo().frame() causes the Application to crash.
Below is the error in eclipse:
Problem signature:
Problem Event Name: APPCRASH
Application Name: javaw.exe
Application Version:
Application Timestamp: 484e4780
Fault Module Name: IEDriver.dll
Fault Module Version:
Fault Module Timestamp: 4fdf5b90
Exception Code: c0000005
Exception Offset: 0008a71e
OS Version: 6.0.6001.
Locale ID: 1033
Additional Information 1: 1699
Additional Information 2: 3c7b32a427f0a23d017c01e406809b93
Additional Information 3: 437a
Additional Information 4: 0abbaf052c4358d69b1ef6b054f6ab09

I even tried getting the source of the iframe by, driver.findElement("src"),
and i am able to get the source of iframe.
I have also tried to introduce wait between switching of iframes but still it gives the same error.
I do not know why it is causing the application to crash as it is working for some cases.

Does anyone have any similar experience or can think of any solution??


Posts : 1
Join date : 2012-07-26

Back to top Go down

Re: driver.switchTo().frame() causes Application to crash

Post by popsha on Fri Jul 27, 2012 2:10 pm

only by showing your snippet could help to find solution. because the order you mentioned is perfectly right.


Posts : 60
Join date : 2012-04-14

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum