Skip to content

Commit

Permalink
eleventh Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafamohab committed Feb 14, 2021
1 parent e67ca6b commit 90aa207
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 20 deletions.
11 changes: 0 additions & 11 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,5 @@
</classpathentry>
<classpathentry exported="true" kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="C:/Users/mosta/.m2/repository/org/testng/testng/7.3.0/testng-7.3.0.jar" sourcepath="C:/Users/mosta/.m2/repository/org/testng/testng/7.3.0/testng-7.3.0-sources.jar">
<attributes>
<attribute name="test" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="maven.groupId" value="org.testng"/>
<attribute name="maven.artifactId" value="testng"/>
<attribute name="maven.version" value="7.3.0"/>
<attribute name="maven.scope" value="test"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="C:/Users/mosta/Downloads/Rest Assured/rest-assured-4.3.3.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Binary file modified excel.xlsx
Binary file not shown.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,18 @@
<groupId>io.rest-assured</groupId>
<artifactId>json-path</artifactId>
<version>4.3.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>json-schema-validator</artifactId>
<version>4.3.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>xml-path</artifactId>
<version>4.3.3</version>
<scope>test</scope>
</dependency>

<dependency>
Expand All @@ -94,14 +91,12 @@
<groupId>io.rest-assured</groupId>
<artifactId>spring-mock-mvc</artifactId>
<version>4.3.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>spring-web-test-client</artifactId>
<version>4.3.3</version>
<scope>test</scope>
</dependency>

</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions src/Testcases/Mainclass.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void signUp() throws IOException {
dataDriven d = new dataDriven();

// create a new arraylist of strings in order to extract test data from excel
ArrayList<String> data = d.getData("Signup5");
ArrayList<String> data = d.getData("Signup6");

// Create an object from javascript executor class
JavascriptExecutor js = (JavascriptExecutor) driver;
Expand Down Expand Up @@ -96,7 +96,7 @@ public void createAccount() throws IOException {
dataDriven d = new dataDriven();

// create a new arraylist of strings in order to extract test data from excel
ArrayList<String> data = d.getData("Register5");
ArrayList<String> data = d.getData("Register6");

// Click on Male Radio Button as a Gender
createaccount.male().click();
Expand Down Expand Up @@ -165,7 +165,7 @@ public void signIn() throws IOException {
dataDriven d = new dataDriven();

// create a new arraylist of strings in order to extract test data from excel
ArrayList<String> data = d.getData("Login5");
ArrayList<String> data = d.getData("Login6");

// Enter Valid Email
homepage.emailSignin().sendKeys(data.get(1));
Expand Down
1 change: 0 additions & 1 deletion target/classes/.gitignore

This file was deleted.

Binary file modified target/classes/Objects/dataDriven.class
Binary file not shown.
Binary file modified target/classes/Testcases/Mainclass.class
Binary file not shown.
Binary file added target/classes/Testcases/restAssured.class
Binary file not shown.

0 comments on commit 90aa207

Please sign in to comment.