All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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 ...
-1
votes
1answer
32 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
-3
votes
0answers
16 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
16 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
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 ...
1
vote
2answers
58 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 ...
-1
votes
0answers
26 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), ...
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 ...
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
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 ...
0
votes
0answers
24 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 ...
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 ...
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 ...
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
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
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<...
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
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 ...
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 ...
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 ...
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 ...
1
vote
1answer
29 views

Click on table row if text String is found

I have this Angular component implemented as a table: <div _ngcontent-nyg-c4="" fxlayout="column" class="feature-content" id="content.rowify" style="...
0
votes
1answer
28 views

C# + chrome-driver : How to fix - cannot find Chrome binary/Chrome failed to start: crashed/Failed to create a Chrome process?

I am trying to run selenium using chrome-driver in my project. While creating object of chrome-driver facing errors : Message "unknown error: cannot find Chrome binary\n (Driver info: ...
0
votes
1answer
25 views

Getting Windows download directory path in Robot Framework

I have a Robot Framework test case that makes use of the following variable: ${download_dir} C:\\users\\myProfile\\Downloads How can I change this so that it always points to the Downloads folder ...
1
vote
1answer
45 views

How to find the button name and click it using VBA and Selenium?

I'm trying to go to a LinkedIn website. I'm using Selenium and for some reason it does not recognize my saved user name and password so every time I open up a LinkedIn session, it is prompting me for ...
-1
votes
1answer
31 views

How to determine test coverage on a Protractor/Jasmine project

I'm new to a project that is in active development but is a mature application. It has a lot of Protractor/Jasmine tests, but they are organized somewhat poorly. For example, multiple identical or ...
1
vote
1answer
28 views

How to check for a change in the Inner Text of an html

I have to check if a change was done in the inner text of an area on my website. Lets assume this to be the html of such page: <span _ngcontent-c1="" class="image"> <...
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 ...
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("//*[@...
0
votes
0answers
24 views

Webdriver doesn't Click (sometimes) even after waiting for ElementToBeClickable

I am running the script where once clicked 'Download button which gives options to download 5 different types of file. Please see the attached image [https://i.stack.imgur.com/ra8Cn.png], [https://i....
-2
votes
1answer
34 views

priority in software testing [closed]

If there is some misspelled or mistake in copywrite information then will that be of high priority and low severity or some other would be answer for this ?
0
votes
2answers
61 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 ...
-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
0answers
18 views

1)i am getting “the name page Factory does not exist in the current context.” even after adding using OpenQA.Selenium.Support.PageObjects;

this is my code using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; //using SeleniumExtras.PageObjects; using OpenQA.Selenium.Support.PageObjects; using System; using System.Collections....
0
votes
0answers
9 views

IEEE 829 standard: numbering for one-level hierarchy of testing for programs that just read/write files

Numbering in Software Test Document for programs that (read files/write files) I have completed test plan for a program (Application Under Test, AUT) that: reads in an input file and a command file. ...
0
votes
0answers
25 views

NullPointerException-webdriver null

I put a screenshot with getDriverInstance. After run. When I run the test, I get this error. At debug it tells me that the webdriver is null. Can anyone help me with a solution how to fix the problem? ...
1
vote
1answer
22 views

How do you test (currently) unreachable code?

I have a function that needs to do something like "try to move to node X in a directed graph", and my current implementation uses an indefinite loop like this while(true) { ...
2
votes
2answers
111 views

Handling cases where a JSON Key exists or not

I'm using rest-assured to test an API. I want to handle a scenario where a key might not exist Given: { "shop":{ "shopId":1892929, "name":"bobs shop"...
2
votes
0answers
18 views

Design Industrial Process Controller for Testability

We are currently developing a new industrial process controller for applications with very low cycle times (<50us). The embedded software that runs on this controller shall be validated ...
1
vote
0answers
13 views

App crashed when give back action continuously - shared preference error android

I have to do back action continuously, app crashed. It shows: "Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, ...
4
votes
2answers
57 views

Can we use FluentWait for hours selenium webdriver?

Actually I am working on one script in my application there I need to wait till its complete the execution, once complete the execute it will change the status. But I don't know when the execution ...
0
votes
0answers
8 views

Android - View pager back function not working in first two tab

I have used viewpager with tablayout in activity.It have 3 tab, The issue which faced is when selected tabs 1&2 back button is not working,and its not able to go to the previous activity. And, in ...
1
vote
1answer
28 views

Playwright: Executing different test suites depending on script parameter

I have switched to Playwright recently and I would like to ask you for some feedback on my current issue which I am facing at the moment. I have a simple framework set up for one of our company ...
1
vote
0answers
88 views

Automated testing Chrome with selenium and java returns: Failed to create Chrome process

When trying to run Selenium on Windows 10 Chrome version 90, I am getting the following error: org.openqa.selenium.WebDriverException: unknown error: Failed to create Chrome process. Driver info: ...
0
votes
2answers
26 views

I have a dynamic xpath which is based on 4 values, if I am using OR condition the xpath looks huge, any other way to handle this?

_OPTION_1 = "Average" _OPTION_2 = "M" _OPTION_3 = "Casual" _OPTION_4 = "D" _WIDTH_VALUE_XPATH = f"//mat-option/span[contains(text(),'{...
-2
votes
0answers
24 views

How to input password that is inside a /div and /span in selenium

Cisco.com recently changed their login page and my selenium program no longer works. I am trying to input my password with selenium on this cisco login page (https://id.cisco.com/signin) But for some ...
-3
votes
1answer
44 views

How can i repeat this script many times [closed]

driver.find_element_by_class_name("submit").click() time.sleep(2.5) driver.find_element_by_xpath("//input[@value='Continue >>']").click() time.sleep(2.5) driver....
1
vote
3answers
62 views

Avoiding a NPE when checking JSON response using JsonPath and Rest Assured

Given the following JSON: { "priceOne": 1034, "priceTwo": null, "priceThree": 7282, } ...and the following Rest Assured method to get the priceTwo value and ...
-1
votes
1answer
13 views

how to pass the ’ Environmental Variables’ and ‘Global Variables’ from Jenkins using postman(newman) – Execute Windows batch command (Re-open) [closed]

how to pass the ’ Environmental Variables’ and ‘Global Variables’ from Jenkins using postman(newman) – Execute Windows batch command how to pass the ’ Environmental Variables’ and ‘Global Variables’ ...
2
votes
1answer
15 views

Unable to get Response Header Cookie and set it to another Request Body in Jmeter script

Not able to pass Response Header (Set-Cookie value) to another request Body in order to place a reservation. To place a reservation i need to get HoldReservation cookie from Reservedate API but when ...

15 30 50 per page
1
2 3 4 5
216