Skip to content

Instantly share code, notes, and snippets.

View barancev's full-sized avatar

Alexei Barantsev barancev

View GitHub Profile
C:\devel\homework\java\Teyran\java_pft\adress-book-webtests>gradlew clean testContacts
> Task :compileTestJava
Note: C:\devel\homework\java\Teyran\java_pft\adress-book-webtests\src\test\java\ru\stqa\pft\adressbook\tests\GroupCreationTests.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :testContacts
Suite1 > Contacts > ru.stqa.pft.adressbook.tests.ContactCreationTest > testContactCreation[0](ContactData{id=2147483647, firstName='name 1', lastName='lastName 1'}) FAILED
org.openqa.selenium.NoSuchElementException at ContactCreationTest.java:36
public class SimpleTest {
@Test
public void testIt() throws MalformedURLException, InterruptedException, ExecutionException, TimeoutException {
String exe = "C:\\tools\\server.exe";
CommandLine process = new CommandLine(exe, "--port=4545");
process.copyOutputTo(System.out);
process.executeAsync();
System.out.println("waitUntilAvailable " + waitUntilAvailable(process));
Delivered-To: trainings@software-testing.ru
Received: by 2002:a4f:6f88:0:0:0:0:0 with SMTP id k130csp3265272ivc;
Tue, 7 Apr 2020 04:26:40 -0700 (PDT)
X-Google-Smtp-Source: APiQypKyegPSeE0B5ZKiyXz4VW1Y7ZrCqCeuwJg6qMiuVvp4Nfz0RkzcNZIgKDhhpqFR5JDJQvdg
X-Received: by 2002:adf:f8cd:: with SMTP id f13mr2217391wrq.119.1586258800534;
Tue, 07 Apr 2020 04:26:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1586258800; cv=none;
d=google.com; s=arc-20160816;
b=IWklgRut8a6QBcVdLZQkog98A0htyVNTxBdAtKeKD0HkAEiaNVFjSqLI7uXSiCehsL
VpgOhh/Btfd9fwozoQKQRTr5RTYnoIp5nBbndrUGUtFkSeWU/bf91UAou18bcKWR8VK/
C:\devel\homework\venv\Scripts\python.exe C:/devel/try-something/py/my_sample.py
[{'kind': 'above', 'args': ['div']}, {'kind': 'above', 'args': ['img']}]
[{'kind': 'above', 'args': ['div']}, {'kind': 'above', 'args': ['img']}]
(venv) C:\devel\selenium>go py_install
//javascript/atoms/fragments:is-displayed -> bazel-bin/javascript/atoms/fragments/is-displayed.js
We are WRITING the @out value currently!!! WE ARE WRITING IT TO bazel-bin/javascript/atoms/fragments/is-displayed.js
<Rake::FileTask //javascript/atoms/fragments:is-displayed => []>
//javascript/webdriver/atoms:get-attribute -> bazel-bin/javascript/webdriver/atoms/get-attribute.js
We are WRITING the @out value currently!!! WE ARE WRITING IT TO bazel-bin/javascript/webdriver/atoms/get-attribute.js
<Rake::FileTask //javascript/webdriver/atoms:get-attribute => []>
//third_party/js/selenium:webdriver_xpi -> bazel-bin/third_party/js/selenium/webdriver.xpi
We are WRITING the @out value currently!!! WE ARE WRITING IT TO bazel-bin/third_party/js/selenium/webdriver.xpi
<Rake::FileTask //third_party/js/selenium:webdriver_xpi => []>
C:\devel\selenium>bazel test java/client/test/org/openqa/selenium/mobile:all
INFO: Invocation ID: 58be859f-d887-483b-b346-b6063b274ddc
INFO: Analyzed 6 targets (0 packages loaded, 0 targets configured).
INFO: Found 1 target and 5 test targets...
FAIL: //java/client/test/org/openqa/selenium/mobile:NetworkConnectionTest (see C:/users/alexei/_bazel_alexei/kgg5xw4a/execroot/selenium/bazel-out/x64_windows-fastbuild/testlogs/java/client/test/org/openqa/selenium/mobile/NetworkConnectionTest/test.log)
INFO: From Testing //java/client/test/org/openqa/selenium/mobile:NetworkConnectionTest:
==================== Test output for //java/client/test/org/openqa/selenium/mobile:NetworkConnectionTest:
JUnit4 Test Runner
.ьрЁ. 21, 2020 1:06:37 AM org.openqa.selenium.testing.JUnit4TestBase$TraceMethodNameRule starting
INFO: >>> Starting testToggleAirplaneMode(org.openqa.selenium.mobile.NetworkConnectionTest)
"C:\Program Files\Zulu\zulu-8\bin\java.exe" -javaagent:C:\Users\alexei\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-1\201.6073.9\lib\idea_rt.jar=53341:C:\Users\alexei\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-1\201.6073.9\bin -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Zulu\zulu-8\jre\lib\charsets.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\cldrdata.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\dnsns.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\jaccess.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\localedata.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\nashorn.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\openjsse.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\sunec.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\sunmscapi.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Zulu\zulu-8\jre\lib\ext\zipfs.jar;C:\Program Files\Zulu\zulu-8\jre\lib\jce.jar;C:\Pro
package ru.stqa.pft.mantis.appmanager;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.client.LaxRedirectStrategy;
Syncing project: Initial directory update (no_build)...
Updating VCS...
Command: bazel info --tool_tag=ijwb:IDEA:ultimate --curses=no --color=yes --progress_in_terminal_title=no --
Running Bazel info...
Command: git diff --name-status --no-renames 5e97ce3a52a38bdf10701afcd22e36e1ab04e0ea
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 15694443-3611-4282-b75d-91840f312a4f
Computing VCS working set...
{
"kind": "drive#file",
"id": "16X7sHmZW44Te2KshYc9kl1em4cTYFRyIKqUtJ2cLI4U",
"etag": "\"Q_i2RfdQZXXYrzCS85Kek3pR3ww/MTU3NjA2MjA3NDk5OA\"",
"selfLink": "https://www.googleapis.com/drive/v2/files/16X7sHmZW44Te2KshYc9kl1em4cTYFRyIKqUtJ2cLI4U",
"alternateLink": "https://docs.google.com/document/d/16X7sHmZW44Te2KshYc9kl1em4cTYFRyIKqUtJ2cLI4U/edit?usp=drivesdk",
"embedLink": "https://docs.google.com/document/d/16X7sHmZW44Te2KshYc9kl1em4cTYFRyIKqUtJ2cLI4U/preview?ouid=110223152348481675842",
"iconLink": "https://drive-thirdparty.googleusercontent.com/16/type/application/vnd.google-apps.document",
"thumbnailLink": "https://docs.google.com/feeds/vt?gd=true&id=16X7sHmZW44Te2KshYc9kl1em4cTYFRyIKqUtJ2cLI4U&v=2&s=AMedNnoAAAAAXfD04mq_sPGiPD8hDLrD1gmAclw7uQvZ&sz=s220",
"title": "Берёзовая роща - И12-05/19",