Test on windows 7

23 views
Skip to first unread message

Mitul Patel

unread,
Apr 5, 2011, 1:27:26 PM4/5/11
to Fitnium
Hi.
I tried to running my test case on windows 7 Operating system with IE
8.But i got the javascript error.

Did the Fitnium support window 7 OS. or just only it work on window
XP???.

Keith Sterling

unread,
Apr 5, 2011, 9:13:03 PM4/5/11
to Fitnium
It works on all platforms, I'm not sure who told you it doesn't work
on Windows 7

When I test I test on Windows XP and Windows 7, Ubuntu 10 and OSX 10.6

I do not release until the entire test suite passes on all platforms

Keith Sterling

unread,
Apr 5, 2011, 9:15:41 PM4/5/11
to Fitnium
What is the javascript error

On Apr 5, 6:27 pm, Mitul Patel <emailto...@gmail.com> wrote:

aswin

unread,
Apr 5, 2011, 11:45:00 PM4/5/11
to Fitnium
I am getting script error running the fitnium on windows7. I am typing
the error message hat i see from the web window poped up by the
selenium

------------------------------------------------------------------------------------------
An error has occured in the script on this page

line: 863
Char: 9
Error: couldn't open app window: is the pop-up blocker enabled?
Code: 0
URL: file:///c:/Users/aswin/AppData/Local/Temp/customProfileDirfc3fca098392464aac522b238ae4b5/core/scripts/htmlutils.js

Do you want to continue running the scripts on this page. Please help
me.

Thank you,
Aswin
> > XP???.- Hide quoted text -
>
> - Show quoted text -

Keith Sterling

unread,
Apr 5, 2011, 11:47:36 PM4/5/11
to Fitnium
Can you read the Hints & Tips post I just posted and then respond with
as much information as you can

However the error you are getting is nothing to do with Fitnium its
your browser. It looks like you have pop ups disabled, or your have a
pop up blocked enabled such as AdBlock etc, can you also check this
please

K

aswin

unread,
Apr 5, 2011, 11:48:42 PM4/5/11
to Fitnium
I am using

os - windows7
fitnium version - FItnium-2.1.0.zip
Browser - IE8

On Apr 5, 10:45 pm, aswin <mailaswin....@gmail.com> wrote:
> I am getting script error running the fitnium on windows7. I am typing
> the error message hat i see from the web window poped up by the
> selenium
>
> ---------------------------------------------------------------------------­---------------
> An error has occured in the script on this page
>
> line: 863
> Char: 9
> Error: couldn't open app window: is the pop-up blocker enabled?
> Code: 0
> URL: file:///c:/Users/aswin/AppData/Local/Temp/customProfileDirfc3fca098392464aa­c522b238ae4b5/core/scripts/htmlutils.js
>
> Do you want to continue running the scripts on this page. Please help
> me.
>
> Thank you,
> Aswin
>
> On Apr 5, 8:15 pm, Keith Sterling <keiffs...@gmail.com> wrote:
>
>
>
> > What is the javascript error
>
> > On Apr 5, 6:27 pm, Mitul Patel <emailto...@gmail.com> wrote:
>
> > > Hi.
> > > I tried to running my test case on windows 7 Operating system with IE
> > > 8.But i got the javascript error.
>
> > > Did the Fitnium support window 7 OS. or just only it work on window
> > > XP???.- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -

Keith Sterling

unread,
Apr 5, 2011, 11:53:40 PM4/5/11
to Fitnium
Can you also provide the Fitnium Test and the HTML snippet you are
testing

aswin

unread,
Apr 6, 2011, 12:05:48 AM4/6/11
to Fitnium
I do not know if i am doing wrong here. I am sucessful in launching
the browser if i use
| using the browser | *iexplore| start at | http://www.google.com |

however if i use as below with out the protocol as below, i am seeing
script error
| using the browser | *iexplore| start at | www.google.com |

please suggest.

Thank you,
Aswin

Below is the cut of my code snippet I tried to run.

!define TEST_SYSTEM {slim}

!path fitnesse.jar
!path fitlibrary.jar
!path ./lib/*.jar

|import|
|fitnesse.slim.test|
|fitnesse.fixtures|
|com.magneticreason.fitnium|

| script | Base Fitnium Fixture |
| the server is located at | localhost |
| the server is on port | 4444 |
| using the browser | *iexplore| start at | www.google.com |
|check | is selenium initialised | true |
|set speed to |50| milliseconds |
|set timeout to |50000| milliseconds |
|write to debug | starting test |
| close the browser |


Thank you,
Aswin.

aswin

unread,
Apr 6, 2011, 12:33:33 AM4/6/11
to Fitnium
sorry let me correct myself here i interupted test by clicking yes
during the script error and clicking test again. some how it ran the
test by these actions. But protocol exists or not is not making any
difference and the error is appearing.

Also do not know if it matters but noted that url in the temp window
during the selenium lauch is considerably different in xp and windows.
Below are the urls

Windows XP
file:///C:/Documents%20and%20Settings/Owner/Local%20Settings/Temp/customProfileDira987a94616244d96922622c7bcb5dc42/core/Blank.html?start=true

Windows 7
C:\Users\aswin\AppData\Local\Temp
\customProfileDirfbd1f1570c8b4aa6bac53596a5eb1ef0\core\Blank.html

Thank you.
Aswin
Reply all
Reply to author
Forward
0 new messages