Share
Go down
avatar
include85
Regular Participant
Regular Participant
Posts : 27
Join date : 2011-09-22
Age : 32
Location : Italia, Sicily

SeleniumRC and MacBook

on Mon Oct 31, 2011 6:54 pm
Hi all!
It's incredible!

I use seleniumRc at work always on ubuntu.

Now I have install seleniumRC on my macBook, but stupid test doesn't work for try my enviroment!

Why? Sad


Code:
package com.eviltester.seleniumtutorials;

import com.thoughtworks.selenium.*;
//import java.util.regex.Pattern;

@SuppressWarnings("deprecation")
public class MyFirstSeleniumTests extends SeleneseTestCase {
    public void setUp() throws Exception {
        setUp("http://www.google.it/", "*firefox");
    }
   
    public void testJunit3rc() throws Exception {
        selenium.open("/");
        selenium.type("id=lst-ib", "inter");
        selenium.click("css=a.l.vst > em");
        selenium.waitForPageToLoad("30000");
    }
}

I use selenium-server-standalone-s.11.0.jar and I have disabled firewall.
avatar
include85
Regular Participant
Regular Participant
Posts : 27
Join date : 2011-09-22
Age : 32
Location : Italia, Sicily

Re: SeleniumRC and MacBook

on Tue Nov 01, 2011 7:25 pm
I'm stupid! It doesn't was a problem with firewall but setUp() function.
avatar
include85
Regular Participant
Regular Participant
Posts : 27
Join date : 2011-09-22
Age : 32
Location : Italia, Sicily

Re: SeleniumRC and MacBook

on Tue Nov 01, 2011 9:26 pm
Now I have errors in session().nameFunctions....why?
I have install testNG.
avatar
include85
Regular Participant
Regular Participant
Posts : 27
Join date : 2011-09-22
Age : 32
Location : Italia, Sicily

Re: SeleniumRC and MacBook

on Sun Nov 06, 2011 12:31 am
I have resolved with I add library and import this:
import static com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage.session;
Harsha988
Posts : 1
Join date : 2015-06-27

Re: SeleniumRC and MacBook

on Sat Jun 27, 2015 5:28 pm
Hi 
Can you please help me install selenium web driver on mac
seluserqwb1
Active particpant
Active particpant
Posts : 20
Join date : 2015-06-29

Re: SeleniumRC and MacBook

on Mon Jul 06, 2015 8:10 pm
Message reputation : 0% (1 vote)
Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html
Sponsored content

Re: SeleniumRC and MacBook

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