Using Java variables with Sikuli in Selenium-Webdriver
/* The code below is a Java code in selenium webdriver. The code reads a long list from an excel sheet.
It stores the values in each excel cell in variables, LastName and FirstName.
I need to use the variables in a query, after navigating to SQL Server management studio database.
This is where am having issues. when I use the command 'screen.
The variable LastName throws cannot be resolved to a variable error
QUESTION. How do I use the variables LastName and FirstName defined in Java in Sikuli.
HELP PLEASE!
*/
File src = new File ("C:\\EmployeeL
FileInputStream fis = new FileInputStream
XSSFWorkbook wb = new XSSFWorkbook(fis);
XSSFSheet sheet1 = wb.getSheetAt(0);
int rowcount=
System.
for (int i=0; i<rowcount;i++)
{
String LastName=
String FirstName=
System.
}
wb.close();
//Navigated into SQL Server management studio database
screen.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Sama for more information if necessary.