Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Abelzzg/AutoTestProject
/ functions
Functions
577 in github.com/Abelzzg/AutoTestProject
⨍
Functions
577
◇
Types & classes
68
Method
scrollDownRecyclerView
Scrolls down a RecyclerView matching the specified index. @param index the index of the RecyclerView to scroll. {@code 0} if only one RecyclerView is
app/src/main/java/com/robotium/solo/Solo.java:2174
Method
scrollListToBottom
Scrolls to the bottom of the specified AbsListView. @param list the {@link AbsListView} to scroll @return {@code true} if more scrolling can be perfo
app/src/main/java/com/robotium/solo/Solo.java:2038
Method
scrollListToLine
Scroll the specified AbsListView to the specified line. @param absListView the {@link AbsListView} to scroll @param line the line to scroll to
app/src/main/java/com/robotium/solo/Solo.java:2143
Method
scrollListToTop
Scrolls to the top of the specified AbsListView. @param list the {@link AbsListView} to scroll @return {@code true} if more scrolling can be performe
app/src/main/java/com/robotium/solo/Solo.java:2068
Method
scrollRecyclerViewToBottom
Scrolls a RecyclerView matching the specified index to the bottom. @param index the index of the RecyclerView to scroll. {@code 0} if only one list i
app/src/main/java/com/robotium/solo/Solo.java:2196
Method
scrollRecyclerViewToTop
Scrolls a RecyclerView matching the specified index to the top. @param index the index of the RecyclerView to scroll. {@code 0} if only one list is a
app/src/main/java/com/robotium/solo/Solo.java:2240
Method
scrollToBottom
Scrolls to the bottom of the screen.
app/src/main/java/com/robotium/solo/Solo.java:1956
Method
scrollToSide
Scrolls horizontally. @param side the side to scroll; {@link #RIGHT} or {@link #LEFT} @param scrollPosition the position to scroll to, from 0 to 1 wh
app/src/main/java/com/robotium/solo/Solo.java:2264
Method
scrollToSide
Scrolls horizontally. @param side the side to which to scroll; {@link Side#RIGHT} or {@link Side#LEFT} @param scrollPosition the position to scroll t
app/src/main/java/com/robotium/solo/Scroller.java:353
Method
scrollToTop
Scrolls to the top of the screen.
app/src/main/java/com/robotium/solo/Solo.java:2000
Method
scrollUpList
Scrolls up the specified AbsListView. @param list the {@link AbsListView} to scroll @return {@code true} if more scrolling can be performed
app/src/main/java/com/robotium/solo/Solo.java:2053
Method
scrollUpRecyclerView
Scrolls up a RecyclerView matching the specified index. @param index the index of the RecyclerView to scroll. {@code 0} if only one list is available
app/src/main/java/com/robotium/solo/Solo.java:2219
Method
scrollViewToSide
Scrolls a View horizontally. @param view the View to scroll @param side the side to scroll; {@link #RIGHT} or {@link #LEFT} @param scrollPosition the
app/src/main/java/com/robotium/solo/Solo.java:2313
Method
scrollViewToSide
Scrolls view horizontally. @param view the view to scroll @param side the side to which to scroll; {@link Side#RIGHT} or {@link Side#LEFT} @param scr
app/src/main/java/com/robotium/solo/Scroller.java:379
Method
searchEditText
Searches for a text in the EditText objects currently displayed and returns true if found. Will automatically scroll when needed. @param text the tex
app/src/main/java/com/robotium/solo/Solo.java:720
Method
searchToggleButton
Searches for a ToggleButton displaying the specified text and returns {@code true} if at least one ToggleButton is found. Will automatically scroll wh
app/src/main/java/com/robotium/solo/Solo.java:770
Method
sendKey
Sends a key: Right, Left, Up, Down, Enter, Menu or Delete. @param key the key to be sent. Use {@code Solo.}{@link #RIGHT}, {@link #LEFT}, {@link #UP}
app/src/main/java/com/robotium/solo/Solo.java:3502
Method
setActivityOrientation
Sets the Orientation (Landscape/Portrait) for the current Activity. @param orientation the orientation to set. <code>Solo.</code>{@link #LANDSCAPE} f
app/src/main/java/com/robotium/solo/Solo.java:936
Method
setActivityOrientation
Sets the Orientation (Landscape/Portrait) for the current activity. @param orientation An orientation constant such as {@link android.content.pm.Acti
app/src/main/java/com/robotium/solo/ActivityUtils.java:207
Method
setDatePicker
Sets the date in a given {@link DatePicker}. @param datePicker the {@code DatePicker} object. @param year the year e.g. 2011 @param monthOfYear the m
app/src/main/java/com/robotium/solo/Setter.java:54
Method
setDatePicker
Sets the date in a DatePicker matching the specified index. @param index the index of the {@link DatePicker}. {@code 0} if only one is available @par
app/src/main/java/com/robotium/solo/Solo.java:2478
Method
setMobileData
Sets if mobile data should be turned on or off. Requires android.permission.CHANGE_NETWORK_STATE in the AndroidManifest.xml of the application under t
app/src/main/java/com/robotium/solo/SystemUtils.java:33
Method
setMobileData
Sets if mobile data should be turned on or off. Requires android.permission.CHANGE_NETWORK_STATE in the AndroidManifest.xml of the application under t
app/src/main/java/com/robotium/solo/Solo.java:2445
Method
setNavigationDrawer
Sets the status of the NavigationDrawer. Examples are Solo.CLOSED and Solo.OPENED. @param status the status that the {@link NavigationDrawer} should
app/src/main/java/com/robotium/solo/Setter.java:160
Method
setNavigationDrawer
Sets the status of the NavigationDrawer. Examples of status are: {@code Solo.CLOSED} and {@code Solo.OPENED}. @param status the status that the Navig
app/src/main/java/com/robotium/solo/Solo.java:2574
Method
setProgressBar
Sets the progress of a given {@link ProgressBar}. Examples are SeekBar and RatingBar. @param progressBar the {@code ProgressBar} @param progress the p
app/src/main/java/com/robotium/solo/Setter.java:105
Method
setProgressBar
Sets the progress of a ProgressBar matching the specified index. Examples of ProgressBars are: {@link android.widget.SeekBar} and {@link android.widge
app/src/main/java/com/robotium/solo/Solo.java:2544
Method
setSlidingDrawer
Sets the status of a given SlidingDrawer. Examples are Solo.CLOSED and Solo.OPENED. @param slidingDrawer the {@link SlidingDrawer} @param status the
app/src/main/java/com/robotium/solo/Setter.java:130
Method
setSlidingDrawer
Sets the status of a SlidingDrawer matching the specified index. Examples of status are: {@code Solo.CLOSED} and {@code Solo.OPENED}. @param index th
app/src/main/java/com/robotium/solo/Solo.java:2589
Method
setTimePicker
Sets the time in a given {@link TimePicker}. @param timePicker the {@code TimePicker} object. @param hour the hour e.g. 15 @param minute the minute e
app/src/main/java/com/robotium/solo/Setter.java:80
Method
setTimePicker
Sets the time in a TimePicker matching the specified index. @param index the index of the {@link TimePicker}. {@code 0} if only one is available @par
app/src/main/java/com/robotium/solo/Solo.java:2512
Method
setToolType
Sets the tool type to use when illustrating. By default this is set to MotionEvent.TOOL_TYPE_FINGER @param toolType an int from MotionEvent's static i
app/src/main/java/com/robotium/solo/Illustration.java:35
Method
setUp
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase2.java:17
Method
setUp
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase1.java:15
Method
setUp
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase3.java:15
Method
setWiFiData
Sets if wifi data should be turned on or off. Requires android.permission.CHANGE_WIFI_STATE in the AndroidManifest.xml of the application under test.
app/src/main/java/com/robotium/solo/SystemUtils.java:53
Method
setWiFiData
Sets if wifi data should be turned on or off. Requires android.permission.CHANGE_WIFI_STATE in the AndroidManifest.xml of the application under test.
app/src/main/java/com/robotium/solo/Solo.java:2460
Method
setup
(String p_logName)
app/src/main/java/com/zzg/robotium/lib/ReportLib.java:113
Method
setup
(String p_Name)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:54
Method
shoot
(Activity a, String absolutepath)
app/src/main/java/com/zzg/robotium/lib/NewTakeshot.java:68
Method
sortViewsByLocationOnScreen
Orders Views by their location on-screen. @param views The views to sort @see ViewLocationComparator
app/src/main/java/com/robotium/solo/RobotiumUtils.java:90
Method
startScreenshotSequence
Takes a screenshot sequence and saves the images with the name prefix in the {@link Config} objects save path. The name prefix is appended with "_" +
app/src/main/java/com/robotium/solo/ScreenshotTaker.java:121
Method
startScreenshotSequence
Takes a screenshot sequence and saves the images with the specified name prefix in the {@link Config} objects save path (default set to: /sdcard/Robot
app/src/main/java/com/robotium/solo/Solo.java:3857
Method
stopScreenshotSequence
Causes a screenshot sequence to end. If this method is not called to end a sequence and a prior sequence is still in progress, startScreenshotSequenc
app/src/main/java/com/robotium/solo/ScreenshotTaker.java:139
Method
stopScreenshotSequence
Causes a screenshot sequence to end. If this method is not called to end a sequence and a prior sequence is still in progress, startScreenshotSequenc
app/src/main/java/com/robotium/solo/Solo.java:3906
Method
swipe
Swipes with two fingers in a linear path determined by starting and ending points. Requires API level >= 14. @param startPoint1 First "finger" down o
app/src/main/java/com/robotium/solo/Solo.java:2387
Function
tagName
(tagName, click)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:159
Method
tagName
Select a WebElement by its Tag name. @param tagName the Tag name of the web element @return the TagName object
app/src/main/java/com/robotium/solo/By.java:91
Method
takeScreenshot
Takes a screenshot and saves it in the {@link Config} objects save path. Requires write permission (android.permission.WRITE_EXTERNAL_STORAGE) in Andr
app/src/main/java/com/robotium/solo/ScreenshotTaker.java:76
Method
takeScreenshot
Takes a screenshot and saves it in the {@link Config} objects save path (default set to: /sdcard/Robotium-Screenshots/). Requires write permission (an
app/src/main/java/com/robotium/solo/Solo.java:3802
Method
tearDown
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase2.java:23
Method
tearDown
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase1.java:21
Method
tearDown
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase3.java:21
Method
testRun
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase2.java:28
Method
testRun
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase1.java:26
Method
testRun
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase3.java:26
Function
textContent
(text, click)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:139
Method
textContent
Select a WebElement by its text content. @param textContent the text content of the web element @return the TextContent object
app/src/main/java/com/robotium/solo/By.java:79
Method
typeText
输入 @param p_index edittext下标 @param p_Text 输入内容
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:213
Method
typeText
Types text in an EditText matching the specified index. @param index the index of the {@link EditText}. {@code 0} if only one is available @param tex
app/src/main/java/com/robotium/solo/Solo.java:2670
Method
typeText
Types text in an {@code EditText} @param index the index of the {@code EditText} @param text the text that should be typed
app/src/main/java/com/robotium/solo/TextEnterer.java:73
Method
typeTextInWebElement
Types text in a WebElement matching the specified By object. @param by the By object. Examples are: {@code By.id("id")} and {@code By.name("name")} @
app/src/main/java/com/robotium/solo/Solo.java:2701
Method
uncaughtException
当UncaughtException发生时会转入该函数来处理
app/src/main/java/com/zzg/robotium/lib/CrashHandler.java:81
Method
unlockScreen
Unlocks the lock screen.
app/src/main/java/com/robotium/solo/Solo.java:3479
Method
waitForActivity
Waits for the given {@link Activity}. @param name the name of the {@code Activity} to wait for e.g. {@code "MyActivity"} @return {@code true} if {@co
app/src/main/java/com/robotium/solo/Waiter.java:67
Method
waitForCondition
Waits for a condition to be satisfied. @param condition the condition to wait for @param timeout the amount of time in milliseconds to wait @return {
app/src/main/java/com/robotium/solo/Waiter.java:515
Method
waitForDialogToClose
Waits for a Dialog to close. Default timeout is 20 seconds. @return {@code true} if the {@link android.app.Dialog} is closed before the timeout and {
app/src/main/java/com/robotium/solo/Solo.java:1063
Method
waitForDialogToClose
Waits for a {@link android.app.Dialog} to close. @param timeout the amount of time in milliseconds to wait @return {@code true} if the {@code Dialog}
app/src/main/java/com/robotium/solo/DialogUtils.java:53
Method
waitForEmptyActivityStack
Wait for the activity stack to be empty. @param timeout the amount of time in milliseconds to wait @return {@code true} if activity stack is empty be
app/src/main/java/com/robotium/solo/Solo.java:3597
Method
waitForFragmentById
Waits for a Fragment matching the specified resource id. Default timeout is 20 seconds. @param id the R.id of the fragment @return {@code true} if fr
app/src/main/java/com/robotium/solo/Solo.java:3650
Method
waitForFragmentByTag
Waits for a Fragment matching the specified Tag. Default timeout is 20 seconds. @param tag the name of the Tag @return {@code true} if fragment appea
app/src/main/java/com/robotium/solo/Solo.java:3619
Method
waitForLogMessage
Waits for a log message to appear. Requires read logs permission (android.permission.READ_LOGS) in AndroidManifest.xml of the application under test.
app/src/main/java/com/robotium/solo/Waiter.java:730
Method
waitForLogMessage
Waits for the specified log message to appear. Default timeout is 20 seconds. Requires read logs permission (android.permission.READ_LOGS) in AndroidM
app/src/main/java/com/robotium/solo/Solo.java:3684
Method
waitForText
Waits for a text to be shown. Default timeout is 20 seconds. @param text the text that needs to be shown, specified as a regular expression @return {
app/src/main/java/com/robotium/solo/Waiter.java:539
Method
waitForWebElement
Waits for a web element. @param by the By object. Examples are By.id("id") and By.name("name") @param minimumNumberOfMatches the minimum number of ma
app/src/main/java/com/robotium/solo/Waiter.java:483
Function
xpath
(xpath, click)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:64
Method
xpath
Select a WebElement by its xpath. @param xpath the xpath of the web element @return the Xpath object
app/src/main/java/com/robotium/solo/By.java:31
← previous
501–577 of 577, ranked by callers