All Questions

Filter by
Sorted by
Tagged with
-1
votes
1answer
23 views

I had asked this question in interview of automation

If there are two test cases and first one got failed..In that case I don't want to stop the execution.. what's need to be add? Without using TNG ,annotations,try catch.. using selenium only
0
votes
0answers
10 views

Python game,Why will the ball not move in pong, possible time.sleep issue [closed]

So I'm trying to improve my Python skills; I made a game from a tutorial, for making the classic game pong. However my code has two major issues that I cant pinpoint what is causing them. the ball ...
-3
votes
0answers
14 views

What makes A/B testing robust against confounds? [closed]

Assume: I have released an own product and earn revenue the audience is global (analysis outlines who pays the most but the target is basically everyone everywhere) revenue model is monthly ...
-1
votes
1answer
15 views

THe relative xpath for the 2nd button of two identical buttons - selenium

i need to identify the relative xpath for the 2nd button highlighted in the image Can someone help me //*contains(@class,'fa fa-clock-o') i used this. it identifies the first button again
0
votes
2answers
60 views

Priority and severity

If the 9 key is pressed 10 times in a mobile phone, then phone reboots. What would the priority and severity be? I answered "low priority, high severity." Would the answer be "high ...
1
vote
2answers
4k views

How to fix DesiredCapabilities error in java appium?

I am getting this error "The type org.openqa.selenium.remote.DesiredCapabilities cannot be resolved. It is indirectly referenced from required .class files" when I compile and run the program. when ...
0
votes
1answer
22 views

Jenkins job got stuck after 30-40 minutes while passing results to a 3rd party server

In my Jenkins setup, we have a 6 hour long test suite running on a separate agent machine. After each test execution it will bundle all the results with a screenshot (bundle everything as a JSON) and ...
3
votes
6answers
85 views

Which is preferred in selenium, writing tests by page or functionality?

Should we write scripts that work 'page by page' or 'by functionality' which may mean several pages? if it’s page by page how do we verify the success criteria for any element? if it’s by ...
0
votes
1answer
28 views

how to get the values of “term_from” and “term_to” using selenium

How can i get the value of term_from and term_to from this html table.
1
vote
2answers
56 views

New to automation testing of APIs with Pycharm and Pytest

We are moving all manual testers to automation. I am very familiar with 'concepts' but really need a beginners step into automation for new API Service and endpoints. The developer is coding a new ...
-2
votes
1answer
33 views

What is the best architecture for a test automation framework with multiple products?

Currently we have time for updating architecture in our test automation framework and we searching for the best solution to our needs. We have this module architecture: tests-core core-api core-web ...
0
votes
1answer
75 views

until method is not present in class WebDriverWait in Selenium showing complie error

WebDriverWait wait = new WebDriverWait(driver, 1000); WebElement element = wait.until(ExpectedConditions.elementToBeClickable(ExcelFileReader.findElement(xpath))); import org.openqa.selenium.support....
1
vote
1answer
15 views

Waiting for two events in Selenide

I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable ...
-1
votes
0answers
25 views

Postman API testing scenario coverage

I'm pretty new to testing using postman and want some advice on potential test areas for this scenario: API - /add-feature POST - updates a feature on a vehicle based on the VIN(Vehicle Identifier), ...
0
votes
1answer
18 views

Custom Test Case Name in TestNg HTML reports

I am trying to override the test case name in the testNg HTML report since I am using the data provider and each test data depicts something different. To do this, I added the following: I am setting ...
-1
votes
0answers
25 views

org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained

