All Questions
Tagged with automated-testing automated-testing or
3,669 questions
0
votes
1
answer
1k
views
How can we create our own Custom HTML report for Cucumber based Selenium Project?
I have a Cucumber based Selenium framework written in Java. Now, for reporting i use some common plugins/libraries like Extent report. That is fine.
However, i want to create my own custom HTML report,...
0
votes
2
answers
12k
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" ...
0
votes
1
answer
2k
views
Im trying to open jmeter using jmeter.bat command prompt is directly closing its not storing how to resolve this issue?
Can anyone please suggust me to solve this issue?
0
votes
1
answer
559
views
Keep getting 403 error code when executing POST request via Jmeter
keep getting error code 403 when executing POST request to Upload file. The system is using oauth2 authorization. i'm able to execute login, navigate to page but keep failing and getting 403 when ...
-1
votes
0
answers
5
views
Web Application & API Data comparison by using seleuium one test code?
How to test Web Application & API Data comparison by using seleuium one test code for a lot of records of rows and columns ?
0
votes
2
answers
69
views
Loose coupling for utility/helper classes
What solutions do you use to avoid tight coupling between classes when using utility classes like waithelpers, data formatting, selenium utils etc? I am using these classes having static methods, ...
2
votes
1
answer
4k
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 ...
1
vote
3
answers
3k
views
Selenium IDE type not saving text
I am trying to create an automation tool to test a salesforce platform. When I try to create a new form, the text is displayed but it's really just an injection from Javascript. Is there any way to ...
0
votes
1
answer
289
views
How to check webservice response in database using Selenium or UFT
I have an application. Different web services gets called when any action is performed. Let me explain my scenario:
When I update a value in application, it also gets updated in LPS system. The LPS is ...
1
vote
1
answer
2k
views
How to select a dropdown value in Selenium WebDriver using Java appium?
I am new to Selenium, currently am working on selenium webdriver. I want to select a value from the drop-down. But I am not able to do it because of some error. Also, I want to inform you that in my ...
0
votes
1
answer
201
views
Waiting for Masonry grid layout to be ready, before clicking button
Our app uses Masonry grid layout. After page_A opens, the tiles keep moving for a second or two.
The test case is: open the page_A and click on the button which opens page_B.
While clicking the button ...
5
votes
2
answers
381
views
What infrastructure is required for automated testing on a hosted desktop?
I've started investigating dogtail as a solution for writing GUI-driven unit tests in a GNOME Wayland session. Before I dive deeper I want to understand what I'll need to run these GUI-based tests on ...
0
votes
1
answer
1k
views
Playwright - Target Closed before any action
I am trying playwright and try to automate login feature. I have page classes, test classes and separate action class to write common actions like click,enter inputs.
My common action class
import { ...
3
votes
4
answers
2k
views
Drag & Drop issue in selenium web driver
Drag and Drop not working..as my drag and drop area not having 'Frames' i didn't use switchTo() here.
Actions action= new Actions(driver);
//driver.switchTo().frame(0);
WebElement drag=...
0
votes
2
answers
929
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 ...
3
votes
1
answer
132
views
How are you testing configuration changes?
I am curious if folks are testing configuration changes in applications. For example, I have a Spring Boot app that pulls its configurations from a local properties file at build time and from Spring ...
0
votes
1
answer
43
views
Can Appium be used for web testing on a Mac with PyCharm?
I wanted to automate my project, which has three parts:
Web testing
Ipad app
Ios App
I have started with the web testing, by following all the steps on appium.io and installed Appium Server, Appium-...
5
votes
2
answers
7k
views
How do I disable 'show all' download bar of chrome in selenium
I need to disable 'show all' download bar of chrome in selenium.
Because the download bar is showing, UI elements in the lower portion of my page that need to be clicked are not visible.
I'm looking ...
0
votes
1
answer
3k
views
I want to write Java code in Jmeter to copy current date in a variable and use this variable in next request. Where should I write it?
This is my code:
package dateTime;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format....
0
votes
1
answer
1k
views
Appium: How to resolve Class cast exception for iOS driver? "java.lang.ClassCastException"
I referred to one of the answers posted in this forum and when I attempted to run following code
NetworkConnection mobileDriver = (NetworkConnection) appiumDriver;
if (mobileDriver....
0
votes
2
answers
1k
views
TestNG with Eclipse: How to add main class?
How can I add main class in eclipse cucumber project. I am running cucumber feature file and using TestNG but getting error: "cannot find class in classpath" and as a resolution of this I am geeting ...
0
votes
2
answers
254
views
I am automating coop website and I'm facing problem while customizing XPath for add to cart button
I have customized an XPath for adding a product which has discount 30% for 2. Now I am facing problem while adding this into the cart.
package sample;
import java.util.ArrayList;
import java.util....
0
votes
2
answers
37
views
How to make a Java library jar file which multiple projects use and how to push latest code changes?
I have few java packages as part of Selenium, Java, Cucumber, Maven automation framework which all projects use. If I create .jar file of it and place it in a separate project/folder in TFS Git ...
0
votes
4
answers
1k
views
Sikuli IDE or Eclipse/JAVA for windows based application?
I am trying to prepare a POC using Sikuli. Can any one suggest me what is the best approach to use Sikuli for a windows based application ? Should I use Java with Eclipse or the Sikuli IDE itself?
0
votes
2
answers
496
views
Can't switch control on elements of a chatbot using selenium in python
I am trying to send a message as input to chatbot to check the response but when I am trying to send a message to a chatbot, I need to click on the input box where one can enter a message. But it is ...
1
vote
1
answer
132
views
Is it possible to make a jar file using Selenium java and Eclipse and run that file on any machine for the testing
I am using Selenium and Java with Eclipse and TestNG.
Now I want to make a .jar file for running this test case on another system that doesn't have Selenium and Java.
How can this be done?
1
vote
1
answer
87
views
how to find project to contribute as automation tester?
I'm manual QA with 3 years of experience. At the same time I've learnt some automation and wrote autotests on java for selenium-based framework on the previous job. I decided to get more knowledge of ...
0
votes
1
answer
3k
views
How to get the Indexes of all columns In a Single Row using Selenium WebDriver and C#?
For single web element in that row i got index..for multiple column in a single row how to get the index:
IWebElement colelement = driver.FindElement(By.XPath("//div[@id='grdBooking']//table//tr/
th[...
0
votes
2
answers
442
views
How to locate a link using page object model after mouse over
When I hover over login text there are list of links, i need to select Infostore using Page Object model approach. I am new to Selenium could any one help. I have the outer HTML for you:
<div ...
0
votes
2
answers
871
views
How to get text from header having separator
How to fetch text for
<h1 _ngcontent-gtj-c13=""> Site-2
<span _ngcontent-gtj-c13="" class="seprator">|</span>
Building-1 <!----> </h1>
I have used attribute ...
1
vote
2
answers
100
views
Cannot locate elements on this page. Firebug comes empty with status as loading. How to automate it ? (I wish to click OK)
I want to automate this page and click Ok Button, but the page is not displaying in HTML in Firebug and status is coming as "Waiting for ..."
In such cases how to automate the click without elements ?...
0
votes
1
answer
114
views
How to store a value which is not inside a tag in the SeleniumIDE?
My Problem
I'm trying to automate a login/logout test to my website using Selenium IDE and I'm facing a problem while trying to verify a value displayed in the page.
In my test I first verify the ...
1
vote
1
answer
717
views
What application types are supported by winappdriver
I have application which has extension as .msc, I tried it with python
I also ran winappdriver before executing this script. I have seen demo codes on some blogs which uses .exe file extension for the ...
1
vote
2
answers
328
views
NET::ERR_CERT_AUTHORITY_INVALID while recording from playwright
While I'm trying to record the web based application using Playwright tool and after launching the application getting as NET::ERR_CERT_AUTHORITY_INVALID .
After recording and in the playwright tool ...
1
vote
1
answer
365
views
How to input data into datapool from xml file in rational functional tester?
How to input data into datapool from xml file in rational functional tester? I want the user input file to be an xml file and this xml file should be used to feed information for data pool in rft.
0
votes
1
answer
1k
views
Selenium with C# "Element is no longer valid" exception being thrown when repeating steps
I am repeatedly getting a very annoying problem when automating my test cases using Selenium/C# in Visual Studio.
This test is designed around validating search criteria text. In order for me to test ...
3
votes
1
answer
1k
views
How to click an available time slot in customized UI calendar?
I have customized UI calendar attached in screenshot having date and time slots to book some test drive. actually the booked slot div contains some class and available slot contains some class name.
...
0
votes
1
answer
733
views
Unable to Locate Elements through Automator Viewer on Login Pop-up Box
I am working on a mobile project, but I got stuck with it, as I cannot Locate any element for this Login pop-up Box through UIAutomator Viewer, the only elements being displayed by the UIAutomator ...
4
votes
1
answer
311
views
Getting and logging the selenium version used in a groovy project
I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console.
I tried this:
BuildInfo info = new BuildInfo();
def ...
0
votes
1
answer
414
views
Login with different Login ID's for native mobile application using JMeter
I know for different parameters I have to use a CSV DatasetConfig and create a .csv file, with the email id and password separated by a comma.
For native mobile apps, we are using HTTPS Test Script ...
1
vote
1
answer
1k
views
How to add row elements in selenium?
I want to add today's count. I am new to selenium, and am not getting how to add using selenium. Can anyone suggest a solution?
This is my code:
package testpk;
import org.openqa.selenium.By; ...
0
votes
1
answer
36
views
Best way to plug in several sub flows as part of a single one in Cypress?
I am currently working on integrating Cypress e2e tests in our existing CI/CD pipeline (I'm not an automation engineer but a developer). Our application is a fintech app which involves the typical ...
-1
votes
0
answers
21
views
What are some use case of AI testing tools increasing test coverage and efficiency?
I am looking into some use cases of AI based tools that can be used to test functionality of a product more effectively.
Are there any AI testing tools that work like Generative AI where test ...
0
votes
2
answers
356
views
Testing multiple browser configurations via Selenium WebDriver
When covering cross-browser testing using Selenium WebDriver, how do you provide the browser and version information to the tool (e.g. BrowserStack, Sauce Labs)? For example, you're wanting to execute ...
0
votes
1
answer
48
views
Best way to automate File contents verification using Selenium/Java?
In my application, there are lot of files that contain financial data and those are sent to different parties. So, I have to automate verification of content of all these files. Now, each file has a ...
0
votes
2
answers
511
views
How do I click on an element available in a specific row where dynamic row is added?
In the below pic, I need to click on the icon in a row which is newly added and column1 value is stored as global variables.
Have used the below code, unable to find a solution.
WebElement ...
0
votes
2
answers
123
views
How to use java classes of one Selenium project into Another project in Eclipse?
I have around 10 Selenium/Java projects in Eclipse IDE and there is "utils" package and Automation framework classes that i manually copied to all projects and all those have different ...
2
votes
1
answer
70
views
How to implement seleniums LoadableComponent with a fluent API?
How do we implement LoadableComponent, when we have a fluent API, lets create a basic set of classes, shown below:
public class LoginPage {
// @FindBy locators
public DashboardPage login(...
3
votes
1
answer
704
views
How do I access fields within Braintree's Hosted Fields' iframes using selenium
On my application payment gateway is Braintree, I need to automate it and face some difficulties when I am automating it, the major problem is I cannot send credit card details using xpath, I research ...
0
votes
2
answers
4k
views
Can we access the value of a member or class variable of a test class in the testListner methods
I have a situation where 'xyz' is member variable of my testClass and I want to print some information in my report using that variable only.
So I want to access 'xyz' in my 'onTestFailure' listner ...