Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

SeleniumRC and MacBook

View previous topic View next topic Go down

SeleniumRC and MacBook

Post by include85 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 : 31
Location : Italia, Sicily

Back to top Go down

Re: SeleniumRC and MacBook

Post by include85 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 : 31
Location : Italia, Sicily

Back to top Go down

Re: SeleniumRC and MacBook

Post by include85 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 : 31
Location : Italia, Sicily

Back to top Go down

Re: SeleniumRC and MacBook

Post by include85 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;
avatar
include85
Regular Participant
Regular Participant

Posts : 27
Join date : 2011-09-22
Age : 31
Location : Italia, Sicily

Back to top Go down

Re: SeleniumRC and MacBook

Post by Harsha988 on Sat Jun 27, 2015 5:28 pm

Hi 
Can you please help me install selenium web driver on mac

Harsha988

Posts : 1
Join date : 2015-06-27

Back to top Go down

Re: SeleniumRC and MacBook

Post by seluserqwb1 on Mon Jul 06, 2015 8:10 pm

Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html

seluserqwb1
Active particpant
Active particpant

Posts : 20
Join date : 2015-06-29

Back to top Go down

Re: SeleniumRC and MacBook

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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