Using Appium client io.appium java-client 7.0.0 The code is working fine if I use @FindBy(id = "//com.xxxx.xxxx:id/emailSignInTextInputEditText"...
1
vote
1answer
27 views

Unable to select the text from the drop down

i tried to identify the text from the drop down but it displays the error. Select agentName1 = new Select(driver.findElement(By.id("XYZ"))); agentName1.selectByVisibleText("ABC"); ...
0
votes
0answers
17 views

Is there a way to only run the test on an element on any screen of app

I am getting an error on my screen while running appium throug Serenity bdd, though the element is visible and has correct locator as define in my script. I want to try clicking on just the button ...
0
votes
0answers
23 views

Selenium webdriver or open source UI tools VS testproject.io kind of cloud platforms [closed]

When I started working for a new company, one of the first things I noticed was that they have a tendency to do UI automation with scriptless tools available on the market. The actual application to ...
1
vote
1answer
6k views

“org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally” issue on jenkins(openshift) chrome node

I've been trying to run selenium codes over Jenkins (server/openshift). There is chrome node in the jenkins machine for Test Automation - Selenium. I'm getting this error: org.openqa.selenium....
1
vote
1answer
86 views

How to check latency with JMS PUB/SUB in Jmeter?

Created 2 samplers: JMS publisher and JMS Subscriber JMS Publisher send msgs on one queue and JMS subscriber listens msgs on another topic. How can I link these msgs to show latency?? AUT is ...
1
vote
1answer
279 views

Regarding reading Jmeter output in Java

I have executed jmeter script through java, however I am not able to get output in java. Could you please help me in that. Regards Pankaj
0
votes
1answer
30 views

How can i call classes under other different class?

This might be a very strange question, but I am not even sure how to title this question. I am quite new to C# and Selenium. I have done some coding on it and I'm quite comfortable creating a (very ...
32
votes
5answers
239k views

A way to match on text using CSS locators

So I use xpath locators and slowly converting to CSS. I haven't found a way to do an exact match based on text. For example converting //a[text()='Log Out']. I know you can do css=a:contains('Log ...
6
votes
3answers
615 views

Is the Page Object Pattern the ideal approach for browser automation for a website which has a frontend that has nested frames?

I'm confronted with a web application which has a front-end that has frames in frames in frames. Regarding automated UI Tests with Selenium and Cucumber, is the Page Object Pattern the right approach ...
2
votes
2answers
65 views

Playwright: Implementing Page Object Patter into Framework

Recently I have been asking questions regarding Playwright and so far the community has been very helpful. I hope that my question and answers provided will be in use for people who are just starting ...
2
votes
1answer
38 views

Should I be using WebDriverFacade or WebDriver or PageObject?

What is the difference between using WebDriverFacade as opposed to Page Objects. I searched a lot and just can't seem to understand or find the answers. I am declaring WebDriverFacade for all my ...
0
votes
1answer
13 views

react-native + android error : How to fix? - java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

I am trying to build android application. Use this .apk to consume for Azure CI-CD for distribution & mobile automation. While executing command ./gradlew clean or ./gradlew assembleRelease facing ...
1
vote
0answers
16 views

Scrolling and retrieving values in a list in Appium

I'm trying to retrieve all the values after scrolling in a form of list. But i'm getting some of the repeated values. Please help. Below is the code: ArrayList<String> list1 = new ArrayList<...
1
vote
2answers
31 views

Playwright: Storing an element selector in variable

This might be a trivial question/answer, however I would like to know if there is a way that I could store an element locator in a variable and then reuse it same as it while working with Selenium and ...
1
vote
2answers
52 views

Send_keys in selenium doesn't activate the submit button but manual entering does

I'm struggling with a phone number field that I fill using send_keys function in selenium. Actually, the submit button is supposed to be enabled after filling out the phone number, but it doesn't ...
0
votes
1answer
27 views

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
4
votes
0answers
801 views

Cucumber - How to run background only once

Using Cucumber with Javascript and Selenium I have the following Gherking file: Feature: Login Background: Given database is filled with these emails and passwords. | tobias@...
1
vote
1answer
91 views

GUI tool for API testing with possibility to choose HTTP protocol version

I'm looking for a GUI tool for API testing that allows for changing a HTTP protocol version. There're many tools for API testing, but all I've found don't offer a choice of selecting what HTTP ...
1
vote
1answer
95 views

(Ruby) How can I invoke multiples Selenium Webdriver just in one browser POM

I'm a newbie on ruby language... Currently, I am using POM (page objects model) with Selenium webdriver. This is my trouble: As I'm using selenium with POM, I have 3 classes (register.br, login.br ...
0
votes
1answer
166 views

What is “normal” severity in Allure reporter?

Sorry English is not my first language. From what I read, defect severity is defined in 4 level in general. Critical S1 Major S2 Low S3 Trivial S4 Allure reporter defines severity in 5 level. ...
4
votes
1answer
1k views

How to use multiple wait conditions in Selenium Webdriver using ruby?

I wanted to know, how I can use following waits in program at which situations? driver.manage.timeouts.implicit_wait = 20 driver.manage.timeouts.script_timeout = 20 driver.manage.timeouts.page_load = ...
0
votes
2answers
4k views

scrolling and selecting all items in a list in appium

I have a list of items with checkboxes 1,2...n I used this code to get the list of the current view and select the items. How could I scroll the list to select the next items in the list and repeat ...
0
votes
2answers
11k views

Clicking a cell in a dynamic data table C# WebDriver

The HTML I'm trying working with is below, <div id="enquiry-header-grid-SalesTransactionEnquiry-enquiry-header-grid-wrapper" class="enquiry-kendo-grid-wrapper k-grid k-widget" data-role="grid" ...
1
vote
1answer
24 views

Issue while using Constant Throughput timer in Jmeter

I have constant throughput timer which will hit 1 request in 3 minutes in my test plan due to this my requests are getting timeout as it is delaying requests to 1 hour. Please suggest what should be ...
0
votes
1answer
61 views

Fetch paid Amount value from iframe

if(ScenarioName.equals("MoveinwithVantivCard")) { driver.findElement(By.id("btnsave")).click(); // driver.switchTo().frame("paymentIFrame"); driver.switchTo().frame(driver.findElement(By....
1
vote
2answers
43 views

SELENIUM - How to count IWebElement in IList<IWebElement> and get the position in the list

I have a problem and I don't know how to solve that... I have 5 exactly the same elements on the page (same div, same class, no id, same inner text). So I can build the XPath - where Selenium returns ...
0
votes
0answers
11 views

How to send Serenity BDD WebDriverFacade log messages to log4j logs?

I am using Serenity BDD for my project. I am declaring all page objects as WebDriverFacade so I can use the added functionality provided by WebDriverFacade on top of WebDriver. So my elements look as ...
4
votes
5answers
2k views

How Six sigma is beneficial for a QA/tester?

I am a Quality Assurance Analyst. In order to expand my horizon I am studying Lean Six Sigma. I found it very interesting. I am trying my best to spare time to attend seminars and study books in order ...
6
votes
3answers
936 views

What is the difference between automation tests and test automation?

Is there a difference between automated tests and test automation? If so, what are the main goals of the individual tests?
3
votes
1answer
54 views

How do I create a BaseClass that adds logging messages?

I am using serenity BDD for my automation testing and Page Object Model for my framework. I have created a BasePage class which will be inherited by all the other Pages. I want to minimize the logging ...
2
votes
1answer
2k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
3
votes
2answers
87 views

Continuous Screen Recording - Remember Only Recent Recording

I am looking for a screen recording tool that allows us to continuously record, but recycle (loop) so that only the last 5-10 minutes of activities are recorded. Scenario: We have a software user who ...
1
vote
2answers
36 views

How can I solve this Exception main” org.openqa.selenium.ElementNotInteractableException: element not interactable ?, C#

driver.FindElement(By.Id("UserName")).SendKeys("test"); driver.FindElement(By.Id("Password")).SendKeys("test123"); driver.FindElement(By.XPath("//*[@...
1
vote
3answers
90 views

Breaking a loop after resolving a promise

I am writing a program to check the health endpoint of one of our APIs. So, before starting execution, I try to hit the health endpoint 5 times. If I get the desired response code during the 5 ...

15 30 50 per page
1
2 3 4 5
216