selenium-rc

Why we don't need server in Selenium Webdriver?

心已入冬 提交于 2021-02-20 05:16:29
问题 Selenium RC requires starting the server to kick of the execution of Selenium Automated RC test suites. The Selenium server is the inter mediator between browser and Selenium RC because Selenium RC won’t make direct call to browser. So we have to start Selenium server prior to start running Selenium RC test cases. In case of Selenium Web Driver , it does not required to start Selenium Server for executing test scripts. Selenium Web Driver makes the calls between browser & automation script.

Mouse the focus to an object using selenium python

孤街浪徒 提交于 2021-02-08 07:32:27
问题 I am automating a website using selenium RC and python 2.7 on Ubuntu Linux. Here is what I need to do: Go to the site http://borro.com. Scroll down to the bottom of the page using key down native command I need to hover the mouse on g +1 read the tool tip click on the name that appears in the tool tip. The problem I am having is -- I need the mouse to physically move there, wait for say 2 secs and then read the tool tip and click on the name The mouse is not physically moving there and I

Mouse the focus to an object using selenium python

半世苍凉 提交于 2021-02-08 07:30:31
问题 I am automating a website using selenium RC and python 2.7 on Ubuntu Linux. Here is what I need to do: Go to the site http://borro.com. Scroll down to the bottom of the page using key down native command I need to hover the mouse on g +1 read the tool tip click on the name that appears in the tool tip. The problem I am having is -- I need the mouse to physically move there, wait for say 2 secs and then read the tool tip and click on the name The mouse is not physically moving there and I

Selenium IDE not capturing the popup/ Alerts

这一生的挚爱 提交于 2021-01-28 19:46:02
问题 I am using selenium IDE to record the commands. I need to test the red rout for login screen. But Selenium is not recognizing the alert coming from the application. Highlighted in bold alert message is not captured by the selenium IDE. selenium.open("http://192.168.132.244:8080/SampleApp/"); assertEquals("SampleApp", selenium.getTitle()); selenium.type("name=userame", "NoUser"); --USER NAME selenium.type("name=password", "Password1"); --Password selenium.click("css=input[type=\"image\"]"); -

How to reuse a selenium browser session

十年热恋 提交于 2021-01-16 08:14:27
问题 I'm trying to access an existing selenium browser session from a separate python process. I'm able to get this working within the same python script, but when I break the reuse logic out to a separate script, it fails with the error message: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/local/Cellar/python3/3

How to reuse a selenium browser session

会有一股神秘感。 提交于 2021-01-16 08:12:24
问题 I'm trying to access an existing selenium browser session from a separate python process. I'm able to get this working within the same python script, but when I break the reuse logic out to a separate script, it fails with the error message: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/local/Cellar/python3/3

How to reuse a selenium browser session

不羁岁月 提交于 2021-01-16 08:06:57
问题 I'm trying to access an existing selenium browser session from a separate python process. I'm able to get this working within the same python script, but when I break the reuse logic out to a separate script, it fails with the error message: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/local/Cellar/python3/3

How to execute all tests in PHPUnit?

蓝咒 提交于 2020-02-23 03:50:29
问题 I'm trying run all tests from my testsuite, but PHPUnit not found the tests when I run command phpunit . I config testsuite in phpunit.xml. phpunit.xml <?xml version="1.0" encoding="UTF-8" ?> <phpunit backupGlobals="true" backupStaticAttributes="false" bootstrap="./bootstrap.php" cacheTokens="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" forceCoversAnnotation="false" mapTestClassNameToCoveredClassName="false"

How to execute all tests in PHPUnit?

情到浓时终转凉″ 提交于 2020-02-23 03:50:05
问题 I'm trying run all tests from my testsuite, but PHPUnit not found the tests when I run command phpunit . I config testsuite in phpunit.xml. phpunit.xml <?xml version="1.0" encoding="UTF-8" ?> <phpunit backupGlobals="true" backupStaticAttributes="false" bootstrap="./bootstrap.php" cacheTokens="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" forceCoversAnnotation="false" mapTestClassNameToCoveredClassName="false"

Opening an eclipse project through command prompt or batch file

孤街醉人 提交于 2020-02-05 05:35:20
问题 I am building an application that is for testing using Selenium Java tool. Is there any way to open an existing eclipse project from the command line or through a batch file so that I can allow the users to select the testproject which is in Java with just a click of a button? I found that this command if for building a project eclipsec.exe -noSplash -data "D:\Source\MyProject\workspace" -application org.eclipse.jdt.apt.core.aptBuild But I couldn't find one for opening one. 回答1: If you omit