Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(828)

Unified Diff: chrome/test/automated_ui_tests/automated_ui_test_base.h

Issue 196096: First part of automated_ui_tests improvements.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: disable on lin/mac Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/automated_ui_tests/automated_ui_test_base.h
diff --git a/chrome/test/automated_ui_tests/automated_ui_test_base.h b/chrome/test/automated_ui_tests/automated_ui_test_base.h
index cc4fb8648cfeb5a04fa8e608a306b061c707fb9d..c4b9429d4cb8fae35c7aed7db4e5244bf8a2d5c4 100644
--- a/chrome/test/automated_ui_tests/automated_ui_test_base.h
+++ b/chrome/test/automated_ui_tests/automated_ui_test_base.h
@@ -57,6 +57,9 @@ class AutomatedUITestBase : public UITest {
// drag the active tab over.
bool DragActiveTab(bool drag_right);
+ // Activates "find in page" on the current page. Returns true on success.
+ bool FindInPage();
+
// Go forward in active tab.
// Returns true if successful, false otherwise.
bool ForwardButton();
@@ -64,6 +67,10 @@ class AutomatedUITestBase : public UITest {
// Opens an OffTheRecord browser window.
bool GoOffTheRecord();
+ // Navigates to the Home page.
+ // Returns true if call to activate the accelerator is successful.
+ bool Home();
+
// Navigates the activate tab to given url.
bool Navigate(const GURL& url);
@@ -88,6 +95,26 @@ class AutomatedUITestBase : public UITest {
// Returns true if the tab is successfully restored.
bool RestoreTab();
+ // Activates the next tab on the active browser window.
+ // Returns true on success.
+ bool SelectNextTab();
+
+ // Activates the previous tab on the active browser window.
+ // Returns true on success.
+ bool SelectPreviousTab();
+
+ // Displays the bookmark bar.
+ // Returns true on success.
+ bool ShowBookmarkBar();
+
+ // Opens the Downloads page in the current active browser window.
+ // Returns true on success.
+ bool ShowDownloads();
+
+ // Opens the History page in the current active browser window.
+ // Returns true on success.
+ bool ShowHistory();
+
// Runs the specified browser command in the current active browser.
// See browser_commands.cc for the list of commands.
// Returns true if the call is successfully dispatched.
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/test/automated_ui_tests/automated_ui_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698