Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

SeleniumRC and MacBook Empty SeleniumRC and MacBook

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.
include85
include85
Regular Participant
Regular Participant
Posts : 27
Join date : 2011-09-22
Age : 38
Location : Italia, Sicily

SeleniumRC and MacBook Empty Re: SeleniumRC and MacBook

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

SeleniumRC and MacBook Empty Re: SeleniumRC and MacBook

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

SeleniumRC and MacBook Empty Re: SeleniumRC and MacBook

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;
avatar
Harsha988
Posts : 1
Join date : 2015-06-27

SeleniumRC and MacBook Empty Re: SeleniumRC and MacBook

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

SeleniumRC and MacBook Empty Re: SeleniumRC and MacBook

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

SeleniumRC and MacBook Empty Re: SeleniumRC and MacBook

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