Questions tagged [selenium-rc]
Selenium Remote Control - Answer to UI level functional test Web automation
1,389
questions
0
votes
0
answers
46
views
How to read request, response and console logs using selenium
Hello i am new to selenium, can someone help me in fetching the request, response and console logs using selenium?
I have used the below code, but giving error that "The method getDevTools() is ...
0
votes
0
answers
20
views
Allure2 error - AttributeError: 'function' object has no attribute 'driver'
I’m facing a similar issue. I was trying to add a code to take a screenshot in case any test case failed. can anyone help with this?
code
def pytest_runtest_makereport(item):
outcome = yield
result = ...
0
votes
0
answers
21
views
How to copy the dynamic table data from web page and paste it into existing Excel using selenium with Java
I copied and pasted into Excel sheet but it is coming like 1 column is filled with 1 cell , 2nd column is filled with 2nd cell and 3rd column is filled with 3rd cell.
But I want row wise without skip ...
0
votes
1
answer
56
views
SeleniumLibrary Dialogs User Dialog Box Will Not Go Away
In this script I ask the user for the username, password & router serial for Robot Framework to navigate the website & enter the info to login & search for that router serial. The script ...
0
votes
1
answer
60
views
How to select Discord dropdown option using selenium python
I have just started working with Selenium and practicing different automations using it. I am attempting to type "/bump" in the chat and select the first option that appears. I have tried ...
0
votes
1
answer
200
views
A Test failure after upgrading Selenium 3 to 4
I have upgraded the application from selenium 3 to selenium 4 and found that some of the test cases getting failed after upgradation with below error message.
com.thoughtworks.selenium....
0
votes
1
answer
57
views
How to run Selenium server (RC) via Jenkins on a virtual machine?
I'm trying to automate tests using Jenkins. The principle of operation is as follows:
There is a main machine (ubuntu 22) on which tests (pyTest) are stored and virtual machines (Ubuntu 18 and 20) are ...
0
votes
1
answer
150
views
Selenium w/Python3 - AttributeError: 'str' object has no attribute 'tag_name' can you help me please
capturarId = driver.find_element(By.tag_name,"iframe").send_keys('id')
iframe = driver.find_element(by.xpath,"//iframe[@id='"+capturarId+"']")
driver....
0
votes
2
answers
4k
views
Can we run selenium in our current account logged- in browser?
Can we run selenium in our current account logged in browser ?
Basically if i try logging into google using selenium , its says browser insecure.
i am trying to make a amazon cart auto checkout as a ...
0
votes
1
answer
782
views
how to do right click and after that select copy option from the right click menu using down arrow keys in selenium python
as the subject says, i want to open web page, double click on word, after that once the word is selected to do mouse right click and select copy from the menu. till now i have the following code which ...
2
votes
1
answer
9k
views
Selenium check if element exists without exception
I want to just check if an element is there or not within a for loop but it just throws an exception and ends the code. How do I go about this?
2
votes
1
answer
1k
views
Selenium 4.x execute "Page.addScriptToEvaluateOnNewDocument" properly
I'm having a strange issue where I really cannot find a solution. My production website needs some testing and of course bot checking is enabled (not naming it).
Under my tests after using "Page....
0
votes
0
answers
375
views
Firefox could not load to a certain webpage with remote webdriver
I am doing selenium test running on dockers whit multi browser. It did run successfully at the beginning with all three browsers. after one month, it just works fine with chrome and edge, but fails ...
2
votes
1
answer
2k
views
Why can't I connect to selenium docker-compose service from my GitLab job?
I am running selenium test in Gitlab CI, but have problem with setting remote URL correctly when using the gitlab runner instead of my computer.
The IP address of the runner is 192.168.xxx.xxx. And ...
1
vote
0
answers
28
views
PDF UPLOAD ON SELENIUM IDE WEB DRIVER
I'm creating a test suite to automate some parts of data input on my web application. I have a page where I can click on the button to upload a document to the application.
It looks something like ...
-1
votes
2
answers
63
views
I'm trying to do an automated test on creating a facebook account
I'm trying to do an automated test on Facebook by trying to create an account, but I'm having a problem clicking on the "Create Account" button, I'm trying to use a FindElement by id, but it ...
0
votes
1
answer
29
views
Is it possible to run selenium RC tests with selenoid?
Trying to fully move to selenoid, but we still have some legacy RC tests.
0
votes
1
answer
56
views
I have a problem while executing the selenium script, it takes longer time to perform its Manuel testing
For example this statement takes 41 second to perform the Manuel testing:
try:
print("at2-click" + " - Time used=%ss" % int((time.time() - start_time)))
time.sleep(...
1
vote
1
answer
106
views
How to select "Form webElement" in which the class changes?
<div _ngcontent-ucs-c11 class="order__form--name"> ==$0
<label _ngcontent-ucs-c11 class="order__form--label">Symbol</label>
<!---->
<input _ngcontent-...
0
votes
2
answers
706
views
Selenium "“element not interactable exception" while using sendkeys on google Form?
I am trying to fill out the google form using selenium in python3.9
https://docs.google.com/forms/d/e/1FAIpQLSead7qqhVWP4m4q9Y71Wu9kr2lbCQXvY4ge0OdFg9fI0SQYYA/viewform
But I am getting an error at “...
0
votes
2
answers
115
views
How to Pass Login ID and passpword to Chrominum pop up validator using Selenium on clicking add button
I am new to selenium hance facing basic functionality issue.I tried to fix it but i am not able to do it and looking help in this regard.
Action performing :
Opening the website
Clicking on the add ...
1
vote
2
answers
2k
views
How to scrape product details page on selenium
I am learning selenium . Right now my this code can scrape all product title from the font page of this url https://www.daraz.com.bd/consumer-electronics/?spm=a2a0e.pdp.breadcrumb.1.4d20110bzkC0bn but ...
1
vote
0
answers
258
views
How to implement pool for selenium hub requests
We have recently created a job with cucumber selenium grid on aws, which will scale pods on fly up to 100. Cucumber has inbuilt parallel feature for testNg in latest version.
If we have 100 nodes and ...
0
votes
0
answers
365
views
Selenium Grid UnreachableBrowserException
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '3.141....
1
vote
1
answer
377
views
What is the difference between Selenium Server and Selenium RC?
Selenium Webdriver - For interacting directly with browser
Selenium RC - Interacts with browser through a Server
If i need to test remotely using Web-driver, i need to use Selenium Server
So when ...
0
votes
2
answers
119
views
Selenium Web Server State Element Reference Error
I have several test specs and it blocks. One of them :
it('Add button should exist', async () => {
var add = $('[test-id="add"]');
browser.wait(EC.presenceOf(add), 10372);
expect(...
0
votes
1
answer
126
views
Selenium Unable to Get Link of Image inside iframe > iframe > img
I am facing an issue in getting element using selenium python.
Element wrap inside two iframes tags. Hierarchy given below
iframe > iframe > a
xpath manually working fine. But using selenium ...
0
votes
0
answers
308
views
Selenium unable to invoke Edge browser version 17763
I am trying to automate test cases using perl selenium with edge browser. I am using win10 build 1809 and edge version is 18.17763. I have used various selenium server version from 3.13,3,14, 3.3,3.4
...
-3
votes
1
answer
2k
views
When I hit on Checkbox, element not interactable [duplicate]
When i Hit on checkbox here error display.
WebElement checkbox = driver.findElement(By.xpath("//*[@id=\"modelSelfRegistration\"]/div/div/div[2]/div[2]/div[1]/div[2]/label"));
if(!checkbox....
0
votes
1
answer
363
views
How to use selenium.waitForCondition(script, timeout) in Webdriver 2/3
The framework which we were using Selenium-RC, now we are converting it to Webdriver.
I tried to search the alternative code of below one, but couldn't find.
Since the code is used n number of times ...
1
vote
2
answers
575
views
Where does the functionality of selenium to control the browser lies in?
Where does the functionality of the Selenium lie?
I've read somewhere that the language binding or API provides glue code to use Selenium in java.
Glue code or Binding code: The code that connects ...
0
votes
0
answers
310
views
Cannot import Selenium packages in Eclipse after configuring build path
I've downloaded the selenium-server-standalone-3.141.59.jar in order to configure selenium RC and also configured it in project in Eclipse like that:
Now when trying to download selenium package via ...
2
votes
0
answers
251
views
Edit excel file in node server using WebDriver
I have a TeamCity server (which in my case Selenium Hub as well) which triggers my Selenium-Python testcases and runs it in another windows server (node).
Following is the typical test case i want to ...
11
votes
2
answers
29k
views
How to reuse a selenium browser session
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 ...
-1
votes
1
answer
71
views
Getting the next value from a file when a test case fails
How can I retrieve the next value from text file when there is a failure in the test case?
Here is my code:
public void openFile(){
try{
x = new Scanner(new File("C:\\Project1\\ids.txt"));
...
3
votes
1
answer
2k
views
Selenium having trouble working with Chrome Driver on OSX High Sierra
I'm trying to get a simple Selenium exampling going on my MacBook Pro using the Chrome Driver.
My Java code is relatively simple:
package foobar;
import java.net.MalformedURLException;
import java....
2
votes
1
answer
1k
views
How I set a value in input-select (React.js field) with selenium c#?
people.
I'm not getting the input-select value (React.js field) with selenium c#. The field get values of services.
Obs: I has try fill field with SendKeys command, but I don't right.
It's HTML ...
4
votes
1
answer
2k
views
How to deploy Selenium Grid in Azure DevTestLabs
I'm trying to execute remote selenium tests via Azure.
To do this, I used https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/QuickStartTemplates/201-dtl-create-lab-with-...
0
votes
2
answers
2k
views
Selenium Standalone server
I want to run the selenium test cases in the remote machine.
These are the steps I have followed:
Steps I did in server machine:
I have downloaded selenium-server-standalone-3.9.1.jar + Chrome ...
0
votes
1
answer
2k
views
Cannot resolve method addArguments(java.lang.String) - Selenium with Chrome
I'm new to Selenium and in my code I'm trying to use my default profile from chrome with the browser that the selenium opens (without the cookies.)
Here is my code:
import org.openqa.selenium.By;
...
-4
votes
2
answers
460
views
Why is my java test script for selenium not printing out a simple confirmation string?
I am trying to finish a test script written in Java. Everything works great and I am trying to print out a confirmation if all previous steps runs which says that account creation was successful.
To ...
-1
votes
3
answers
349
views
I am trying to launch Mozilla but still I am getting this error
I am fresher in selenium and I am getting this error when I change my system. Please suggest me a solution for this. Thanks in advance.
Selenium - 3.4.0
Firebox browser - 47.0.2
Geckodriver - ...
2
votes
2
answers
350
views
Unable to select drop-down list item on Google's Advance Search page
Issue :
Unable to select the language from the drop-down list.
Please help!!
Test Steps:
Go to https://www.google.co.in/
Click 'Settings' present at bottom right.
Now click 'Advance Search'
...
1
vote
0
answers
633
views
Grid configuration for running tests on any browser version and os
Hello: i am running selenium 3.5.3 with appium 1.6.5 on the grid using java.
Objective:
To run tests in parallel on any available browser version and on any available os (i.e. windows, mac, linux, ...
4
votes
4
answers
4k
views
What is the difference between Selenium IDE, Selenium RC and Selenium WebDriver?
What is the difference between Selenium IDE, Selenium RC and Selenium WebDriver; and in what kind of project can we use each one? Any suggestion will be really appreciated.
0
votes
1
answer
549
views
Differences between Selenium grid versions 1 and 2
Could someone please help me understand the difference between the remote control server in Selenium Grid 1 and the remote control server in Selenium Grid 2. From what I've read, one of the main ...
1
vote
2
answers
2k
views
How can I run exported Selenium IDE Test against different browsers
Hello I'm having trouble running Selenium test created by Selenium IDE.
My main problem is that I don't know where to go.
I created a test in the Selenium IDE. I can make it work on Firefox from the ...
1
vote
0
answers
510
views
How to run two different test cases at the same time in one virtual machine
I want to run multiple test cases in one virtual agent machine in parallel. i.e. all test case should start executing at the same time in a single machine. Is there any way I can do that?
1
vote
3
answers
491
views
How to call post method after setting the value of the form for screen scraping using java
Background : I have a webpage (.aspx) which have few dropdown lists.The list value is getting populated using Ajax call based on the selection of previous dropdown. After selecting the value of all ...
0
votes
2
answers
1k
views
how to Select a hidden sub menu in selenium Java?
I am new to selinum , during mouse hover(Request button) two button will be display on the screen.
1.User Status button
2. confirm user button
On click of User status button particular javascript ...