Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

» Selenium IDE Verify different Maps (Hybridview, Mapview etc.)
Fri Nov 25, 2016 9:56 pm by DJ87

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

View previous topic View next topic Go down

isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Post by lorenlai on 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 Sad Sad Sad

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"

lorenlai

Posts : 2
Join date : 2012-09-17

Back to top Go down

Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Post by sharath on 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

sharath
Regular Participant
Regular Participant

Posts : 29
Join date : 2012-08-04

Back to top Go down

Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Post by lorenlai on Tue Sep 18, 2012 2:22 pm

Hello Sharath,

thank you for your quick answer. Very Happy

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. Crying or Very sad

Could you help me again , please ? :-)

Thanks a lot

Cheers

Loren

lorenlai

Posts : 2
Join date : 2012-09-17

Back to top Go down

Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Post by Sponsored content Today at 10:59 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum