@@ -0,0 +1,1480 @@
+package ru.stqa.selenium.example;%0A%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0Aimport org.openqa.selenium.support.pagefactory.ByAll;%0A%0Apublic class correctProduct extends TestBase %7B%0A    @Test%0A    public void correctProduct() %7B%0A        driver.get(%22http://localhost/litecart/en/%22);%0A%0A        WebElement campaignsBlock = driver.findElement(By.id(%22box-campaigns%22));%0A        String nameOfProduct1 = campaignsBlock.findElement(By.className(%22name%22)).getText();%0A%0A        WebElement prices = campaignsBlock.findElement(By.className(%22price-wrapper%22));%0A        String regularPrice1 = prices.findElement(By.className(%22regular-price%22)).getText();%0A        String campaignPrice1 = prices.findElement(By.className(%22campaign-price%22)).getText();%0A%0A        campaignsBlock.findElement(By.className(%22link%22)).click();%0A%0A        campaignsBlock = driver.findElement(By.id(%22box-product%22));%0A        String nameOfProduct2 = campaignsBlock.findElement(By.className(%22title%22)).getText();%0A%0A        prices = campaignsBlock.findElement(By.className(%22price-wrapper%22));%0A        String regularPrice2 = prices.findElement(By.className(%22regular-price%22)).getText();%0A        String campaignPrice2 = prices.findElement(By.className(%22campaign-price%22)).getText();%0A%0A        System.out.println(nameOfProduct1 + %22 = %22 + nameOfProduct2);%0A        System.out.println(regularPrice1 + %22 = %22 + regularPrice2);%0A        System.out.println(campaignPrice1 + %22 = %22 + campaignPrice2);%0A    %7D%0A%7D%0A

Create file for the task №10. Done the task №10 (a,b)