Forum Discussion
- YMinaevStaffHi,
What exact exception do you get? - JeanLContributorIt's not in english but straight translation would be "undefined exception", so could it be unhandled exception?
Edit. And this works fine with IE browsers. - YMinaevStaffHi,
Does this exception occur in the latest TC version (8.50)? Also, what exact Firefox version are you using? Is there any additional information about the exception in the log or are there any errors occurred before it? - JeanLContributorLike the title of the topic says I'm using:
Firefox 3.6.21 (tested also with 3.6.20)
TestComplete 8.50.618.7
But this hasn't worked with the previous version of TC (8+) I've been using either.
When error occurs I get "An exception occured" pop up and log has two errors:
- Exception
Additional information:
An exception occurred in the "some_test" unit at line XX: Undefined error (straight translation)
- Script execution was interrupted.
Additional information:
Possible reasons:
- An error or warning occurred during the test run. See the preceding log entries to locate and identify the error.
- The test run was stopped manually.
- The test run was terminated as a result of the Runner.Halt method call. - YMinaevStaffHi,
OK, in this case, probably, there's something wrong about the combo box which causes this exception. What's its HTML code? Also, how is it filled with items - are they hard-coded or are they generated at run-time in any way?
To find out what's wrong, we need to reproduce this problem here. - JeanLContributorHere's one sample script which gives exception to me:
Sub Test1
Dim firefox
Dim page
Call TestedApps.firefox.Run(1, True)
Set firefox = Sys.Process("firefox")
Call firefox.ToUrl("http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_option")
Set page = firefox.Page("http://www.w3schools.com/tags/tryit.asp*")
page.Wait
Call page.Table(1).Cell(0, 1).Frame("view").Select(0).ClickItem("Mercedes")
End Sub
And it's the line with the ClickItem method which causes the exception.
As far as I'm concerned it's not about some certain combo box, it happens with every combo box. - YMinaevStaffHi,
We've just released a new version of TC (8.60). Can you reproduce this problem in the latest version? - JeanLContributorThis works in FF6 and IE9 with TC 8.60.655.7. I havent been able to test with FF 3.6.
Related Content
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago