Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

» Selenium Webdriver
Sat Feb 04, 2017 6:47 pm by soumyamishrav@gmail.com

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.

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.

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.

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;

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