Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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 : 32
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 : 32
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 : 32
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 : 32
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