unable to install TestNg in Eclipse getting errror like"Cannot complete the install because one or more required items could not be found" - selenium-webdriver

i have tried to install TestNG in these ways:
1: Help>> install new software>> work with>> http://beust.com/eclipse/enter
Or use this http://dl.bintray.com/testng-team/testng-eclipse-release/
2: Help >> Eclipse MarketPlace >> Search for TestNG
after while getting an error like
Cannot complete the install because one or more required items could not be found.
Software being installed: TestNG M2E (Maven) Integration (Optional) 7.3.0.202008060412 (org.testng.eclipse.maven.feature.feature.group 7.3.0.202008060412)
Missing requirement: TestNG Eclipse Support 7.3.0.202008060412 (org.testng.eclipse 7.3.0.202008060412) requires 'bundle org.eclipse.jdt.launching 3.10.0' but it could not be found
Cannot satisfy dependency:
From: TestNG 7.3.0.202008060412 (org.testng.eclipse.feature.group 7.3.0.202008060412)
To: org.testng.eclipse [7.3.0.20200806041

Related

Selenium Pytest - Unrecognized argument html report

I created some test scripts using selenium python and they have been working okay. However, I have had trouble when I tried to generate an html report or an allure report.
I used the following command to try to generate a pytest html report: "pipenv run python -m pytest xxx/test_xxxx.py --html=report.html". However, I got the following error: "
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --html=report.html
inifile: None
rootdir: C:\Users\xxxx\xxxx"
. I had installed the pytest-html plugin using pip install pytest-html, so I am not sure what I have been doing wrong.
I tried uninstalling and reinstalling, but that did not work. I also tried the following links (among others):
pytest: error: unrecognized arguments: --html=report.html
generate html and json reports for selenium python automation test using pytest
Does anyone have any insight?
I think I have found the solution. Since I am using pipenv to run my tests, I would have to install the dependencies through pipenv as well. So for the html and allure reports, the full commands would be as follows:
pipenv run pip install allure-pytest
pipenv run pip install pytest-html
After trying this, I ran my previous commands and I no longer got the issue.

Unable to install DevKit Plugin

I'm trying to install Devkit plugin in anypoint studio and after following below steps:
https://docs.mulesoft.com/connector-devkit/3.9/setting-up-your-dev-environment im getting below error message, Please help
Cannot complete the install because one or more required items could
not be found. Software being installed: Anypoint DevKit Extension
1.1.5.201608221430 (org.mule.tooling.devkit.extension.feature.group 1.1.5.201608221430)'
Missing requirement: org.mule.tooling.devkit 1.1.5.201608221430 (org.mule.tooling.devkit 1.1.5.201608221430) requires 'osgi.bundle;
org.mule.tooling.runtime [6.1.0,7.0.0)' but it could not be found
Cannot satisfy dependency:
From: Anypoint DevKit Extension 1.1.5.201608221430 (org.mule.tooling.devkit.extension.feature.group 1.1.5.201608221430)
To: org.eclipse.equinox.p2.iu; org.mule.tooling.devkit [1.1.5.201608221430,1.1.5.201608221430]
You are trying to install DevKit in Studio 7.x. DevKit is designed to work with Mule 3.x and its matching Studio version, which is Studio 6.x. It is not compatible with Studio 7. Try with the last version of Studio 6 available at this time, currently 6.6.4 (https://www.mulesoft.com/lp/dl/studio/previous).
If instead you are trying to develop connectors and modules for Mule 4.x, then you have to use the Mule SDK. Currently there is no Studio plugin for Mule SDK. It is based on Maven. You should use Maven on the command line or a different IDE to create a project, as mentioned in the documentation.

bibliometrix (Problem in uploading the data)

I am trying to do bibliometrix analysis of articles using the bibliometrix package. I installed the package and then run the library.However, when I am uploading my data, it is showing this error:
Error in readFiles("C:/Users/patel/savedrecs.bib") : could not find
function "readFiles".
Also. when I am running library this is the massage I am getting.
library(bibliometrix) ### load bibliometrix package
Error: package or namespace load failed for ‘bibliometrix’: object
‘scale_type’ is not exported by 'namespace:ggplot2'
In addition:
Warning message: package ‘bibliometrix’ was built under R version
3.4.4
My question is how to upload data? Please help me.
Try to download the package directly from the github repository:
install.packages("devtools")# to install the bibliometrix most recent version from GITHUB
devtools::install_github("massimoaria/bibliometrix")
Beware! The github version, usually, is the most recent and not fixed one.
For windows, I had to install Rtools from https://cran.r-project.org/bin/windows/Rtools/
Then I did the following installs in RStudio
> install.packages("bibliometrix", dependencies=TRUE)
> library(bibliometrix)
To cite bibliometrix in publications, please use:
Aria, M. & Cuccurullo, C. (2017) bibliometrix: An R-tool for comprehensive science mapping analysis, Journal of Informetrics, 11(4), pp 959-975, Elsevier.
http:\\www.bibliometrix.org
To start with the shiny web-interface, please digit:
biblioshiny()
> biblioshiny()
Only then all such prerequisite problems got resolved. Without RTools, all such errors were getting reported.
I re-installed the rtools, then installed the jsonlite package and lastly, installed the bibliometrix package.
now it's working.

Unable to fully install Selenium Web Driver through 'selenium-webdriver-2.52.0' gem install on windows

The Gem install of Selenium WebDriver is failing with the following error. However the Selenium Webdriver gem is being listed in the List of Gems installed. Please help me resolve this issue.
C:\Users\King Julian XXV>gem install selenium-webdriver
Successfully installed selenium-webdriver-2.52.0
RDoc::Parser::Ruby failure around line 26 of
lib/selenium/webdriver/edge/legacy_support.rb
Before reporting this, could you check that the file you're documenting
has proper syntax:
C:/Ruby193/bin/ruby.exe -c lib/selenium/webdriver/edge/legacy_support.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(RDoc::Error) unknown type of %string "i"
ERROR: While executing gem ... (RDoc::Error)
unknown type of %string "i"
Even though the gem was installed successfully and the 'require 'selinium-webdriver' in RubyMine is not able to identify it and shows the following error message as shown in the image.
RubyMine not Identifying Selenium WebDriver

unable to install m2e-wtp maven in eclipse juno

Cannot complete the install because one or more required items could not be found.
Software being installed: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e42-20130821-1033)
Missing requirement: Maven Integration for Eclipse WTP 1.0.0.20130613-0136 (org.eclipse.m2e.wtp 1.0.0.20130613-0136) requires 'bundle org.eclipse.m2e.maven.runtime [1.4.0,2.0.0)' but it could not be found
Missing requirement: Maven Integration for Eclipse WTP 1.0.1.20130911-1545 (org.eclipse.m2e.wtp 1.0.1.20130911-1545) requires 'bundle org.eclipse.m2e.maven.runtime [1.4.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Maven JPA Configurator 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa 1.0.1.e42-20130821-1033)
To: bundle org.eclipse.m2e.wtp 1.0.0
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.0.1.e42-20130821-1033 (org.eclipse.m2e.wtp.jpa.feature.feature.group 1.0.1.e42-20130821-1033)
To: org.eclipse.m2e.wtp.jpa [1.0.1.e42-20130821-1033]
The message is saying the install needs the org.eclipse.m2e.maven.runtime plugin with a version of at least 1.4.0 (and not above 2.0.0).
I think Eclipse Juno has an earlier release of this plugin so you will need to move to a newer version of Eclipse to use this.

Resources