All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
239 views

Given the following fragment of code, how many tests are required for 100% decision coverage?

if width > length then biggest_dimension = width if height > width then biggest_dimension = height end_if else biggest_dimension = length if height > ...
1
vote
1answer
59 views

XUnit test standard output gets truncated on Visual Studio

When I run Xunit tests via Visual Studio’s Test Explorer and click on the “Output” link, a new tab with the test’s log is opened in Visual Studio. The log is truncated - the following message appears: ...
0
votes
2answers
33 views

How to select two and three check box in a table

How to select random checkbox in a table because checkbox id, type , name are same then how to get random checkbox select and value is different. http://prntscr.com/106nuzd
0
votes
4answers
137 views

how to locate a href link inside anchor tag in selenium java?

[![enter image description here][1]][1]
0
votes
2answers
55 views

Finding dead code by test tooling

Testing tools, unitary or functional, are running certain portions of code. So we can define an idea of code coverage, which is the part of the code that is actually being tested by the test tooling. ...
0
votes
3answers
119 views

How to log testing results to xlsx (Excel) file with Selenium WebDriver?

I have a certain test automation script written in Java with Selenium WebDriver. Currently, I log the testing results to the console and manually copy them to the required document. Is there a way I ...
1
vote
3answers
205 views

Is it possible to open a mobile browser with Selenium WebDriver?

