Recent Posts

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

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

Error Message Failure - Failed to dynamically deploy this plugin
   at hudson.model.UpdateCenter$InstallationJob._run(
   at hudson.model.UpdateCenter$
   at java.util.concurrent.Executors$ Source)
   at Source)
   at hudson.remoting.AtmostOneThreadExecutor$
   at Source)
Caused by: Failed to install ws-cleanup plugin
   at hudson.PluginManager.dynamicLoad(
   at hudson.PluginManager.dynamicLoad(
   at hudson.model.UpdateCenter$InstallationJob._run(
   ... 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(
   at hudson.PluginManager.dynamicLoad(
   ... 7 more

Thanks in Advance !
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


String service = "C:\\MicrosoftWebDriver.exe";
WebDriver driver = new EdgeDriver();

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 !
It is working fine after removing running container.

Thank you
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'.
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
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.
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:

But you can get ancestor easily with xpath('..');
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