joomla-projects / GSOC-Webdriver_system_tests_for_CMS

[READ-ONLY] This repo is no longer in active development. Please see https://github.com/joomla/joomla-cms | REPOSITORY NOT ANYMORE IN USE, see readme
https://github.com/joomla-projects/GSOC-Webdriver_system_tests_for_CMS/blob/staging/README.md
GNU General Public License v2.0
0 stars 3 forks source link

Update JoomlaWebdriverTestCase.php #8

Closed kshitijSharma2014 closed 10 years ago

kshitijSharma2014 commented 10 years ago

added a test to check linked items on the site.

kshitijSharma2014 commented 10 years ago

@puneet0191 @javigomez @gunjanpatel please have a look

kshitijSharma2014 commented 10 years ago

@javigomez I have edited this pull. please review it thanks :)

puneet0191 commented 10 years ago

Why do you want to add this Function in this class?, are we going to use it in most of the tests class? Why are you passing Xpath as a parameter? I don't think this is needed

kshitijSharma2014 commented 10 years ago

@puneet0191 I am using this function in my tests to locate the item on the front end, also the xpath I am passing is just a letter like 'a' to check whether it is a link 'h3' to check if it is of h3 type or not, according to what I am getting through its xpath.

I am not putting whole of xpath in the function parameter , just a letter.

puneet0191 commented 10 years ago

Not merging this one!