如何在硒使用TestNG工作在NetBeans IDE中? [英] how to work in selenium with testNG in Netbeans IDE?

查看:450
本文介绍了如何在硒使用TestNG工作在NetBeans IDE中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在自动测试新的。我知道如何配置TestNG和Eclipse IDE的,但我没有得到如何与NetBeans IDE配置TestNG的。

我已经包含硒的webdriver在NetBeans库文件。

谁能帮助我?

谢谢
罗希特·乔希


解决方案

  1. 下载最新版本的NetBeans


  2. 下载TestNG插件的NetBeans


  3. 如果你要使用Maven然后得到TestNG的Maven插件针对NetBeans


  4. 启动NetBeans IDE和去工具 - >插件


NetBeans IDE中


  • 转到下载选项卡,选择添加插件


  • 导航到已保存的文件.nbm硬盘上的位置并选择它,然后单击打开


  • 该插件的下载窗口可见


  • 选择它,并安装


  • 有它!您现在的特权使用TestNG和你的NetBeans。

    要使用TestNG的,就在编辑器窗口中点击任何地方,你可以看到TestNG的。将鼠标移到它和测试使用TestNG创建。

    您也可以访问以下链接 https://netbeans.org/kb /docs/java/testng-screencast.html

    I am new in automation testing. I know that how to configure testNG with eclipse IDE but I did not get that how to configure testNG with netbeans IDE.

    I have already included selenium webdriver library files in netbeans.

    can anyone help me?

    Thanks Rohit Joshi

    解决方案

    1. Download latest version of NetBeans

    2. Download the TestNG plugin for NetBeans

    3. If you are going to use Maven then get the TestNG Maven plugin for NetBeans

    4. Start NetBeans IDE and go to Tools -> Plugins

    NetBeans IDE

    1. Go to Downloaded tab and select Add Plugins

    2. Navigate to the location on your hard disk where you have saved the .nbm file and select it and click Open

    3. The plugin is made visible in the Downloaded window

    4. Select it and Install

    There it is!! You are now privileged to use TestNG with your NetBeans.

    To use TestNG, right click anywhere in the editor window and you can see TestNG. Mouse over it and create Test using TestNG.

    You can also visit the following link https://netbeans.org/kb/docs/java/testng-screencast.html

    这篇关于如何在硒使用TestNG工作在NetBeans IDE中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