Test results
1 suite, 4 failed tests
com.imm.testscripts.Login.Login
verifyLogin ({TestID=verifyLogin, Description=Login with invalid admin credentials, Login_User_ID=admin/mwynar, TypeOfUser=Admin, Wrong_Password=wrongPassword123, Login_Password=, FI_ID=crm, New_Password=, Confirm_Password=})
java.lang.IllegalArgumentException: Driver must have capabilities at org.openqa.selenium.internal.Require.precondition(Require.java:53) at org.openqa.selenium.remote.Augmenter.augment(Augmenter.java:149) at com.imm.support.ScreenshotManager.takeScreenshot(ScreenshotManager.java:23) at com.imm.support.Log.takeScreenShot(Log.java:108) at com.imm.support.Log.message(Log.java:312) at com.imm.pages.SignInPage.verifyLoginPageElementsDisplayed(SignInPage.java:240) at com.imm.testscripts.Login.Login.verifyLogin(Login.java:70) at java.util.ArrayList.forEach(ArrayList.java:1259) ... Removed 31 stack frames
(Verify log in to DataVA application)
verifyLogin ({TestID=verifyLogin, Description=Login with valid user credentials, Login_User_ID=admin/mwynar, TypeOfUser=Users, Wrong_Password=, Login_Password=dm!!j3#rA!3xN60cx_4, FI_ID=crm, New_Password=, Confirm_Password=})
java.lang.IllegalArgumentException: Driver must have capabilities at org.openqa.selenium.internal.Require.precondition(Require.java:53) at org.openqa.selenium.remote.Augmenter.augment(Augmenter.java:149) at com.imm.support.ScreenshotManager.takeScreenshot(ScreenshotManager.java:23) at com.imm.support.Log.takeScreenShot(Log.java:108) at com.imm.support.Log.message(Log.java:312) at com.imm.pages.SignInPage.verifyLoginPageElementsDisplayed(SignInPage.java:240) at com.imm.testscripts.Login.Login.verifyLogin(Login.java:70) at java.util.ArrayList.forEach(ArrayList.java:1259) ... Removed 31 stack frames
(Verify log in to DataVA application)
verifyLogin ({TestID=verifyLogin, Description=Login with valid admin credentials, Login_User_ID=admin/mwynar, TypeOfUser=Admin, Wrong_Password=, Login_Password=dm!!j3#rA!3xN60cx_4, FI_ID=crm, New_Password=, Confirm_Password=})
java.lang.IllegalArgumentException: Driver must have capabilities at org.openqa.selenium.internal.Require.precondition(Require.java:53) at org.openqa.selenium.remote.Augmenter.augment(Augmenter.java:149) at com.imm.support.ScreenshotManager.takeScreenshot(ScreenshotManager.java:23) at com.imm.support.Log.takeScreenShot(Log.java:108) at com.imm.support.Log.message(Log.java:312) at com.imm.pages.SignInPage.verifyLoginPageElementsDisplayed(SignInPage.java:240) at com.imm.testscripts.Login.Login.verifyLogin(Login.java:70) at java.util.ArrayList.forEach(ArrayList.java:1259) ... Removed 31 stack frames
(Verify log in to DataVA application)
verifyLogin ({TestID=verifyLogin, Description=Login with invalid user credentials, Login_User_ID=admin/mwynar, TypeOfUser=Users, Wrong_Password=wrongPassword123, Login_Password=, FI_ID=crm, New_Password=, Confirm_Password=})
java.lang.IllegalArgumentException: Driver must have capabilities at org.openqa.selenium.internal.Require.precondition(Require.java:53) at org.openqa.selenium.remote.Augmenter.augment(Augmenter.java:149) at com.imm.support.ScreenshotManager.takeScreenshot(ScreenshotManager.java:23) at com.imm.support.Log.takeScreenShot(Log.java:108) at com.imm.support.Log.message(Log.java:312) at com.imm.pages.SignInPage.verifyLoginPageElementsDisplayed(SignInPage.java:240) at com.imm.testscripts.Login.Login.verifyLogin(Login.java:70) at java.util.ArrayList.forEach(ArrayList.java:1259) ... Removed 31 stack frames
(Verify log in to DataVA application)
C:\Users\Michael.Wynar\DataIntelligence\testxml\regression\Firefox_Run1.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="500" guice-stage="DEVELOPMENT" verbose="0" name="DataVA_Firefox1">
  <parameter name="webSite" value="https://crm.datava.com/?noSSO"/>
  <parameter name="database" value="crm"/>
  <parameter name="password" value="dm!!j3#rA!3xN60cx_4"/>
  <parameter name="deviceHost" value="localhost"/>
  <parameter name="devicePort" value="4444"/>
  <parameter name="browserName" value="firefox_windows"/>
  <parameter name="username" value="admin/mwynar"/>
  <listeners>
    <listener class-name="com.imm.support.MethodInterceptor"/>
  </listeners>
  <test thread-count="1" verbose="0" name="IMM_Test_Chrome">
    <classes>
      <class name="com.imm.testscripts.Login.Login">
        <methods>
          <include name="verifyLogin"/>
        </methods>
      </class> <!-- com.imm.testscripts.Login.Login -->
    </classes>
  </test> <!-- IMM_Test_Chrome -->
</suite> <!-- DataVA_Firefox1 -->
            
Tests for DataVA_Firefox1
  • IMM_Test_Chrome (1 class)
Groups for DataVA_Firefox1
Login
verifyLogin
P1
verifyLogin
Smoke
verifyLogin
Times for DataVA_Firefox1
Total running time: 20 seconds
Reporter output for DataVA_Firefox1
verifyLogin({TestID=verifyLogin, Description=Login with invalid admin credentials, Login_User_ID=admin/mwynar, T...)
   --- 12 Dec 14:37:19 207 - TestCaseID:: verifyLogin
   --- 12 Dec 14:37:22 293 - 3 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:564)
   --- 12 Dec 14:37:26 459 - Page URL:: https://crm.datava.com/esp/?nosso
   --- 12 Dec 14:37:26 459 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:110)
   --- 12 Dec 14:37:26 485 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (48164cc3-7ca9-447c-8fdc-2c0c2b236cb8)] -> xpath: //*[@id='button-1016-btnInnerEl']]
 ***** Login with invalid admin credentials *****
 Successfully navigated to 'DataVA Login' Page
   --- 12 Dec 14:37:26 509 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (48164cc3-7ca9-447c-8fdc-2c0c2b236cb8)] -> xpath: //*[@id='textfield-1010-inputEl']]

Driver must have capabilities
verifyLogin({TestID=verifyLogin, Description=Login with valid user credentials, Login_User_ID=admin/mwynar, Type...)
   --- 12 Dec 14:37:27 311 - TestCaseID:: verifyLogin
   --- 12 Dec 14:37:30 554 - 3 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:564)
   --- 12 Dec 14:37:34 711 - Page URL:: https://crm.datava.com/esp/?nosso
   --- 12 Dec 14:37:34 711 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:110)
   --- 12 Dec 14:37:34 742 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (cbf155a0-a754-420c-8d8d-5d3dd6109708)] -> xpath: //*[@id='button-1016-btnInnerEl']]
 ***** Login with valid user credentials *****
 Successfully navigated to 'DataVA Login' Page
   --- 12 Dec 14:37:34 762 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (cbf155a0-a754-420c-8d8d-5d3dd6109708)] -> xpath: //*[@id='textfield-1010-inputEl']]

