- lorenlai
- Posts : 2
Join date : 2012-09-17
isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar
Mon Sep 17, 2012 8:45 pm
Hi all,
I'm newbie and I have a question regarding to isTextPresentXML and selenium-server-standalone-2.25.0.jar, please .
I would like to use "selenium-server-standalone-2.25.0.jar" to generate a "test report" (using Selenium IDE there is no test report generator).
My test cases runs well by using Selenium IDE (plugin in firfox), but it does not work with selenium-server-standalone-2.25.0.jar
I would like to have a check a text on an XML-Result.
My Test Case looks like this ...
...
open
dummyURL
isTextPresentXML
field name="title"
I'm newbie and I have a question regarding to isTextPresentXML and selenium-server-standalone-2.25.0.jar, please .
I would like to use "selenium-server-standalone-2.25.0.jar" to generate a "test report" (using Selenium IDE there is no test report generator).
My test cases runs well by using Selenium IDE (plugin in firfox), but it does not work with selenium-server-standalone-2.25.0.jar
I would like to have a check a text on an XML-Result.
My Test Case looks like this ...
...
- sharathRegular Participant
- Posts : 29
Join date : 2012-08-04
Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar
Tue Sep 18, 2012 11:43 am
Hi Loren,
Selenium IDE does not natively support xml elements.Only buy using user extensions this is possible.
Please refer this site for use with RC.
http://seleniumhq.org/docs/08_user_extensions.html
Regards,
Sharath
Selenium IDE does not natively support xml elements.Only buy using user extensions this is possible.
Please refer this site for use with RC.
http://seleniumhq.org/docs/08_user_extensions.html
Regards,
Sharath
- lorenlai
- Posts : 2
Join date : 2012-09-17
Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar
Tue Sep 18, 2012 2:22 pm
Hello Sharath,
thank you for your quick answer.
Yes, I use "user-extensions.js" and it works with Selenium IDE (firefox plugin), but by using Selenium IDE I do not have a possibility to generate a test report.
That's why I want to use selenium-server-standalone-2.25.0.jar ...
to generate my test report and it works (I have my test report), but the test was not running correctly.
Example ...
1) Open an URL
2) expect an XML as result
3) check the text/field in xml
There is a test case where the URl is not correct, so an error is returned and not an XML.
But my test case said or the test report said that everything is fine.
The check does not work. BUT by using Selenium IDE the check is correct.
Could you help me again , please ? :-)
Thanks a lot
Cheers
Loren
thank you for your quick answer.
Yes, I use "user-extensions.js" and it works with Selenium IDE (firefox plugin), but by using Selenium IDE I do not have a possibility to generate a test report.
That's why I want to use selenium-server-standalone-2.25.0.jar ...
to generate my test report and it works (I have my test report), but the test was not running correctly.
Example ...
1) Open an URL
2) expect an XML as result
3) check the text/field in xml
There is a test case where the URl is not correct, so an error is returned and not an XML.
But my test case said or the test report said that everything is fine.
The check does not work. BUT by using Selenium IDE the check is correct.
Could you help me again , please ? :-)
Thanks a lot
Cheers
Loren
- add functions to selenium-server-standalone.jar
- Selenium-Server does not work with opera!
- How to use User-Extension.js in Eclipse when Eclipse integrated with selenium standalone server
- Warning: Unresponsive script on Firefox 11, Firefox 12, Firefox 13 on selenium-server-standalone-2.x
- which standalone server to use
Permissions in this forum:
You cannot reply to topics in this forum