How to recognized 2 identical controls on page?
Hello All,
I am new to Sikuli. I am using sikuli Jar with selenium web driver. I need to automate file upload control available on page. problem is that I have two file upload on same page.
EX:
1. Resume Upload : <File Upload Control>
2. Sample Upload : <File Upload Control>
s.wait("E://Test Data//WaitPopup
s.click(
s.type(null, "E:/Test Data/Textbox.png", 0); // SELECT FILE TO UPLOAD
s.click(
I would like to automate RESUME file upload. when I run script using SIKULI IDE it is running fine but when I run script using Selenium TestNG, it is recognizing "Sample" file upload instead of "Resume" file upload.
PLEASE HELP ME OUT HOW SIKULI DIFFER SAME ELEMENTS ON PAGE.
LET ME KNOW IF ANY DETAILS NEEDED. APPRECIATED ALL YOUR HELP.
- PRIYANK
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- priyank
- Solved:
- Last query:
- Last reply:
This question was reopened
- by priyank