Skip to content

Commit

Permalink
all_Automation_Git_Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AmolKadam-Tekdi committed Jul 8, 2024
1 parent 8ad71b8 commit 0fe8a5f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion allAutomation/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Binary file not shown.
3 changes: 3 additions & 0 deletions allAutomation/src/main/java/Tests/AllTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,18 @@ public void Login() throws Exception {
logStep("Enter password");
driver.findElement(By.id(":r1:")).sendKeys("Amol@123");

logStep("Click on Submit Button");
driver.findElement(By.xpath("//button[@type='submit']")).click();

waitForUi(2);
Thread.sleep(3000);

logStep("Click on Mike button");
driver.findElement(By.xpath("//div[@class='MuiBox-root css-14j5rrt']")).click();

Thread.sleep(3000);

logStep("Get Text from UI");
String text = driver.findElement(By.xpath("//h4[@class='MuiTypography-root MuiTypography-h5 css-xilszg']")).getText();
System.out.println("Extracted text: " + text);

Expand Down

0 comments on commit 0fe8a5f

Please sign in to comment.