Hi,
Smart Client Version - 10
Selenium IDE Version - 2.8
Broswer -firefox 35
Selenium Web Driver - 2.45 and isomorphic_webdriver.jar(that came with smartclient 10)
I am trying to automate SmartClient 10 based application with Selenium Web driver, I am using Selenium IDE 2.8 with user-extension.js and user-extension-ide.js to get sc_locator and using isomorphic_webdriver jar to locate element through my java code.
When I am running my java code it is giving me error no such element found.
But when I am changing the smartclient version from 10 to 9.1 and using the same selenium code to locate element, it is able to locate it.
The locator that I found is same for both Smartclient version(10 & 9.1).
Steps that I am following:
1. First I added the user-extension.js and user-extension-ide.js to my selenium IDE.
2. After that I am using selenium ide to find sc_locator of particular element.
3. Using that sc_locator in my selenium-java code to find element and perform action on it. But, I am getting "no such element" error.
4. But when I am changing the smartclient version of my application from 10 to 9.1 and using the same code and sc_locator, it is working. I am able to find element on smartclient 9.1 with sc_locator but not with smartclient 10.
Here is some part of my code:
public class Demo
{
public static void main(String[] args) throws Exception
{
Demo demo = new Demo();
SmartClientFirefoxDriver driver1 = new SmartClientFirefoxDriver();
driver1.get("application url");
driver1.manage().window().maximize();
By element = ByScLocator.scLocator("//ActionableListGrid[ID=\"loginLG\"]/body/row[loginId=aggr.user@yahoo.com||1]/col[fieldName=loginId||0]");
Thread.sleep(15000);
driver1.waitForElementClickable(element);
driver1.click(element);
}
}
Smart Client Version - 10
Selenium IDE Version - 2.8
Broswer -firefox 35
Selenium Web Driver - 2.45 and isomorphic_webdriver.jar(that came with smartclient 10)
I am trying to automate SmartClient 10 based application with Selenium Web driver, I am using Selenium IDE 2.8 with user-extension.js and user-extension-ide.js to get sc_locator and using isomorphic_webdriver jar to locate element through my java code.
When I am running my java code it is giving me error no such element found.
But when I am changing the smartclient version from 10 to 9.1 and using the same selenium code to locate element, it is able to locate it.
The locator that I found is same for both Smartclient version(10 & 9.1).
Steps that I am following:
1. First I added the user-extension.js and user-extension-ide.js to my selenium IDE.
2. After that I am using selenium ide to find sc_locator of particular element.
3. Using that sc_locator in my selenium-java code to find element and perform action on it. But, I am getting "no such element" error.
4. But when I am changing the smartclient version of my application from 10 to 9.1 and using the same code and sc_locator, it is working. I am able to find element on smartclient 9.1 with sc_locator but not with smartclient 10.
Here is some part of my code:
public class Demo
{
public static void main(String[] args) throws Exception
{
Demo demo = new Demo();
SmartClientFirefoxDriver driver1 = new SmartClientFirefoxDriver();
driver1.get("application url");
driver1.manage().window().maximize();
By element = ByScLocator.scLocator("//ActionableListGrid[ID=\"loginLG\"]/body/row[loginId=aggr.user@yahoo.com||1]/col[fieldName=loginId||0]");
Thread.sleep(15000);
driver1.waitForElementClickable(element);
driver1.click(element);
}
}