TestNG如何将URL作为参数传递?

TestNG如何将URL作为参数传递?,testng,selenium-grid,Testng,Selenium Grid,我正在尝试在TestNG中将URL作为参数传递。然而,我面临着一个关于equal symbol=的问题 事实上,这是我的URL: 下面是我在testng.xml文件中传递URL的方式: <test name="API"> <parameter name="URL" value="URL = http://frstmwarwebsrv.orsyptst.com:9000//duobject?searchString=CRM%20:&filtercheck=nam

我正在尝试在TestNG中将URL作为参数传递。然而,我面临着一个关于equal symbol=的问题

事实上,这是我的URL:

下面是我在testng.xml文件中传递URL的方式:

<test name="API">
    <parameter name="URL" value="URL = http://frstmwarwebsrv.orsyptst.com:9000//duobject?searchString=CRM%20:&filtercheck=nameSWF&p.index=0&p.size=8"" />

    <classes>
        <class name="Distributed.Search" />
    </classes>
</test>


我知道这是一个老问题,但它不是封闭的。也许有人会把它关上

与不转义XML中的特殊字符相关的问题。有关: