Unanswered question

How to Add Transaction Markers In selenium scripts

I added Transaction markers in my script but in user path it is not showing.

script: import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeDriver;
import static com.neotys.selenium.proxies.NLWebDriverFactory.addProxyCapabilitiesIfNecessary;
import org.openqa.selenium.remote.DesiredCapabilities;
import com.neotys.selenium.proxies.NLWebDriver;
import com.neotys.selenium.proxies.NLWebDriverFactory;
import com.neotys.selenium.proxies.WebDriverProxy;

public class Mothercare {
public static NLWebDriver driver;
public static void main(String[] args) {

System.setProperty("webdriver.chrome.driver","F:\\ManiKanta_Personal\\Selenium\\chromedriver_win32\\chromedriver.exe");
//ChromeDriver driver = new ChromeDriver();
driver =WebDriverProxy.newInstance(new ChromeDriver());
driver.manage().window().maximize();
driver.startTransaction("01_Launch");
driver.get("https://www.firstcry.com/";);
driver.stopTransaction();
driver.findElement(By.xpath("//div[@class='_pop_close _pop_reg_bg']")).click();
driver.startTransaction("02_Login");
driver.findElement(By.xpath("//span[@class='poplogin_main poplogin']")).click();
try {
Thread.sleep(3000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

driver.findElement(By.xpath("//input[@id='txtLUNm']")).sendKeys("mani.sanambatla@gmail.com");
driver.findElement(By.xpath("//input[@id='txtLPass']")).sendKeys("firstcry");
driver.findElement(By.xpath("//input[@id='btnlogon']")).click();
driver.stopTransaction();
driver.close();





}

}

Manikanta S.
Manikanta S.

Manikanta S.

Level
0
1 / 100
point

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

do you pass in the correct mode as a argument?