Hi,
I created a test using the Selenium IDE. I followed the instructions and I'm using the scLocator for locating elements. The test runs just fine from Selenium IDE. However, when I try to run the SeleneseRunner to convert it to WebDriver, I get errors for all commands, such as:
As I said, all single commands cannot be converted. The only exception is the "open" command, which is converted, which means that the output file is generated but it is virtually empty.
I'm running on SmartClient_v90p_2013-11-26.
The steps I'm taking is:
- Navigate to ".\smartclientSDK\WEB-INF\lib-WebDriverSupport"
- Run the following command:
- The firefox window opens and the exceptions are displayed on screen
Am I doing something wrong?
Note: There is a typo in the documentation, it says "isorphic" where it should be "isomorphic"
I created a test using the Selenium IDE. I followed the instructions and I'm using the scLocator for locating elements. The test runs just fine from Selenium IDE. However, when I try to run the SeleneseRunner to convert it to WebDriver, I get errors for all commands, such as:
Code:
java.lang.NoSuchMethodException: No match for: waitForFrameToLoad(id=user/String) at com.isomorphic.webdriver.Operation.execute(Operation.java:129) at com.isomorphic.webdriver.SeleneseTestCaseParser.visitTag(SeleneseTestCaseParser.java:72) at org.htmlparser.tags.CompositeTag.accept(CompositeTag.java:470) at org.htmlparser.tags.CompositeTag.accept(CompositeTag.java:479) at org.htmlparser.tags.CompositeTag.accept(CompositeTag.java:479) at org.htmlparser.tags.CompositeTag.accept(CompositeTag.java:479) at org.htmlparser.Parser.visitAllNodesWith(Parser.java:728) at com.isomorphic.webdriver.SeleneseRunner.parseEntry(SeleneseRunner.java:237) at com.isomorphic.webdriver.SeleneseRunner.main(SeleneseRunner.java:201) java.lang.NoSuchMethodException: No match for: type(id=user/String, admin/String) (...) java.lang.NoSuchMethodException: No match for: clickAndWait(id=login_text/String) (...)
I'm running on SmartClient_v90p_2013-11-26.
The steps I'm taking is:
- Navigate to ".\smartclientSDK\WEB-INF\lib-WebDriverSupport"
- Run the following command:
Code:
java -cp filterbuilder.jar;htmlparser.jar;isomorphic_webdriver.jar;json-20080701.jar;junit-4.8.1.jar;sax2.jar;selenium-java-2.31.0.jar;thumbelina.jar;guava-10.0.1.jar;commons-exec-1.1.jar;httpcore-4.2.1.jar;httpclient-4.2.1.jar;commons-logging-1.1.1.jar com.isomorphic.webdriver.SeleneseRunner -s M:\run.out "https://foo.bar.com" M:\script.rctest.html
Am I doing something wrong?
Note: There is a typo in the documentation, it says "isorphic" where it should be "isomorphic"
Comment