When I am running the POM.xml -> In testng-results.xml -> Requirement details not updating => @Xray(requirement = "MF-21", test = "MF-21", labels = "MOTO")
This is my code
=============
package com.DD.testcases;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.testng.annotations.Test;
import com.DD.annotations.Xray;
import com.DD.base.TestBase;
public class Phaseone extends TestBase {
@techoneway
@Xray(requirement = "MF-21", test = "MF-21", labels = "MOTO")
public void placeorder(){
driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS) ;
driver.findElement(By.id(OR.getProperty("radiobutton"))).click();
driver.findElement(By.id(OR.getProperty("samplenumber"))).sendKeys("123");
driver.findElement(By.xpath(OR.getProperty("confirmthenumber"))).click();
driver.findElement(By.id(OR.getProperty("proceedtheorder"))).click();
}
}
testng-results.xml
===============
<?xml version="1.0" encoding="UTF-8"?>
<testng-results skipped="0" failed="1" ignored="0" total="1" passed="0">
<reporter-output>
</reporter-output>
<suite name="Testing Tool" duration-ms="626" started-at="2019-03-25T12:33:30Z" finished-at="2019-03-25T12:33:30Z">
<groups>
</groups>
<test name="placeorder" duration-ms="626" started-at="2019-03-25T12:33:30Z" finished-at="2019-03-25T12:33:30Z">
<class name="com.BrandCrock.testcases.Phaseone">
<test-method status="PASS" signature="setUp()[pri:0, instance:com.BrandCrock.testcases.Phaseone@5f9d02cb]" name="setUp" is-config="true" duration-ms="10881" started-at="2019-03-25T12:33:19Z" finished-at="2019-03-25T12:33:30Z">
<reporter-output>
</reporter-output>
</test-method> <!-- setUp -->
I am also facng the same issue. Is there any solution available . Please help
I have already verified this link
https://confluence.xpand-it.com/display/public/XRAY/Testing+using+TestNG+in+Java
but it's not working for me...!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi you must have solved the issue, could you help me with the TestNG importing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.