All Questions

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

Unable to import “ExtentHtmlReporter” for the java class

I'm trying generate reports for the selenium test script. but unable import "ExtentHtmlReporter" packages to the class. added dependencies as below <dependency> <...
0
votes
1answer
325 views

How to verify if any key is having null value from Json response in rest assured(Just have to verify if in response null value is there)?

{ "userId": "dummy1", "userRole": "s", "integrationId": "null", "integrationType": "dummy", "externalUserId": &...
0
votes
1answer
64 views

i want to run my selenium python script with appachi jmeter .how we integrate selenium python script in apache jmeter

import time from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.select import Select driver = webdriver.Chrome(...
-2
votes
2answers
60 views

How to structure or architect an automated testing project? [closed]

We are implementing automated testing from scratch and we want to use the Python language. We want to build all the tests, based on Selenium (Acceptance tests), in a project separate from the main one ...
0
votes
1answer
15 views

Load testing an AI use case/application

I'm struggling to understand the steps for measuring the time for a use case built on AI platform to clear the alarms automatically executing a series of commands. Issue is that only task that needs ...
2
votes
2answers
40 views

How to automate look-and-feel testing in a complex web application?

My company's web application has dozens of distinct pages that a user might hit. There are site-wide stylesheets, so changing one of them could affect every single page. There are four or five ...
1
vote
2answers
41 views

Name a non-testing related activity that improved your testing? [closed]

I’m curious to know different activities that can help us as testers even that are not directly related to testing?
1
vote
2answers
219 views

How to handle mouseover on element in UI in selenium webdriver using javascript

I don't want to use action class as its failing for some browser. therefore I am using JS but I ended up with " arguments[0].hover is not a function" error for using arguments[0].hover(); ...
-1
votes
1answer
34 views

Still Getting Element is not currently visible and so may not be interacted with Can some one pls give your inputs

I am getting the above error : Below is the xpath : String MeetingTypedropdown = "//*[@id='meetingDatesForm:meetingDatesTable_data']/tr["+(i+1)+"]/td[3]//div[3]/span"; PageUtil....
0
votes
1answer
59 views

TestNG: @BeforeMethod/@AfterMethod methods having no groups assigned are executed for the test method which have groups assigned

I am trying to run all the test methods irrespective of whether they belong to any group or not. Below is the Selenium code: public class BaseClass { @BeforeMethod(onlyForGroups = {"P1"}...
4
votes
3answers
82 views

Regression/Automation testing for experimental(ABtest) features

We are using automation testing tool Cypress to perform regression testing. We make 2 releases in a week so automated regression testing is critical for us. There are some features on production which ...
1
vote
1answer
30 views

How to retrieve test method status and other values in IReporter implementation

I need to retrieve test method status, actual result, expected result & other attributes in IReporter implementation. Is it possible to use ITestResult to pass required data to generateReport() ...
0
votes
3answers
52 views

Error with driver.switchTo().window() complaining that something isn't a string when it is

TL;DR I give my function a string. It complains that what I gave it isn't a string. My code: new WebDriverWait(driver, 5).until(ExpectedConditions.numberOfWindowsToBe(1)); //induce WebDriverWait ...
1
vote
1answer
27 views

Checkbox gets unchecked even though the Code is written to only select the checkbox..can someone pls help

Scenario: On the Screen once I navigate I have to click on the checkbox the first time only... Next time when I run the script the checkbox should not be unchecked.... but Issue: First Time if the ...
1
vote
1answer
35 views

Did not send values in phone number option

I have problems: first, it did not send keys to the phone number, and the second when I select the value in a dropdown it shows me this error. CONSOLE ERROR: Traceback (most recent call last): File &...
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 &...
0
votes
1answer
46 views

Dynamic xpath in page factory appium

public static WebElement selectcity(String cityname) { @AndroidFindBy(xpath="//android.widget.CheckedTextView[@text='"+cityname+"']") WebElement city; return city; }...
1
vote
1answer
19 views

Unable to locate/no such element python selenium

I am trying to click the place order button. Button code : <button type="button" data-ng-disabled="activeStep.position !== 6" class="primary-button place-order-btn" ...
1
vote
3answers
72 views

Implementation of automated workflow testing

I have doubts on how to implement test automation in the company where I am currently. I was wondering what workflow would you suggest? The project I will be working on uses, in its backend, the Java ...
1
vote
4answers
55 views

How to manage outdated test cases in the most effective way? (TCs are not a part of VCS)

Previously I worked a lot on projects where we had test cases integrated into our VCS, so it was really easy and not disturbing to delete them if they become outdated (knowing that we can retrieve ...
0
votes
0answers
46 views

Retrieving cookies from a file in selenium webdriver

This is the code which I am using for the retrieve the cookies while logging to the system. In this code shows error as "The constructor Boolean(String) is deprecated since version 9" and ...
2
votes
1answer
33 views

Selenium screenplay pattern vs PageObject with `isLoaded`

I'm starting to embrace and utilize the screenplay pattern with selenium testing. It's a new concept for me which has me un-learning old behavior. I've been slowly translating some sample tests ...
3
votes
4answers
218 views

How many tests to include when using Page object model

I've created a basic test for checking if some article is displayed and I have a question regarding Page object model. In my solution, I've testing page, base page, map page with element id's, and ...
-1
votes
1answer
351 views

Getting null pointer exception when data read from excel file

Getting null pointer exception : verifying the login successful or not. public class Test { private static WebDriver driver; private static XSSFWorkbook workbook; ...
1
vote
1answer
43 views

Not able to click Search button and also select the option from the drop down Getting .ElementNotVisibleException

Not able to click Search button and also select the option from the drop down Getting: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted ...
0
votes
0answers
21 views

How to choose a result in a dynamic webtable that has the same name and later timing in Selenium Python?

I have been working on a Selenium project in Python where I want to choose the result which has a later timing than the earlier one but have trouble implementing it. What I meant is this, Example if ...
0
votes
2answers
39 views

How to solve AssertionError in Selenium Python?

I am currently working on a project in Selenium in Python and I am getting AssertionError when I put a specific parametrised value 6.00 in the parentheses. Test.py Class Test: def test_voidnewcard(...
0
votes
2answers
66 views

How to iterate two list of WebElements and print the values one by one to perform some action

As you can see I Have two list and I want output like one from one list and second from second list following is my code please help me in this. Code in Selenium Webdriver in Java: @Test public void ...
0
votes
0answers
11 views

Looking for a solution for automated tests for a 3rd party web application (where my product integrates in the background)

My product integrates with 3rd party websites. It does this on the backend level, not affecting the original UI in any way. I'm looking for a solution to test that simple user actions are unaffected; ...
-1
votes
1answer
160 views

What are the advantages and disadvantages of using TestProject in automating functional testing?

I'm currently checking out the testproject for the possibility of using it as a tool in our automation testing (functional). Please help me decide if it fits our project by giving me the advantages ...
0
votes
1answer
100 views

Tools for microservice E2E automation testing

What are currently the best or most popular tools/solutions for automated end-to-end testing of microservices (preferably with an entry-level as low as possible)? The CI/CD process is GitLab-based ...
0
votes
1answer
42 views

How to check in the page if the name exists and then increment a unique name

I have a scenario where I need to add new username everytime is run the script. For instance, if the last time I had added a name as test1, then next time when I add another name I should not add ...
0
votes
1answer
49 views

Getting java.lang.NumberFormatException: For input string: “517838839328”

PageUtil.clickOnButton(driver, AppXPathsConstants.UserAdminAddNewuser); String id ="1517838839328"; String newid = "1517838839328" + (Integer.parseInt(id.substring(1,id.length()))+...
0
votes
1answer
112 views

ElementClickInterceptedException:

CONSOLE ERROR : Message: element click intercepted: Element <div class="button" data-target="false" data-id="2">..</div> is not clickable at point (937, 293)....
1
vote
2answers
47 views

How to select value from this dropdown list in Selenium using C# e.g. Main Feature as shown in the attached picture

Website if you want to try by your self: https://phptravels.com/ to run the script <div class="lvl-0 dropdown"> <span>Features</span> <div class="dropdown-...
0
votes
0answers
28 views

(C#) Selenium How do I choose an option within a ComboBox?

How do I select the "Acknowleg " option of my ComboBox "Acknowleg Type"? I tried the following code: var test = new SelectElement(_driver.FindElement(By.Name("Activity Type&...
1
vote
1answer
28 views

Supported Automation Framework for an Outsystems developed application

In my company development team has started using tool called "Outsystems " which has less code and less managing issue while developing . So I wanted to know from QA side if anyone's company ...
-1
votes
1answer
23 views

Getting Nullpointer exception when using click method using Page object model

In Helpers class I have this below method public void click(By locator){ driver.findElement(locator).click(); } In one of the pages used that method to click on an element as follows public class ...
1
vote
0answers
40 views

Selenium if else command with Element check to get response

I am running a selenium script on a web page. When the page shows a text I want the script to continue the loop. But when that text is missing I want the script to wait for X seconds before continuing ...
0
votes
0answers
30 views

How to run appium tests parallel in c# specflow?

I am new to C# and Specflow. I am using appium, c# and specflow for automating my tests. I have a app.config file where i am mentioning the environment to be run into. A driver class DeviceDriver.cs ...
1
vote
1answer
18 views

How to determine what thread a test is running in

I want to run my tests in parallel, but some of my feature files require the server to be in different (incompatible) states. This is because the server behaves differently when it is in different ...
0
votes
0answers
16 views

vsdiagnostics profiling missing expected information

I'm trying to profile a command line C# application (VS 2019) on a remote server with no VS installed. I'm following the procedure here. The application depends upon a couple internal libraries that ...
1
vote
1answer
26 views

How to click pop up window button in selenium with Pyhton

I want to click the "Akkoord" button but I am unable to do that. I already tried different methods but they are not working. Any help will be appreciated. one of the codes I tried. from ...
1
vote
1answer
47 views

How to test AWS [closed]

This is an open question. I know no answer is wrong or correct. If someone asks this question in an interview He wants to understand your thinking process. Can anyone put a light on this, how to ...
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 ...
1
vote
1answer
53 views

Python with selenium: unable to locate element which really exists

I've been trying to fill input: <input id="PASSFIELD1" class="logField" type="password" onkeyup="next(this, event);" maxlength="1" autocomplete=&...
1
vote
0answers
32 views

Fuzzing test in a REST API

I'm trying to do a PoC with Atheris, and I started to fuzz a endpoint in my api: api/v2/pokemon/<fuzz> Am I testing something useful with this? Or should I only use fuzz inputs in HTTP body?
0
votes
0answers
19 views

How can I identify each text box without any label using Sikuli GUI automation?

Anyone please help me to solve this, i using the latest Sikuli. I have read the documentation but yet I still stuck with this. I want to automate this screen (Oracle Form), I capture the image but ...
0
votes
2answers
64 views

Selenium : How to automate end to end email feature of an application

So basically i am trying to automate the testing flow for the email functionality wherein - emails are triggered from application to users when they fill in a specific form and provide there email id ...
1
vote
1answer
31 views

How to get id and name using regular expression and json extractor

[{id:1, name:"test1"}, {id:2, name:"test2"}, {id:3, name:"test3"},...] get id based on the name get id's based on the list of names

15 30 50 per page
1
3 4
5
6 7
216