Solution:
Analysing
Console error :
"sessionId":"24d23535e36bc0db8111af6f04c69e01",
"status":0,
"value":{
"ELEMENT":"0.864296494284644:3"
}
}
[1012.521][INFO]: received WebDriver request: POST /session/24d23535e36bc0db8111af6f04c69e01/element/0.864296494284644:3/clear {
"id": "0.864296494284644:3"
}
[1012.521][INFO]: waiting for pending navigations...
[1012.522][INFO]: done waiting for pending navigations
[1012.548][INFO]: waiting for pending navigations...
[1012.548][INFO]: done waiting for pending navigations
[1012.548][INFO]: sending WebDriver response: 200 {
"sessionId": "24d23535e36bc0db8111af6f04c69e01",
"status": 0,
"value": null
}
[1013.552][INFO]: received WebDriver request: POST /session/24d23535e36bc0db8111af6f04c69e01/element {
"using": "xpath",
"value": "//input[@id='dwaafrm_singleshipping_lastName']"
}
[1013.552][INFO]: waiting for pending navigations...
[1013.552][INFO]: done waiting for pending navigations
[1013.570][INFO]: waiting for pending navigations...
[1013.570][INFO]: done waiting for pending navigations
[1013.570][INFO]: sending WebDriver response: 200 {
"sessionId": "24d23535e36bc0db8111af6f04c69e01",
"status": 0,
"value": {
"ELEMENT": "0.864296494284644:3"
}
}
Monday, 6 January 2014
Time elapsed sec FAILURE! java.lang.reflect.InvocationTargetException: null
Solution:
Analysing
http://frankkieviet.blogspot.ca/2006/10/classloader-leaks-dreaded-permgen-space.html
Error looks as below
at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:191)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:404)
at org.openqa.selenium.By$ByXPath.findElement(By.java:344)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at com.MNSIntl.Utils.clickJS(Utils.java:325)
at com.MNSIntl.Keywords.menDress(Keywords.java:1132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.MNSIntl.Master_Driver.cardPaymentTest(Master_Driver.java:414)
Analysing
http://frankkieviet.blogspot.ca/2006/10/classloader-leaks-dreaded-permgen-space.html
Error looks as below
at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:191)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:404)
at org.openqa.selenium.By$ByXPath.findElement(By.java:344)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at com.MNSIntl.Utils.clickJS(Utils.java:325)
at com.MNSIntl.Keywords.menDress(Keywords.java:1132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.MNSIntl.Master_Driver.cardPaymentTest(Master_Driver.java:414)
Friday, 3 January 2014
Could not resolve dependencies for project / Failed to execute goal on project
Solution :
Under .M2 folder(hint: click on start->search for .M2 it will show list of folders select .M2 folder)
Settings.xml file might be missing proxy settings or
Your proxy settings password expired
Just in case if you don't have any proxy details you can use this
<?xml version="1.0"?>
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>proxyurl</host>
<port>8080</port>
<username>proxyusername</username>
<password>password</password>
</proxy>
</proxies>
</settings>
Problem example:
Could not resolve dependencies for project ProjectName:ProjectName:jar:1.0: Failed to collect dependencies for [org.uncommons:reportng:jar:1.1.2 (test), javax.mail:mail:jar:1.4.3 (compile), net.sourceforge.jexcelapi:jxl:jar:2.6 (compile), org.seleniumhq.selenium:selenium-java:jar:2.38.0 (compile), log4j:log4j:jar:1.2.16 (compile), junit:junit:jar:4.8.1 (test), org.testng:testng:jar:6.3.1 (test), com.opera:operadriver:jar:1.2 (compile)]: Failed to read artifact descriptor for org.seleniumhq.selenium:selenium-java:jar:2.38.0: Could not transfer artifact org.seleniumhq.selenium:selenium-java:pom:2.38.0 from/to central (http://repo.maven.apache.org/maven2): java.lang.NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Under .M2 folder(hint: click on start->search for .M2 it will show list of folders select .M2 folder)
Settings.xml file might be missing proxy settings or
Your proxy settings password expired
Just in case if you don't have any proxy details you can use this
<?xml version="1.0"?>
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>proxyurl</host>
<port>8080</port>
<username>proxyusername</username>
<password>password</password>
</proxy>
</proxies>
</settings>
Problem example:
Could not resolve dependencies for project ProjectName:ProjectName:jar:1.0: Failed to collect dependencies for [org.uncommons:reportng:jar:1.1.2 (test), javax.mail:mail:jar:1.4.3 (compile), net.sourceforge.jexcelapi:jxl:jar:2.6 (compile), org.seleniumhq.selenium:selenium-java:jar:2.38.0 (compile), log4j:log4j:jar:1.2.16 (compile), junit:junit:jar:4.8.1 (test), org.testng:testng:jar:6.3.1 (test), com.opera:operadriver:jar:1.2 (compile)]: Failed to read artifact descriptor for org.seleniumhq.selenium:selenium-java:jar:2.38.0: Could not transfer artifact org.seleniumhq.selenium:selenium-java:pom:2.38.0 from/to central (http://repo.maven.apache.org/maven2): java.lang.NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Tuesday, 31 December 2013
How to change password in company system or laptop
We usually get some messages to change password.
If you wan to change password
CTL + ALT +DEL
then you will get Change Password text click on that and change password.
If you wan to change password
CTL + ALT +DEL
then you will get Change Password text click on that and change password.
Friday, 29 November 2013
what are the best tools to setup VM or Virtual Machines to test automation testing scripts
There are many tools available but these are some of the famous tool
We have two types of VMs
1) Cloud based
2) On local machine
1) Cloud based
Windows azure server it is cloud based you can open this VM from any where can work on cloud.
For linux based we have
FUJITSU and Amazon web services, and also Sauce labs provides cloud based VM's with different set of Browsers.
2) On local machine
Most Famous ones are
Virtualbox this is Oracle based product.
Vmware
And window will provide some images by using those images we can setup different OS of Windows.
We have two types of VMs
1) Cloud based
2) On local machine
1) Cloud based
Windows azure server it is cloud based you can open this VM from any where can work on cloud.
For linux based we have
FUJITSU and Amazon web services, and also Sauce labs provides cloud based VM's with different set of Browsers.
2) On local machine
Most Famous ones are
Virtualbox this is Oracle based product.
Vmware
And window will provide some images by using those images we can setup different OS of Windows.
Thursday, 21 November 2013
Wednesday, 13 November 2013
why firebug icon is not appearing on firefox
If you use older firefox it won't appear . So that you have to install latest version of Firefox.
To trouble shoot firebug use this link.
https://addons.mozilla.org/en-US/firefox/addon/firebug/
To fix this problem ... First download latest version of Firefox
http://www.mozilla.org/en-US/firefox/new/
After that download fire bug
https://addons.mozilla.org/en-US/firefox/addon/firebug/
After that download firepath
https://addons.mozilla.org/en-us/firefox/addon/firepath/
To trouble shoot firebug use this link.
https://addons.mozilla.org/en-US/firefox/addon/firebug/
To fix this problem ... First download latest version of Firefox
http://www.mozilla.org/en-US/firefox/new/
After that download fire bug
https://addons.mozilla.org/en-US/firefox/addon/firebug/
After that download firepath
https://addons.mozilla.org/en-us/firefox/addon/firepath/
Subscribe to:
Posts (Atom)