I have questions on automating the test cases of an ExtJS application using the Selenium webdriver.
Two years back, I was asked to automate the same ExtJS application using HP UFT. I did that by developing a custom UFT add-in for the ExtJS components. Now I am asked to continue the automation but with selenium webdriver and not UFT. Today, I tried with a few controls and I see that Selenium fails to recognize a few controls like ExtJS tree node, ExtJS tab etc using the xpath.
I see firepath takes me to the correct control when I type the locator value in it. But if I use the same locator value in my Java code, I get a nosuchelement exception thrown by Selenium.
Here is my code to select a particular node in the list.
<div>
<span class="x-tree-node-text">Circuit</span>
</div>
By.xpath("//span[contains(text(),'Circuit')])[1]") // there are two circuits like
Is my job of automating using Selenium going to be tough? I learnt only Java. Should I learn new technologies to automate this app?
Please let me know.