Questions tagged [test-suite]

Test Suite: A set of several test cases for a component or system under test, where the post condition of one test is often used as the precondition for the next one.

295 questions
0
votes
1 answer

uncertain behaviour when combining selenium test cases into JUnit test suite

I have a scenario where I have 29 test cases. All the test cases pop-up new firefox windows and run to completion when run independently. However when I combine the test cases(all 29) into a test suite, I get random errors of "unable to locate…
user672365
  • 221
  • 1
  • 4
  • 11
0
votes
1 answer

How to execute code before TestNG for ie. building up the test suite

i am using Selenium2 + TestNG + Maven2 + alot of other stuff. What I would like to do is to build the testng.xml (xml suite) on-the-fly upon test execution, because I would read those tests out of HP ALM QC via OpenTestArchitecture (OTA). Is there…
MushyPeas
  • 1,950
  • 2
  • 24
  • 41
0
votes
1 answer

How do I create a Test Suite at runtime

Class A { @Test @CustomAnnotation(attrib1 = "foo"; attrib2 = "moo"; attrib3 = "poo") void methodA(){ } @Test @CustomAnnotation(attrib1 = "blahblah"; attrib2 = "flahflah"; attrib3 = "klahklah") void methodB(){…
quantumcrypt
  • 363
  • 1
  • 3
  • 5
-1
votes
0 answers

Google actions TestSuite fails even though ReportState is successfull

I am trying to run test suite for my smart home thermostat google actions. But I see most of the test cases fails. I am providing test suite results and API gateway logs along with ReportState Implementation. TestSuite Logs: AssertionError: Expected…
-1
votes
1 answer

reliably kill phantomjs launched in setUpClass if derived class' setUpClass fails

I wrote a SeleniumTestCase class that launches PhantomJS in its setUpClass and kills it in its tearDownClass. However, if a derived class' setUpClass raises an error, the PhantomJS process is left hanging because SeleniumTestCase.tearDownClass…
Andy
  • 6,192
  • 4
  • 43
  • 56
-1
votes
1 answer

How to create and copy jenkins jobs using shell commands.Also how to run only a few test cases out of all mentioned in the job

How to create and copy jenkins jobs using shell commands.Also how to run only a few test cases out of all mentioned in the job or a suite. What are the settings i need to change to achieve this.
Aniket
  • 1
  • 2
-1
votes
1 answer

TestSuite JUnit -> Each TestCase has same @Before etc

I'm just writing som Selenium WebDriver tests with JUnit 4. Test Cases are grouped by JUnit TestSuite. Each test case (test class) has the same @Rule @BeforeTest @AfterTest How can i realize this in JUnit TestSuite, so that I don't have the same…
fuba77
  • 3
  • 1
-1
votes
1 answer

How can iterate the test suites in the TestNG

For Example i have one TestSuite with multiple classes. Iteration 1 TestSuite execute in the first time it will take data in the first row of the Excel Sheet. Iteration 2 TestSuite again execute in the second time it will take data in the second row…
-1
votes
4 answers

how i can disable cakephp Test Suite?

do you test this url in your application that writted with cakephp ? www.yourCakephpApp.com/test you see a page like this: http://www.eliteprojects.org/cake/app/webroot/test.php how i can disable test suite?
Chalist
  • 2,676
  • 5
  • 35
  • 61
-2
votes
1 answer

no such elemnts in second class testng

i need help i run code from xml file the first class called login it runs correctly but when it goes to setting class it fails that tells no such element
1 2 3
19
20