Posts by Luís Gustavo Vieira • 83 points
10 posts
-
3
votes2
answers188
viewsQ: Receive 2 parameters when entering a key parameter
I have a code that is related to 2 values, for example: 1253 (code), São Paulo (first value, in this case the state), and Osasco (second value, in this case, the city). I wonder if there is some way…
-
0
votes1
answer30
viewsA: Noclassdeffounderror - Only running via Jenkins
Answering my own question... After a lot of searching the internet, the code, and everything else, I saw that a comment in a community where a user said that this exception is sometimes not played…
-
1
votes1
answer30
viewsQ: Noclassdeffounderror - Only running via Jenkins
Hello, I have an automation project with Selenium + java + Maven integrated into Jenkins. Today I did a refactor on it moving some classes to new packages. In my machine there is no problem of…
-
1
votes1
answer654
viewsQ: Receive json array value for string - Java
Hello, I don’t have so much knowledge in Json and I’m having a problem and I couldn’t find an exact solution to it in the community. I have the following json file format: { "name" : "ProductName",…
-
1
votes1
answer754
viewsQ: Java: Get name and serial number of cell phone connected to the computer
Dear first: This is not an issue involving Android development. I am doing automation in java, and I would like to know if there is any way to store the name and serial number of the device when…
javaasked Luís Gustavo Vieira 83 -
0
votes0
answers1212
viewsQ: Java - Selenium - Use contains with element list
I have on a website the products that were added in the cart. I want to check that the product "Test T-Shirt" has been successfully added. For this, I have a string where this value (Test T-Shirt)…
-
0
votes0
answers1229
viewsQ: Java, Cucumber, Maven - Feature runs without any class
I did a test automation project using Eclipse + Java + Maven + Cucumber + Selenium I have the following problem: Since I’m not using git yet, I exported this project to a file. zip, and in my work…
-
0
votes1
answer1007
viewsQ: Java / Selenium - Store text in variable
Guys, all right? I have the following problem: I need to generate a fake Cpf, copy the generated Cpf, and store it in a variable. But I can’t extract the generated Cpf from the sites I found. Both…
-
1
votes2
answers1143
viewsQ: Receive variables from other classes
A class that contains variables and their values, and needs some simple way to feed the other class with these variables. For example, I have a class with the variable String urlPage =…
-
1
votes1
answer2289
viewsA: Copy page text and paste into another with JAVA or Selenium Webdriver
Let’s assume that the copy ID is 'celphone-number'. And the paste ID is 'new-celphone-number'. You will first take this element (copy from here) normally through webelement + driver.findelement,…