Recent Posts

Pages: [1] 2 3 ... 10
1
How to generate extent report while running selenium script in parallel method / parallel class ?  Can you please share me any sample code ?
2
Hi Team,

Why is Jenkins throwing below error message after uploading ws-cleanup plugin file (.hpi) to upload plugin tab.

Error Message Failure -

java.io.IOException: Failed to dynamically deploy this plugin
   at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1867)
   at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1624)
   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Failed to install ws-cleanup plugin
   at hudson.PluginManager.dynamicLoad(PluginManager.java:834)
   at hudson.PluginManager.dynamicLoad(PluginManager.java:775)
   at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1863)
   ... 5 more
Caused by: jenkins.MissingDependencyException: One or more dependencies could not be resolved for ws-cleanup : workflow-basic-steps (1.4.3), matrix-project (1.7.1), resource-disposer (0.3)
   at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:529)
   at hudson.PluginManager.dynamicLoad(PluginManager.java:824)
   ... 7 more


Thanks in Advance !
3
Hi Team,

Selenium Webdriver is not opening Microsoft edge. It is throwing 'Session not create exception error' message.  Why is it throwing below error message ?

Selenium : 3.0.1
OS : Windows 10

Code:-

String service = "C:\\MicrosoftWebDriver.exe";
System.setProperty("webdriver.edge.driver",service);
WebDriver driver = new EdgeDriver();
driver.navigate().to("https://www.google.co.in/");

Error Message

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}], required capabilities = Capabilities [{}]


Thanks in advance !
4
It is working fine after removing running container.

Thank you
6
Why is Docker throwing below error message after running below commands ?

Command: docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.53.0

Error Message:-

C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: Conflict
. The name "/selenium-hub" is already in use by container 82d881a27df02c0499411f
5c831ed74d25ee1af77f6b7d4ff32e08202fa1b878. You have to remove (or rename) that
container to be able to reuse that name..
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.
7
I am using Eclipse Mars version for selenium script development.  Eclipse is throwing ‘ IOException from Virtual Machine’ error message while running / debugging selenium script.  Why is it throwing error message?

Java Version 1.8
Selenium Version: 2.53
Eclipse Version: Mars
OS: Windows 10
8
Selenium / Re: Required text() xpath function equal css selector function ?
« Last post by poovaraj on October 06, 2016, 02:52:43 am »
Thanks for your reply.  I have tried same type css Selector in firefox browser using firepath add-in but It's not highlighting password element. It's showing no matching node. Why is not highlighting password element ?  Please find attached screenshot.
9
Selenium / Re: How to write css selector for preceding, following, ancestor ?
« Last post by Haim on October 05, 2016, 10:26:33 am »
Dont think its possible to have a preceding selector:

http://stackoverflow.com/questions/1817792/is-there-a-previous-sibling-css-selector

But you can get ancestor easily with xpath('..');
10
Selenium / Re: Required text() xpath function equal css selector function ?
« Last post by Haim on October 05, 2016, 10:18:24 am »
To find the input element with a css selector you could use:

Code: [Select]
WebElement element = driver.findElement(By.cssSelector("input[text='Welcome']"));
Pages: [1] 2 3 ... 10