<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.site</groupId>
<artifactId>tests</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<profile>
<id>tests_default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<suiteXmlFileName>tests_default</suiteXmlFileName>
</properties>
</profile>
<profile>
<id>aut_default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<config.location.aut>configuration/aut_default.xml</config.location.aut>
</properties>
</profile>
<profile>
<id>tests_data</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<config.location.test>configuration/tests_data.xml</config.location.test>
</properties>
</profile>
<profile>
<id>env_docker_selenoid</id>
<activation>
<property>
<name>env.MAVEN_IN_DOCKER</name>
<value>true</value>
</property>
</activation>
<properties>
<config.location.env>configuration/env_docker_selenoid.xml</config.location.env>
</properties>
</profile>
<profile>
<id>env_local</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<config.location.env>configuration/env_local.xml</config.location.env>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<failsOnError>true</failsOnError>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>configuration/${suiteXmlFileName}.xml</suiteXmlFile>
</suiteXmlFiles>
<systemPropertyVariables>
<config.location.env>${config.location.env}</config.location.env>
<config.location.aut>${config.location.aut}</config.location.aut>
<config.location.test>${config.location.test}</config.location.test>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.9.1</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.14.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>configuration/${suiteXmlFileName}.xml</suiteXmlFile>
</suiteXmlFiles>
<systemPropertyVariables>
<config.location.env>${config.location.env}</config.location.env>
<config.location.aut>${config.location.aut}</config.location.aut>
</systemPropertyVariables>
</configuration>
C:\Users\user>where chromedriver
C:\Python27\chromedriver.exe
C:\Python27\Scripts\chromedriver.exe
C:\webdrivers\chromedriver.exe
C:\Users\user\AppData\Local\Programs\Python\Python36\Scripts\chromedriver.exe
C:\Users\user\AppData\Local\Programs\Python\Python36\chromedriver.exe
C:\Users\user\AppData\Local\Microsoft\WindowsApps\chromedriver.exe
public final String creating(final String projectCustomer,
final String projectName,
final String projectDescription,
final String expertSearch) throws IOException {
Waiters.waitUntilAngularReady(driver);
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(openFabButtonElement));
element.click();
element = wait.until(ExpectedConditions.elementToBeClickable(openFabRuButtonElement));
element.click();
element = wait.until(ExpectedConditions.elementToBeClickable(resultOpenFabRuButtonElement));
String result = element.getText();
element = wait.until(ExpectedConditions.elementToBeClickable(languageButtomElement));
element.click();
element = wait.until(ExpectedConditions.elementToBeClickable(departmentQAButtonElement));
element.click();
element = wait.until(ExpectedConditions.elementToBeClickable(departmentAnalytButtonElement));
element.click();
element = wait.until(ExpectedConditions.elementToBeClickable(departmentQAAButtonElement));
element.click();
projectCustomerEditElement.sendKeys(projectCustomer);
projectNameEditElement.sendKeys(projectName);
projectDescriptionEditElement.sendKeys(projectDescription);
expertSearchEditElement.sendKeys(expertSearch);
expertSearchButtomElement.click();
editAboutButtonElement.click();
return result;
}
dynamic vkData1 = JsonConvert.DeserializeObject(responseString);
var vk1 = vkData1.response;
var resultItems = vkData1.response.items.Where(t => !owner1.Any(t.Owner_Id));
не удается использовать лямбда-выражение в качестве аргумента для динамически отправляемой операции без предварительного преобразования его в делегат или тип дерева выражений