Contributions
Re: How to Execute Testng Suite (Testng.xml) with QA complete without TestComplete?
Hi Poovaraj, This is a way to configure in TestNG class. What I mean is Consider a TestNG class for 1 functionality have 10@Test methods. For the same functionality, I have 10 TCs in QA complete. With my current understanding I can execute that class for all@Test methods. Can keep enabled = false or true, BUT From QA complete, just like I can execute that class by using class name as packagename.classname with and without maven,Can I link and execute an individual@Test methods against an individual TC in QA complete? Regards, Shirish2.5KViews0likes3CommentsRe: How to Execute Testng Suite (Testng.xml) with QA complete without TestComplete?
Hi Poovaraj, Finally it worked with individual class with and without maven. 1 more question, it is possible to execute individual@Test from the class which has multiple@Test methods? Regards, Shirish6.9KViews0likes5CommentsRe: Can I run TestNG classes (mvn project) from QA complete without using Test Complete
Hi, By checking the checkbox for maven project, somehow I manage to execute my Selenium TestNG TCs. As in general, I do have multiple Classes and multiple@Test in those classes. I want to run 1 class at 1 time but if my checkbox checked, it runs all classes under maven project and if I keep the checkbox for maven project as unchecked and define path for class or upload the zip (which has only 1 class), it fails to execute every time. i.e. for me, it executes selenium TCs only when maven project checkbox is checked and it execute all classes in that cases. I tried but getting error and TC got failed Error: Could not find or load main class org.testng.TestNG Is there any way to execute 1 class or 1@Test at a time instead of all classes together? Regards, Shirish2.2KViews0likes0CommentsRe: How to Execute Testng Suite (Testng.xml) with QA complete without TestComplete?
Hi Poovaraj, Finally it worked for me.I mapped Maven folder in the execution (top most folder in the maven project hierarchy) and change the JAVA path, it worked. Fewquestions from the current behavior of execution, will be appreciable if you can answer these queries Like others, my framework has multiple TestNG classes and each class has multiple@Test methods Since folder has multiple TestNG classes, it isexecutingall. Is there any way to execute particular class only? Is there any way to map@Test method with particular TC in QA complete, so that when running particular TC in QA complete, it executes that specific TC rather than all. Currently in my pom.xml, I have defined only 1 profile which ideally calling only 1 class so while executing from QA complete, it executes all classes under maven folder i.e. not taking the pom.xml into consideration. Any suggestions on this? Thanks in anticipation. Regards, Shirish7KViews0likes8CommentsRe: How to Execute Testng Suite (Testng.xml) with QA complete without TestComplete?
Thanks Poovaraj for reply. Is your maven project folder path is till the file name i.e. file:///C:/Users/........./File.java or till 1st folder of the maven project hierarchy likefile:///C:/Users/........./AutomationFolder. I triedboth but nothing worked for me :) Few more questions In TCs in QA complete, other than configuring the aforesaid snapshot, are you doing any thing else? With the TCs I am linking configuration and schedule, is there anything else that I need to take care? in TestAgent, are you providing Username and password. In my case, Administrator is the username of my VM where my Automation stuffs reside but my QA complete credentials are different than this credentials. Any way to certify that agentis working successfully?7KViews0likes9CommentsRe: How to Execute Testng Suite (Testng.xml) with QA complete without TestComplete?
Hi Poovaraj, I am facing similar issue, having working TestNG framework with Maven in one of the VMM. Have to configure to make it run through QA Complete, can you please highlight some tips how exactly has to configure. I did the below thing - Configure the TestAgent (hope I did it right) - then add new row in one of the TCs in automation tab - Zipped the Project folder (TestNG-Maven) and upload it to QA complete while adding new row. Checked the checkbox for Maven - Configure and then schedule it as per schedule time, something is happening it results fail. I am observing that it initiates command prompt but get close in few seconds and results as FAIL in the run history. Also can you please confirm if this settings in attached snapshot are correct are not? [^TestRunner.JPG] Any suggestion will be appreciable. Regards, Shirish7KViews0likes11CommentsRe: Can I run TestNG classes (mvn project) from QA complete without using Test Complete
I have execute below things in QA complete Installed Test Agent Configure the Test Agent Assigning Selenium TestNG Tests to Tests Schedule Automated Tests Since my selenium TestNG setup is in VM, as per schedule, something is happening and it kicks me out of VM. After I sign-in back to VM, I found all opened files are closed now and found Fail result in Run History for that tests. Any suggestions? Regards, Shirish2.2KViews0likes1CommentCan I run TestNG classes (mvn project) from QA complete without using Test Complete
Hi, I have selenium framework (Webdrive+TestNG) in my office Virtual machine which is working fine with combinations of TestNG, Maven and Jenkins. My office has a license for QA complete and I do found an option in QA complete to link maven project with QA complete TCs. Can someone please guide me how to do that and what information I need to provide on that page so that my TestNG classes works fine as maven project by using QA Complete? Let me know if you need any more details. Regards, Shirish2.3KViews0likes4Comments