Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-14-2011, 06:58 AM   #1
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Rep: Reputation: 12
Question [Selenium] *mock ?!

Hi all

I'm using selenium for testing my website.
I have a test script which can be downloaded at (look for check selenium).
So this is the situation:
I made a test case, I builded it in Netbeans IDE and I can test it in my CMD with the following command:
./ -c "com.examples.tests.Login" -b "" -t "*mock"
this is going great, but then when i put my website offline (so if you browse to it, you get an error that he can't connect to the website) but when i run that same command again (normally i should get an error) he says everything is OK...

when i run that same command with firefox like so:
./ -c "com.examples.tests.Login" -b "" -t "*firefox"
then he fails (which is what i want)

but WHY doesn't he fail when i use "*mock" in stead of "*firefox" ???
I hope someone can help me, because I'm almost there with this

Thanks in advance



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selenium brownie_cookie Linux - Newbie 0 04-12-2011 12:43 AM
Selenium rc punitjain SUSE / openSUSE 1 09-17-2009 10:13 AM
Mulitiedia windows mock IMAC Linux - Software 1 04-28-2005 03:07 AM
Mock Beauty Pagent Spaz17 General 4 02-26-2004 09:11 PM
Dreamweaver Mock? lramos85 Linux - Software 3 01-05-2004 07:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration