0

enter image description here

I uninstalled TestNG from my eclipse and then i tried installing it again in this mentioned steps

Help>Install new software>Selecting TestNG Checkbox>Clicking Next and Finish buttons.

Then its showing the Error.

enter image description here

Cù Đức Hiếu
  • 5,569
  • 4
  • 27
  • 35
Arun
  • 17
  • 5
  • restart your eclipse and try again' – Shubham Jain Apr 11 '16 at 08:44
  • Restarted and tried to install again but it still shows me same error.Pls help me out with this issue – Arun Apr 11 '16 at 08:53
  • http://stackoverflow.com/questions/23201685/eclipse-sdk-update-error-an-error-occur-while-collecting-items-to-be-installed – Shubham Jain Apr 11 '16 at 09:16
  • http://stackoverflow.com/questions/20630446/installing-software-has-encountered-a-prob-android – Shubham Jain Apr 11 '16 at 09:16
  • As mentioned in the links i tried unchecking the "Contact all update sites during install to find required software" but still its showing me the error.Previously before un installing TestNG It was working well with no issues but after uninstalling it i am unable to install with the above mentioned steps.. – Arun Apr 11 '16 at 09:45
  • Have you tried to download from marketplace – Shubham Jain Apr 11 '16 at 10:16
  • Yes,I tried it and It did not work Any thing i can do for resolving this issue? – Arun Apr 11 '16 at 10:28

1 Answers1

0

I hope good to clean the eclipse once and try to install again.

To start eclipse with clean, Edit the eclipse.ini file located in your Eclipse install directory and insert -clean as the first line. Further more info on it here

Note: If you keep clean option, then eclipse always start deleting cache etc so it may take some time.

Then install TestNG from Marketplace( as already tried another ways)

Thank You, Murali

Community
  • 1
  • 1
murali selenium
  • 3,847
  • 2
  • 11
  • 20
  • As suggested i cleaned the eclipse and tried Then to install TestNG from Marketplace but it shows me " Cannot complete the provisioning operation. Please change your selection and try again. See below for details." .I tried many times but getting same result also when i tried Help>Install new software>add new repository "http://beust.com/eclipse" its not showing TestNG checkbox it is showing "There are no items available in the list. – Arun Apr 11 '16 at 13:05
  • do one thing just right click on package and see wether testng option is there or not, mostly it is at bottom of that right context menu. if it is there then testng is present in eclipse. – murali selenium Apr 11 '16 at 13:07
  • Did it but cannot see TestNG option – Arun Apr 11 '16 at 13:10
  • ok, then testng is not present in eclipse. finally one is eclipse is updated one? on googling its may be reason because of old versions of eclipse.. – murali selenium Apr 11 '16 at 13:14
  • Eclipse version i am using : 4.5.2.20160218-0600.I see its a updated version – Arun Apr 11 '16 at 13:18
  • try this instead of new testng version http://beust.com/eclipse-old/eclipse_6.9.10 – murali selenium Apr 11 '16 at 13:24
  • Tried it with "http://beust.com/eclipse-old/eclipse_6.9.10" but its showing "Could not find http://beust.com/eclipse-old/eclipse_6.9.10".Do we have to correct the URL?Please let me know – Arun Apr 11 '16 at 13:30
  • One thing i am observing in my existing projects that still i am able to see test output folder even after uninstalling TestNG.May be is it the reason i am unable to install it again? – Arun Apr 11 '16 at 13:33
  • can try once checking other check boxes in testng installation screen you attached at first except show only software applicable to targer env, in my eclipse its like that only. it may helps you – murali selenium Apr 11 '16 at 15:33
  • also check that you have write access to eclipse folder and also have network access to that site, generally VPNs or firewalls blocks in offices. – murali selenium Apr 11 '16 at 15:37
  • Finally issue got resolved when i Use "http://testng.org/eclipse-beta" this url in testng installation screen.Now i am able to run the scripts and generate the results through testNG.Thanks a lot Murali. – Arun Apr 12 '16 at 05:21