I know it is possible to open a desktop web browser with Selenium WeDriver. The following lines written in Java allows doing so: WebDriver webDriverChrome = new ChromeDriver(); webDriverChrome.get(...
0
votes
1answer
86 views

How to go through all pages at a certain domain with Selenium WebDriver?

I need to verify a certain thing on multiple pages on a certain site. The thing is it is quite tedious to manually add links to each page for testing to a script. Is there a way the Selenium WebDriver ...
0
votes
0answers
9 views

How can I check the error in the incoming alert message in Android mobile test?

I'm running an Android mobile test with C#. The transaction I want to do is a linked transaction and I want to have it checked. After I press the Continue button, I get an alert message. I want to ...
1
vote
0answers
10 views

what is the number in the zypher-jira tool for the defect indicates? 2|0

I have a zypher -jira tool and when i assign the defect to a test case i see there comes a number like this - 2|0, so what does that 0 indicates? and when will it gets incremented?
0
votes
2answers
23 views

Extract InnerHTML from

Is there a way that I can extract the following data in Chrome Devtools Console. Currently I do the following in the console of the chrome devtool: $x("//a") I get a list with all the a ...
0
votes
1answer
926 views

How to simulate a simple keypress in Cypress

Working on webpage test automation with Cypress atm. Ran into a problem. I need to simulate a pressing of the ESCAPE key from a user. Cypress has its own type() method, but it is required to chain ...
0
votes
1answer
23 views

Slow page load time when increasing concurrent users

I've been load testing our site recently and noticed that the browser page load time in Azure's Application Insights suffers a great deal when ramping up the number of concurrent users. The page ...
-1
votes
1answer
72 views

What will be the statement coverage, decision coverage and branch coverage of these following problem?

I have been trying to get ISTQB certification and this is my first time with manual testing stuffs, I found it very interesting but can some please tell me how to find the statement coverage, decision ...
-1
votes
3answers
380 views

AttributeError: 'TestOne' object has no attribute 'driver'

When I run my script it gives me this error, CONSOLE ERROR : "C:\Users\LENOVO L540\PycharmProjects\easyNeasypytest\venv\Scripts\python.exe" "C:\Program Files\JetBrains\PyCharm Community ...
0
votes
0answers
41 views

Selenium IDE - how do I 'click' custom Angular events?

I'm trying to test/debug an Angular app that generates a calendar (note: I cannot currently modify the application.) I believe the Angular calendar used is: Components / CalendarMonthViewComponent I'...
2
votes
1answer
107 views

How to select this dropdown with Selenium

Here is the HTML code: <select id="faculty_id" name="faculty_id[]" class="form-control select-select2" multiple="" tabindex="-1" style="...
0
votes
1answer
58 views

How to handle menu bar in Cypress

I am trying to click the search bar either on the sidebar <im-sidebar class="hydrated"> or top menu <nav_class = "top-menu">. This is the code So I tried: cy.get('....
2
votes
3answers
90 views

File transfer test cases for different OS's

What are the cases for a test suite that verifies an app compiled to run on Mac/Unix/Windows10 does the job of copying files (not folders) from one place to another (not necessarily over a network). ...
0
votes
1answer
32 views

How to run thread group forever with time delay in JMeter

I have a thread group with 30 Http request. I would like to run the whole thread group once with just 1 user, than wait 30 minutes, run it again, wait 30 minutes and so on for few days. How should I ...
1
vote
1answer
92 views

How to automatically execute failed testing cases on Jenkins using extent report

I'm looking for a solution to execute failed test cases automatically on Jenkins. I'm currently running test cases through pom.xml which points to testng.xml I'm using extent reports to capture and ...
0
votes
0answers
37 views

RSA Soft Token Automation

Can we automate RSA Soft Token to achieve end to end automation. I have automated using Input Simulator by simulating the keyboard events. It is working fine when we run the scripts on local machine, ...
0
votes
1answer
68 views

How to call fluent wait function from another class to a test case in selenium webdriver?

I have created a new class called "FluentWaitClass" and added fluent wait like below: And I want to use this wait functionality to check whether my login page has loaded in one of my below ...
1
vote
1answer
170 views

@BeforeMethod/@AfterMethod(onlyForGroups) methods did not execute, if a test method belonging to this group is executed

I am running a test suite with the test methods belonging to a certain groups. Below is the Selenium code: public class BaseClass { @BeforeMethod(onlyForGroups = {"P1"}) public void ...
0
votes
3answers
72 views

Which test automation factor is effective? [closed]

Details: We had a discussion on this very topic in our team today, some brought in a factor of 30% which I also know, but I am of the opinion that a much higher automation factor should always be ...
-1
votes
1answer
856 views

Error using Page Object Model in selenium

I am trying to design an automation framework, using the page object model, I am new to automation. I am stuck at this point, could not solve it. Kindly help I am getting Cannot invoke "org....
-2
votes
1answer
49 views

Cannot invoke “pageObject.loginPage.enter_username(String)” because “this.LoginPage” is null

I'm automating a simple login test project with cucumber + maven + testng. I can't write username and password in login page I can't login https://www.lambdatest.com/automation-demos/ website. Where ...
0
votes
0answers
7 views

Testing a mock UNIX project with MC-DC coverage

I’m currently on a UNIX mock shell project involving writing and testing implemented commands such as ls and grep. This is part of a testing module in my university, and is written in Java.. I’m ...
1
vote
1answer
75 views

ISTQB Foundation Level question (testability of the test basis and test items)

I am having trouble with this ISTQB practice question. I understand how the answer (C) was reached, but I don't understand one of the explanations (for option "A"). Here is the question: ...
1
vote
2answers
44 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
1
vote
2answers
35 views

How to verify the presence of a script on multiple web pages?

I have a set of web pages where I need to verify that a certain script is present. A have a lot of pages to verify so I would like to automate this part of testing. How can a create a sequence with ...
0
votes
0answers
22 views

.perform() not working with Cataline safari 13.1

I want to move the cursor on xpath element given below so that I can validate the colour changes but I am getting below error : org.openqa.selenium.interactions.MoveTargetOutOfBoundsException: ...
1
vote
3answers
78 views

Tests that cannot be automatable in BDD model but can be automatable in TDD model

I have been to a interview. The interviewer said they were using BDD model in their project. He asked me this question. Define some Tests that cannot be automatable in BDD model but can be ...
1
vote
2answers
26 views

Struggling to find solution for clicking element that is duplicated on different tabs of my application

Getting pretty desperate so I thought I'd reach out and see if others had ideas. The application that I'm automating has different forms and each of them open in different tabs within the application (...
0
votes
3answers
66 views

Issues creating custom xpaths

I've became lost in the world of xpaths, so got an advice to create custom xpath, instead of coping this one, for example "/html/body/div[1]/div[4]/div[1]/div[7]/div/div[2]/div[3]/div/form/div[2]/...
1
vote
1answer
30 views

Webdriver doesn't move the slider to the correct value

Here, I am passing 30. But after running the code slider moves to 20 only. Doesn't move to the correct value that I am passing in the code. By slider_humidity = By.xpath("//mat-slider[@...
0
votes
2answers
299 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
584 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
112 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
67 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
17 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
46 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
43 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
456 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
45 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
85 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
32 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
64 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
31 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 ...

15 30 50 per page
1
4 5
6
7 8
218