All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

From an Json Object, I am trying to extract the values by using the below code in JSR223 processor

{ "service": "CURBSIDE", "unavailableLines": { "unavailableLine": [ { "unavailableQty": "10.0", "itemLineId": "4", ...
0 votes
0 answers
24 views

how to automate developers tools - console [duplicate]

How can we automate developer tools - console section using Selenium? how to get data from the console for a particular service call. ex: as per the screenshot attached I what to know a.fn.init[div#...
2 votes
1 answer
9k views

How to open new tab using selenium C#?

Here is the code I have written But it is not working Any suggestion will be helpful IWebDriver driver = new ChromeDriver(@"C:\Selenium Automation\"); driver.Navigate().GoToUrl("https://...
0 votes
1 answer
287 views

how to select a value based on the value of a chooseRandom function?

I'm currently writing a post request witha a JSON body. i'm wanting my JSON to produce unique data on each iteration of test plan, but due to dependancies, this is leading to my requests sending ...
3 votes
1 answer
7k views

Unable to run the JMeter test plan on Ubuntu Server getting an error `NonGUIDriver java.lang.IllegalArgumentException`

I am executing the Jmeter test plan on Ubuntu Server but at the end left with an error saying: Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/opt/testScripts/...
1 vote
1 answer
55 views

Testing communication protocols (Bluetooth, WiFi, USB)

At my job, we create some multimedia unit with communication capabilities (Bluetooth, WiFi, USB). How can we test the implementation of these communication protocols in a reliable / "certifiable" way?...
1 vote
4 answers
12k views

Example selenium project in C#?

Does anyone know of a good place to download a selenium project that was written in C#? I've been doing automation for the past ~1.5 years and i'm interested to see what other people are doing. How ...
2 votes
1 answer
412 views

Cucumber background feature

I'm trying to understand how to use the background feature in cucumber. My current understanding is that it's used as something that happens before every Scenario. But I don't really understand it. ...
-1 votes
2 answers
3k views

Selenium, Exception: $Proxy19 cannot be cast to org.openqa.selenium.By

I wanted to make use of WebDriverWait however I got this exception: "java.lang.ClassCastException: com.sun.proxy.$Proxy19 cannot be cast to org.openqa.selenium.By" It is caused by the 3rd line of ...
20 votes
3 answers
82k views

Selenium: How to access the same session in a new window?

I am using selenium webdriver with Java. My test needs to verify when you save your login information and close the browser and reopen it then those credentials remain and are saved on a new session....
0 votes
1 answer
6k views

How can I handle multiple pages with the same loop Selenium?

I'm trying to handle elements from multiple pages via the same loop after click next button like on website: driver.get("https://www.scimagojr.com/journalrank.php?country=UA&page=1"); ...
1 vote
4 answers
6k views

How to take the screenshot of a window based GUI application?

I am automating tests of a GUI application similar to calculator. I am using Java and AutoIt for implementing the test cases. I need to take screenshot on failure. I have tried taking screenshot ...
2 votes
2 answers
1k views

Multithreading: chromedriver does not open url in second window

Java code in thread function, System.setProperty("webdriver.chrome.driver", "/usr/bin/chromedriver"); ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.addArguments("--no-sandbox"); ...
0 votes
1 answer
3k views

My Cypress Reports Folder does not get properly deleted when I execute the rmdir command in the package.json file. Which command should I use?

I am running Cypress on a Windows machine. I am using this command (included in the package.json file) to remove the cypress/reports folder before the start of each test run: "clean:reports": "IF ...
-1 votes
1 answer
31 views

“log in ” website with requests and threading “python”

I want to login to website but using threading and see many tutorial and can't find my situation import requests data = open("data.txt","r").read().splitlines() #loding the username and password ...
3 votes
1 answer
4k views

Bypass certificate error in IE

I have tried over and over again to get the Internet Explorer Driver to bypass bad cert errors in WebDriver. Currently I do this: driver.navigate().to("javascript:document.getElementById(‘...
1 vote
2 answers
51 views

I created a small POM framework in selenium but it doesnt seem to be recognizing my locators in the Test and also multiple browsers are opened

Here are the details: Question 1 : When I run my test, locators are not identified from the locators file? why? But when I added the driver.findElement(By.) in my test , it identifies though. ...
2 votes
1 answer
8k views

How to validate if PDF is loaded or not in Selenium Webdriver?

I have a link in Website which will redirect to PDF document after clicking I would like to check if PDF is loaded in the browser or not using selenium I do not want to compare the text/content in ...
0 votes
1 answer
308 views

How to get the Combined report of multiple threads when they are accessing the same URL

I am executing a test plan in which I have used two thread groups in which I have used multiple Selenium/WebDriver samples just for getting the URLs with the help of getCurrentUrl() function. In the ...
0 votes
2 answers
118 views

Need Some Help in implementing a logic for automating a web element using Selenium

Here is the html I am working on, the concept is to loop through the table and fetch all the td values. And based on the first td value, fetch the second td with tag strong inside the td tag e.g: I ...
1 vote
2 answers
833 views

Automated testing Edge Chromium with Selenium and javascript returns "Unknown Error"

When trying to run Selenium on Windows 10 Edge Chrome version 80, I am getting the following error: Z:\node_modules\selenium-webdriver\lib\promise.js:2626 throw error; ^ ...
6 votes
5 answers
38k views

How to set Firefox path on Mac OS for Selenium WebDriver?

I am beginner to webdriver. I have setup all configurations. I am using firefox 27.0.1 version with selenium jar files 2.40.0. I have written code to open firefox browser with a URL. I am unable to ...
0 votes
1 answer
138 views

Running sql query via automation tests in Visual studio vs SQL server management studio returns different results

I am running some database automation tests in C#.The results of the same sql query are different in visual studio(executed via automation tests) and SQ Server Management studio(Manually).The ...
2 votes
2 answers
6k views

Testcase fails in Jenkins but passes locally via testNG.xml in IDE

I've come across a strange problem when I execute my testcases via testNG.xml they are fine and passed but whenever I execute the same testcase in Jenkins I got the following exception Element is not ...
1 vote
1 answer
204 views

NUnit Assert.This(obj, method) for C# - where to find list of evaluation methods?

I'm an old embedded coder, new to NUnit and VS C#. I'm trying to get used to the Assert.That(obj,[EvaluationMethod]) methodology that NUnit 3.x is promoting. I'm slowly getting up to speed, but was ...
18 votes
5 answers
2k views

What Are Some Examples of Why Explicitly Sleep Statements Are Bad?

I've read various places that explicit sleep statements are bad practice in automated tests, even if I've used them occasionally. They can be annoying (creating unnecessary waiting in tests) but I can'...
0 votes
0 answers
27 views

Not able to select value from the select list and grid in oracle apex application

Hi I am trying to automate my oracle apex based web application but i am not able to select any value from the select list where i want to select customers as well as from the grid from which i select ...
0 votes
1 answer
1k views

Send the same JSON several requests but with different value in a node via POST with Apache JMeter

I am testing the behavior and performance of an endpoint and I have a JSON to test it, so I am sending via HTTP POST that JSON with Apache JMeter. When sending a single request there is no problem (...
4 votes
3 answers
27k views

Selenium: How to click a button using the button label?

In the HTML code like this: <a class="test-class"> <div class="test-content"> <div class="test-time" data-start="12:13pm" data-full="12:13 PM - 12:50 PM"> &...
4 votes
2 answers
629 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
1 vote
1 answer
756 views

Selenium Webdriver | Python (Tumblr) : Cannot access element ID after posting

I'm trying to create a test case for Tumblr (currently in the process of learning automation) and I'm stuck on trying to access the drafts page. So here's what's happening - after I post an image as ...
3 votes
1 answer
49 views

Knowing the defect (mitigating false positives)

During testing, there are areas you need to be sure are covered before you are sure you found a bug: technology (are you sure you are understanding the technology behind the AUT - how stuff works) ...
0 votes
1 answer
2k views

Cannot upload files when running tests in docker Selenium_Hub, Selenium-Node-Chrome-Debug and a container w/ Mocha + Selenium-Webdriver (JS)

I am trying to run javascript mocha selenium-webdriver tests on my company's application using docker containers. I seem to have everything working except that I am unable to upload files. Prior to ...
-2 votes
1 answer
9k views

How to extract a value from a JSON response with Java and Rest-Assured

I'm getting the response below. I need to assert the value of "Type". How can I get the value? I'm using Java and rest-assured The response: "Product1": { "Productive1": { "applause": { ...
-1 votes
1 answer
1k views

Unable to Retrieve Json value from CSV file

I am in need to send Json value as payload which is stored in csv file using CSV config element in Jmeter But in Jmeter value is not properly updated only bracket is updated in the payload fields
-1 votes
1 answer
47 views

Is there any course available online on designing ui automation framework using Selenium and Java?

Is there any good course available online that explains designing UI automation framework using Selenium and Java, integrating logging, reporting, etc. ? Maybe also talk about some best practices. ...
1 vote
0 answers
167 views

How to get the AJAX request using the Selenium Webdriver in jmeter?

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, the reporting is fine i.e. showing for each User and URL but I want to also show the ...
0 votes
1 answer
1k views

Dropdown value disappears when I move to next dropdown

I am trying to scrape some data using the following code. When I run the code line by line, it works fine. However, when I want to run all code at one go, the dropdown options go blank and as a result,...
1 vote
1 answer
2k views

Dll file is missing in my Debug folder (C#-Selenium)

I am trying to run my Automated test cases from the command line. My tests were written in C# - NUnit-Selenium-Webdriver. I opened my solution in file explorer then navigated to Bin--> Debug, but I ...
0 votes
0 answers
36 views

Automating POS application to do same action in different instances

I have a POS application that works in different client bases. I need to test if I generate a bill at the same time from two different locations, will it gets interchanged or any such anomalies. Is it ...
0 votes
1 answer
731 views

http cookies and selenium

I am using selenium with firefox. I am having trouble getting the http_only cookies retrieved from the code. driver.manage().getCookies(); brings in regular cookies, but not httponly cookies. Is ...
2 votes
1 answer
430 views

Unable to get the results for a particular URL after using the getCurrentUrl() function in the script

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, the reporting is fine i.e. showing for each User and URL but didn't get any response ...
0 votes
2 answers
620 views

Data driven testing with different elements eg Katalon

I have used basic data-driven testing to populate fields in Katalon scripts but how do I supply values (in Excel) to click checkboxes and radio buttons, please? Eg where one instance of the script ...
-1 votes
2 answers
6k views

Can we use Data Driven approach with Page Object model using Page Factory, any example or link will help

Can we use Data Driven approach with Page Object model using Page Factory, any example or link will help. I am trying to implement POM with PageFactory but at the same time I want to make it data ...
3 votes
2 answers
233 views

Which reporter is used for winium like allure reports is used for protractor?

I would like to test desktop application. So, I got winium as a best open source to test Desktop Application. When I gone through online tutorial but unable to find any reporter. Example - Allure ...
0 votes
1 answer
271 views

How can I generate dashboard report with URL i.e. navigated to by my Selenium Script in Jmeter

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, it has been only showing the overall results for each user. But I want to know the ...
0 votes
2 answers
6k views

How To Print The Text Of All Elements From List In Selenium Python?

Below is the sample class with its sample code: from webdriver_manager.chrome import ChromeDriverManager from selenium import webdriver from selenium.webdriver.common.by import By class Sample: ...
6 votes
5 answers
2k views

What are good practices for improving quality in a project new to me?

For the first time my team is going to take over a project from another company. Our goal is to improve quality - as I heard the project has a lot of bugs, UX issues and its performance is very low... ...
0 votes
2 answers
2k views

How to add row elements in selenium webdriver using java?

I have written code like this package testpk; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java....
4 votes
1 answer
875 views

Unable to run Appium Version 1.3.6-(Ophiuchus) on Yosemite for Testing Android App on real device

These are my settings: My SDK path: -/usr/local/adt-bundle-mac-x86_64-20140702/sdk My APK path -/usr/local/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/Setmore.apk Given Package name, Launch ...

15 30 50 per page
1
65 66
67
68 69
234