All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
2k views

Automating a desktop app based on Chromium Embedded Framework using Selenium

Background: At work we are passing the --remote-debugging-port=9555 parameter to a CEF based desktop app and launching it using Runtime.getRuntime.exec("path to app"). Then, using selenium, we open an ...
pradeep srinivasan's user avatar
5 votes
1 answer
219 views

Protractor console logs when run with directConnect:True

When the config file is executed with directConnect:True flag, I am getting console logs that show more errors about my angular application. When directconnect flag is removed, there are no warning ...
PDHide's user avatar
  • 11.1k
2 votes
1 answer
142 views

Ignoring some test steps depending on variables

I'm using Cucumber + Java + Selenium to UI test an application. I'm using the same set of tests whether my application is deployed in qualification (for tests) or in production. However, when I'm ...
BelovedFool's user avatar
-2 votes
2 answers
2k views

Login to TradingView using Python and Selenium

I am new in Selenium and i don't understand how how to find the way to add my email and password to trading view. I have tried the example shown to connect to facebook and worked fine, but in ...
PhilippeGe's user avatar
2 votes
2 answers
1k views

Check that an element does not exist *after* a button is clicked

With ruby, I'm doing some cucumber tests with capybara to test a Shiny application (shiny is a R package to do web applications). But I'm a newbie with ruby and cucumber (and this is my first post ...
Stéphane Laurent's user avatar
-1 votes
1 answer
5k views

how to get list of files in a directory recursively in Cypress?

I wrote this code and it works fine, that is written in TypeScript. When I use the same code in the test file in Cypress I get error TypeError: fs.readdir is not a function import * as fs from 'fs' ...
RajKon's user avatar
  • 101
0 votes
1 answer
131 views

Odd behavior noticed during UI tests with Selenium

I want to ask you about the odd behavior I noticed when running multiple tests, using Visual studio, Selenium web-driver and Chrome browser. I have all the tests written as follows: sign in to the ...
Majkl's user avatar
  • 473
1 vote
0 answers
284 views

Header isnt being sent when using faraday gem ruby

I am doing an Api automation in Ruby and I am using the Gem Faraday to automate a file upload in my API. I have the follow problem: My Header is not being sent. I just tried all the options and is ...
Vanessa Bioni's user avatar
0 votes
2 answers
39 views

Percentage of time of an evaluation used to perform the evaluation

I often need to evaluate the time required to test a modification and include this time into the evaluation. What is the average percentage of the time evaluated that should be used to perform the ...
Mr Rubix's user avatar
  • 111
0 votes
2 answers
917 views

Count all elements with the specific resource ID on the scrollable view

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ? When I use the driver.findElements (By.id ("body_bubble")).size() method, it gets only ...
LexSav's user avatar
  • 155
1 vote
2 answers
4k views

JMeter - JSON parse error: Unexpected character

I am trying to add dynamic Post response on one rest API URL(http:IP:9000/page) with data as a JSON request in file format, So to add that file in post body I use the command: {__$FileToString(C:\...
sneh mishra's user avatar
1 vote
0 answers
300 views

Visual Studio Standalone Profiling

I'm trying to automate the profiling of a Visual Studio Native C++ Project (2015 and / or 2019). To do so I'm using the standalone profiling tools of Visual Studio VSPerf (and related) and ...
Alphastrick's user avatar
0 votes
1 answer
602 views

Not able to run application through emulator in mac

Code: public class AppDAta { public static URL url; public static DesiredCapabilities capabilities; public static AndroidDriver<AndroidElement> driver; //1 @Test ...
Krina Modi's user avatar
0 votes
1 answer
391 views

Webdriver setup error in Eclipse, Mac OS X Catalina

After upgrading Mac OS X to Catalina, I have been trying to execute a very basic script written in Java for Firefox in Eclipse IDE 2018. I've installed Gecko driver already through terminal and it's ...
user11702680's user avatar
1 vote
0 answers
57 views

Best approach for end to end testing for integration of web, hardware and desktop in Ci/CD?

I have a very unique application that involves a web portal, USB hardware dongle license and windows executable utility that configures the hardware As a customer buy a USB dongle hardware in a web ...
Daniel Vianna's user avatar
5 votes
2 answers
173 views

Does Kanban imply the removal of bug tracking?

The software development planet is in a phase of huge transitions. There are many sdlc models being introduce and transformed like Agile , DevOps , DevSecOps and so on. One of the main shift I ...
PDHide's user avatar
  • 11.1k
0 votes
0 answers
17 views

Unable to locate element using string Actualtext xpath [duplicate]

package Practice_KingAllProg; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class ...
Sahil sayyad's user avatar
4 votes
4 answers
157 views

Overcoming Cultural Differences with off-shore people

starting position At the moment I have different test teams at my disposal who work on different continents or who accompany my project like now in India. I have noticed a wide variety of ...
Mornon's user avatar
  • 1,117
0 votes
0 answers
38 views

Unable to find the xpath [duplicate]

I am unable to find xpath for the below success message: WebElement successOverlayMsg = findElement(By.xpath("//*[text()='A new app overlay \"APAutomation_Merchant_M32XphDFc\" has been created ...
Anna's user avatar
  • 1
4 votes
2 answers
123 views

Are there more agile testing techniques like test jumpers, mob testing etc.?

In our project we want to move away from the regular testing methods (e.g. ISTQB specification based testing) and we want to expand our testing technique with agile testing techniques. Who knows agile ...
Daniel Boehm's user avatar
  • 1,173
2 votes
2 answers
1k views

CSS vs XPATH vs ID

Selecting an element with unique ID say "sign", which is the preferred method: By.id("sign"); By.xpath("//[@id="sign"]"); By.css('[id="sign"]'); Lets filter out xpath because By.id uses document....
PDHide's user avatar
  • 11.1k
10 votes
5 answers
2k views

What will happen if we start testing only after development?

It has become increasingly common for groups to want to start testing as soon as possible because the cost of fixing a potential bugs in design level is much cheaper than fixing a bug later. But, ...
Jeff's user avatar
  • 387
0 votes
0 answers
28 views

How to apply a 'Loop' to map the row element where XPath changes whenever page get's loaded [duplicate]

How to map on to a particular row element say " NCC "where the number of the row containing that element changes whenever page get's loaded. Reference website-guru99 for(int i=0;i<19;i++) ...
merin babu's user avatar
1 vote
2 answers
2k views

Definition of ready and done in an agile test environment (when test teams are not on site)

details In my current project I work with different test teams, some of which work in different time zones, and also in different projects. However, all projects work on a common main project. ...
Mornon's user avatar
  • 1,117
5 votes
4 answers
3k views

Strategies for discovering undocumented API

Inspired by this question: How to approach API testing. The first point of a checklist in the above question is "API Endpoints". But, what to do when you don't have the endpoints documented because ...
Mate Mrše's user avatar
  • 4,119
0 votes
0 answers
260 views

Get list of all hover menus and and their all nested hover menus using selenium

@Test public void MedicineList() throws InterruptedException { driver.get(sitedata.getProperty("Medication_url")); WebElement mainmenu = isElementPresentt("dog_xpath"); ...
Krina Modi's user avatar
0 votes
1 answer
3k views

Cannot find an element with Xpath in Appium

I'm new to Appium. Sorry if the question is duplicated, but I did not find the solution. I have a problem - I cannot locate an element using Xpath, but I have no problems locating it using the ID ...
LexSav's user avatar
  • 155
0 votes
1 answer
373 views

I am getting the error "Failed to load extension from" at the start of every run

I am using Serenity framework and getting the attached error at the start of every run. If I close or accept the box then my test successfully otherwise failed. I tried to handle this in serenity.conf ...
surbhi singh's user avatar
1 vote
1 answer
80 views

Cucumber-jvm - Retrieving embedded image from TestCaseFinished event

I have a cucumber plugin where I post my test case results to TestRail using the TestCaseFinished event. It works so far, but on failed steps, I use the scenario.embed method to add a screenshot of ...
JordiLaForge's user avatar
0 votes
3 answers
93 views

Automatic testing of Single Page Web Application

I have a very complex SPA made up of a client that uses AJAX to make calls, and a rather large number of endpoints that respond to REST requests. We are writing tests the "classic" way; however, one ...
Merc's user avatar
  • 139
1 vote
3 answers
1k views

How can I measure how effective my testing is? What metrics should I use?

I am working as SQA and mostly do smoke testing and regression testing manually. But I think it is consuming more time and I am not certain about if it's completely tested or not.
waleed iqbal's user avatar
0 votes
2 answers
2k views

detect new element in html using selenium, python

is it possible to detect in selenium, that new dynamic element added in html msg_box = driver.find_element_by_class_name('_3u328') msg_box.send_keys('---') button = driver....
Lokesh's user avatar
  • 1
-3 votes
3 answers
85 views

what is the difference between //span and //*?

I am learning selenium Xpath. what are the different ways of Xpath ? what is the difference between //span and//*?
Aam ali's user avatar
  • 137
0 votes
1 answer
2k views

calculating minimum test cases for 0-Switch coverage

I'm new to testing and I don't understand 0-switch coverage and 1-switch coverage very well, I understand the concept but I don't know how to solve some questions like this one
roka's user avatar
  • 11
2 votes
2 answers
264 views

How can I get this 'Version: 0.1.0 - 94" value from the <div> tag in selenium webdriver?

How can I get this Version: 0.1.0 - 94 value from the <div> tag in selenium webdriver? and here is my code: <div _ngcontent-qbk-c3="" style="text-align: center;">Version: 0.1.0 - 94</...
Kavitha Sivalingam's user avatar
1 vote
1 answer
1k views

Keyboard ArrowDown in listbox using Selenium with C#

I'm working in selenium c# automation, I'm trying to traverse down in list box values. <ul> and <li>. I have tried many options in trial and error. The kind of code I'm trying to use is ...
Thiyagarajan's user avatar
0 votes
0 answers
156 views

On webhook related load testing

I was curious if anyone has done or looked into webhook load testing, where you’re testing the service that’s sending webhook events out to a server that’s receiving the webhook notifications, and ...
David's user avatar
  • 143
2 votes
1 answer
171 views

Integrating Protractor to Octopus deployment (CI/CD Integration)

I have a batch file with below content: %1 %2 --params.validFile=%3 --params.invalidFile=%4 I am starting it through power shell script: $path= "<filePath>\start.bat" $...
PDHide's user avatar
  • 11.1k
0 votes
2 answers
1k views

Avoid default selection when selecting random value from dropdown

I have a method below that selects a random item from a dropdown list. This works well mostly, but on occasion it will reselect the default option which is usually "Please Select" or a blank value. ...
christopher harris's user avatar
0 votes
4 answers
1k views

Unable to click on 'sign out' link

I am trying to click on sign out link, but not able to succeed: I tried the below ways, Click Element class=mat-icon.notranslate.mat-primary.material-icons Click Button name=Sign Out Click ...
Adarsh99's user avatar
1 vote
1 answer
2k views

Verifing pdf using Selenium + Java

How can one verify pdf using Selenium + Java? Until recently, I was verifying pdf using Firefox (making sure that the pdf file wasn't empty). This was nice and working fine, but it's not multi-...
BelovedFool's user avatar
28 votes
9 answers
8k views

How to respond to requests to retest, in hope that the bug is gone?

We sometimes get requests from developers to re-run a failing test on the latest build, since "we did a lot of changes" and they hope the bug is gone. On one hand, one can claim that they should ...
Michael Stahl's user avatar
-1 votes
3 answers
322 views

Selenium automation interview preperation question [closed]

What error does this line return when I pass a URL without HTTPS or HTTP driver.get("www.google.com"); It was asked to a fresher in his interview.
Sandhya's user avatar
  • 17
0 votes
4 answers
7k views

Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\Selenium\chromedriver_win32.exe

package com.selenium; import org.openqa.selenium.*; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class MySelenium { public static void main(String[...
Supriya Das's user avatar
2 votes
2 answers
1k views

Setup of Test automation framework from scratch using NUnit and Specflow and RestSharp and selenium with Visual Studio 2017 C#

We have so many API's(5 to 8 API calls - Mostly REST based and 1 or 2 in SOAP based) and Oracle DB. We do not have any WEB UI. No UI automation.Only middle tier and backend automation. For automation ...
venkat's user avatar
  • 121
0 votes
4 answers
321 views

Locate Element using selenium

I am trying to locate an element to click in order to Sign In , not able to succeed. I tried the below steps, Click Element class=mat-raised-button mat-accent Click Element class=mat-focus-...
user42303's user avatar
1 vote
4 answers
2k views

Difference between Test coverage and RTM?

What is difference between Test coverage and Requirement traceability matrix?
zuber's user avatar
  • 21
3 votes
2 answers
14k views

How can I handle the chrome HTTP Authentication popup window in selenium without AutoIT?

I have tried https://{USERNAME}:{PASSWORD}@xyz.com pattern to authenticate URL but it doesn't work for me. Can someone suggest me the best way to handle chrome HTTP authentication popup?
Denish Makwana's user avatar
-3 votes
1 answer
692 views

Iterating in drop down through selenium web driver

How do I iterate in drop-down using Selenium Webdriver? I have a drop-down like B008124/001, B008124/002, B008124/003, B008124/004. Here I have to select B008124/001 and perform some option like ...
yukesh raj's user avatar
4 votes
4 answers
183 views

How to combine exploratory testing with test automation creatively?

Background :There is an definite value in automated test execution of scripted tests to find regression defects. On the other hand there is an tremendous value in exploratory testing and going beyond ...
Vishal Aggarwal's user avatar

15 30 50 per page
1
44 45
46
47 48
234