|
15 | 15 | import anhtester.com.utils.LocalStorageUtils; |
16 | 16 | import anhtester.com.utils.ObjectUtils; |
17 | 17 | import anhtester.com.utils.WebUI; |
18 | | -import com.google.zxing.NotFoundException; |
19 | 18 | import org.openqa.selenium.By; |
20 | 19 | import org.openqa.selenium.JavascriptExecutor; |
21 | 20 | import org.openqa.selenium.WebDriver; |
| 21 | +import org.openqa.selenium.WebElement; |
22 | 22 | import org.openqa.selenium.chrome.ChromeDriver; |
23 | 23 | import org.testng.Assert; |
24 | 24 | import org.testng.annotations.AfterMethod; |
|
29 | 29 | import java.awt.event.InputEvent; |
30 | 30 | import java.awt.event.KeyEvent; |
31 | 31 | import java.io.File; |
32 | | -import java.io.IOException; |
33 | 32 | import java.text.DecimalFormat; |
34 | 33 | import java.util.ArrayList; |
| 34 | +import java.util.List; |
35 | 35 | import java.util.Set; |
36 | 36 |
|
37 | 37 | public class TestHandle { |
@@ -200,7 +200,7 @@ public void checkDataTableWithPagination() { |
200 | 200 |
|
201 | 201 |
|
202 | 202 | @Test |
203 | | - public void QRCode() throws NotFoundException, IOException { |
| 203 | + public void QRCode() { |
204 | 204 | WebUI.getToUrl("http://qrcode.meetheed.com/qrcode_examples.php"); |
205 | 205 | WebUI.maximizeWindow(); |
206 | 206 | WebUI.waitForPageLoaded(); |
@@ -228,7 +228,7 @@ public void handleNotificationsBrowser() { |
228 | 228 | } |
229 | 229 |
|
230 | 230 | @Test |
231 | | - public void handleDragAndDropJQuery() throws InterruptedException, IOException { |
| 231 | + public void handleDragAndDropJQuery() { |
232 | 232 | try { |
233 | 233 | String basePath = new File("").getAbsolutePath(); |
234 | 234 |
|
|
0 commit comments