projects
/
sitecorepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e4e07f
)
Use id not link text (buttons aren't links) to copy prof. pages
author
W. Trevor King
<wking@drexel.edu>
Wed, 30 Jun 2010 13:05:19 +0000
(09:05 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 30 Jun 2010 13:05:19 +0000
(09:05 -0400)
sitecore/prof/import.py
patch
|
blob
|
history
diff --git
a/sitecore/prof/import.py
b/sitecore/prof/import.py
index 18da8a706a4f0f300ec249f1ee2f9c9c1dbd159f..cd857a23a619617707f60e819d1d1792a9d11922 100644
(file)
--- a/
sitecore/prof/import.py
+++ b/
sitecore/prof/import.py
@@
-71,7
+71,7
@@
class ProfessorAdder (object):
name.send_keys(
'/sitecore/content/Home/physics/contact/facultyDirectory/%s %s'
% (prof.name.first_middle, prof.name.last))
- self.s.w.find_element_by_
link_text('Copy
').click()
+ self.s.w.find_element_by_
id('OK
').click()
time.sleep(self.s.wait_time)
current_window = self.s.w.get_current_window_handle()
self.s.logger.info('handled copy popup %s, back to %s'