TheKaiser1978
14 years agoNew Contributor
Properties in Selenium Webdriver Groovy Steps
Hi All
Long time user, first time poster.
I'm creating Selenium Webdriver groovy steps and would like to pass a Test Case level property into a field and then search.
//Find the Customer with the number
WebElement custno = driver.findElement(By.id("CustomerID"));custno.sendKeys(CustID);
Basically enter the customer number and search. I want to capture this ID from the API request and then check various things in the UI, but obviously I need to find them first.
Any ideas?? More information on request!
Cheers!
Long time user, first time poster.
I'm creating Selenium Webdriver groovy steps and would like to pass a Test Case level property into a field and then search.
//Find the Customer with the number
WebElement custno = driver.findElement(By.id("CustomerID"));custno.sendKeys(CustID);
Basically enter the customer number and search. I want to capture this ID from the API request and then check various things in the UI, but obviously I need to find them first.
Any ideas?? More information on request!
Cheers!