Driver must have capabilities
verifyLogin({TestID=verifyLogin, Description=Login with valid admin credentials, Login_User_ID=admin/mwynar, Typ...)
   --- 12 Dec 14:37:08 059 - TestCaseID:: verifyLogin
   --- 12 Dec 14:37:13 694 - 5 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:564)
   --- 12 Dec 14:37:17 996 - Page URL:: https://crm.datava.com/esp/?nosso
   --- 12 Dec 14:37:17 996 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:110)
   --- 12 Dec 14:37:18 043 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (a2f93e53-314e-4ea2-b2ff-62077450bb5b)] -> xpath: //*[@id='button-1016-btnInnerEl']]
 ***** Login with valid admin credentials *****
 Successfully navigated to 'DataVA Login' Page
   --- 12 Dec 14:37:18 348 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (a2f93e53-314e-4ea2-b2ff-62077450bb5b)] -> xpath: //*[@id='textfield-1010-inputEl']]

Driver must have capabilities
verifyLogin({TestID=verifyLogin, Description=Login with invalid user credentials, Login_User_ID=admin/mwynar, Ty...)
   --- 12 Dec 14:37:35 552 - TestCaseID:: verifyLogin
   --- 12 Dec 14:37:38 674 - 3 - Driver::initialize::Get - com.imm.support.WebDriverFactory.get(WebDriverFactory.java:564)
   --- 12 Dec 14:37:42 847 - Page URL:: https://crm.datava.com/esp/?nosso
   --- 12 Dec 14:37:42 847 - 3 - Page Load Wait: (Sync) - com.imm.support.Utils.waitForPageLoad(Utils.java:110)
   --- 12 Dec 14:37:42 864 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (75bee15f-a4d9-48ef-b06b-43a1e7fa86cd)] -> xpath: //*[@id='button-1016-btnInnerEl']]
 ***** Login with invalid user credentials *****
 Successfully navigated to 'DataVA Login' Page
   --- 12 Dec 14:37:42 902 - Element is displayed:: [[FirefoxDriver: firefox on WINDOWS (75bee15f-a4d9-48ef-b06b-43a1e7fa86cd)] -> xpath: //*[@id='textfield-1010-inputEl']]

Driver must have capabilities
0 ignored methods
Methods in chronological order
com.imm.testscripts.Login.Login
initialize(org.testng.TestRunner@67b100fe) 0 ms
init(org.testng.TestRunner@67b100fe) 53 ms
verifyLogin({TestID=verifyLogin, Description=Login with valid admin credentials, Login_User_ID=admin/mwynar, Typ...) 5803 ms
verifyLogin({TestID=verifyLogin, Description=Login with invalid admin credentials, Login_User_ID=admin/mwynar, T...) 14394 ms
verifyLogin({TestID=verifyLogin, Description=Login with valid user credentials, Login_User_ID=admin/mwynar, Type...) 22663 ms
verifyLogin({TestID=verifyLogin, Description=Login with invalid user credentials, Login_User_ID=admin/mwynar, Ty...) 30780 ms