Questions tagged [automation-testing]

159 questions
0
votes
0 answers

How to Do If option is found on 1st Try Command & Tell dont go to 2nd Try Command PYTHON-SELENIUM?

I have done a Script on Python Selenium using TRY Commands & IF ELSE. Now i have added 3 TRY Commands and at the Second TRY i have done to find the option. The Question is: How to do that if option is found on Second TRY Command, dont excecute other…
0
votes
0 answers

Getting an event message from a payload from the sockets

I'm working on a project where I am being required to automate some tests using JAVA. I need to validate that an event message is being received each time that an action is performed. I asked the developer about it and told me the messages are sent…
0
votes
0 answers

Is there any way to sending different cases for one endpoint intead of CSV or any data file in Postman?

This my Pre-request script in Postman: var requestToRun; switch (data["Condition"]) { case (1): requestToRun = [{ "test": "yusuf-klmn", "imageUrl": "", "name":"lop-kjm", "test2":…
0
votes
1 answer

Text in text input fields in UI Angular application not visible in DevTools selectors – how to reach it in automation tests?

I want to write automation test of input text fields in Angular using C# + Selenium. The problem is that the written text on Angular application in UI is not visible in DevTools, not in input, so automation test cannot reach it via CSS selector or…
0
votes
1 answer

Automation vs performance testing

I am a beginner in performance testing and I would like to ask, with automation testing is it possible to be transformed into performance testing? For example, I have the code of an automation of the login scenario for X users, will it be a good…
0
votes
1 answer

Cypress Automation - Cannot find button based on text

I am learning Cypress and have been automating various websites for the last few weeks. However, I am having issues clicking a button based on it's class or text value. (Supposed to be easy, I know) The button does not have an id and has a long…
0
votes
1 answer

How to send file upload multipart form in restassured

I want to send below as a Multipart Form in API Body for a POST request: Upload passing two attributes (KEY) with (VALUE) Send arquivo (KEY) with (file) How to do this using REST-Assured multipart print https://ibb.co/0QQCkQv attempts: Response…
0
votes
1 answer

How to update Chromedriver version in PyCharm for selenium-robotframework

I am using PyCharm to run my robot framework-selenium scripts. I am facing an issue SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 91 Current browser version is 93.0.4577.63 with…
0
votes
1 answer

Cant access login popup window elements using Selenium Python

When the login button is clicked a popup window which shows login with google. I need to access into the sign in with google button of the popup. I've shown some previous example to handle the popup using driver.switch_to_window method and iframe…
0
votes
1 answer

unable to connect my mobile to jmeter5.4.1 (mac)for load testing. I am a complete beginner?

I have done all steps mentioned online to connect mobile to jmeter from wifi setting, certificate installation and also mentioned my mac ip in mobile local host.After all this I can't record or connect by mobile.
0
votes
1 answer

Updated the issue -Getting stale ELement Exception inspite of putting in try catch, waited until the Excepected element was visible

*Iam getting a stale element Exception in this part: I am getting the id from the table this is the part where it leads to stale element: latestId.click(); I have tried: using the below code: WebDriverWait wait = new…
sandy
  • 27
  • 6
0
votes
1 answer

What is "cucumber.runtime.CucumberException: Arity mismatch: Step Definition" in java testing?

I have written a code to test adding items into an inventory but i keep getting Arity mismatch error. My code is as follows: @When("^(Coffee|Milk|Sugar|Chocolate) is (.*)$") @Then("^Inventory is successfully added\\.$") public void…
0
votes
1 answer

How to Maintain Patch Details in Feature File, which is easy to maintain

Is there any way we can collapse multiline string containing Patch information. Or what's the Good way to Maintain Patch Details, that doesn't increase the feature file size, with upcoming patch details.
Arpan Saini
  • 4,623
  • 1
  • 42
  • 50
0
votes
1 answer

Why I only can print out "Error" from log4j2?

Part of my code: public class TestContext { private static TestContext textContext = null; private WebDriver driver; static ConfigFileReader configFileReader = new ConfigFileReader(); private static Logger log =…
0
votes
2 answers

I am not able to close the first pop up appearing on the website when I land on the website (https://www.seleniumeasy.com/test/)

I'm new to automation and trying to run my code but when I land on the page the first pop up appearing doesn't allow me to process as I'm not able to close this…
1 2 3
10
11