Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
TestNG is a testing framework, inspired by the JUnit/NUnit unit testing frameworks. TestNG is intended to support more than just unit testing, allowing functional, end-to-end, integration, etc.
0
votes
1
answer
224
views
TestNG Listener from one xml file is applied to another
I have two xml files to run tests - api.xml and ui.xml
In ui.xml I have TestNG Listener, but this Listener also is applied when API tests run.
I run tests using testng.xml
ui.xml
<! … DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="UI">
<listeners>
<listener class-name="utils.Listeners.DebugUiListener"/>
</listeners>
<parameter name="environment …
0
votes
0
answers
3k
views
Cucumber and TestNG, how to pass parameter?
Could you please tell, how to pass parameter in Cucumber using TestNG?
I have following code, but it does not work. … DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Suite">
<parameter name="environment" value="qa"/>
<test name="Validating Login Page">
<classes> …