MCPcopy Create free account

hub / github.com/Abelzzg/AutoTestProject / functions

Functions577 in github.com/Abelzzg/AutoTestProject

MethodscrollDownRecyclerView
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
MethodscrollListToBottom
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
MethodscrollListToLine
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
MethodscrollListToTop
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
MethodscrollRecyclerViewToBottom
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
MethodscrollRecyclerViewToTop
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
MethodscrollToBottom
Scrolls to the bottom of the screen.
app/src/main/java/com/robotium/solo/Solo.java:1956
MethodscrollToSide
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
MethodscrollToSide
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
MethodscrollToTop
Scrolls to the top of the screen.
app/src/main/java/com/robotium/solo/Solo.java:2000
MethodscrollUpList
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
MethodscrollUpRecyclerView
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
MethodscrollViewToSide
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
MethodscrollViewToSide
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
MethodsearchEditText
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
MethodsearchToggleButton
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
MethodsendKey
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
MethodsetActivityOrientation
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
MethodsetActivityOrientation
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
MethodsetDatePicker
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
MethodsetDatePicker
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
MethodsetMobileData
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
MethodsetMobileData
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
MethodsetNavigationDrawer
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
MethodsetNavigationDrawer
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
MethodsetProgressBar
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
MethodsetProgressBar
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
MethodsetSlidingDrawer
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
MethodsetSlidingDrawer
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
MethodsetTimePicker
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
MethodsetTimePicker
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
MethodsetToolType
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
MethodsetUp
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase2.java:17
MethodsetUp
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase1.java:15
MethodsetUp
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase3.java:15
MethodsetWiFiData
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
MethodsetWiFiData
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
Methodsetup
(String p_logName)
app/src/main/java/com/zzg/robotium/lib/ReportLib.java:113
Methodsetup
(String p_Name)
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:54
Methodshoot
(Activity a, String absolutepath)
app/src/main/java/com/zzg/robotium/lib/NewTakeshot.java:68
MethodsortViewsByLocationOnScreen
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
MethodstartScreenshotSequence
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
MethodstartScreenshotSequence
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
MethodstopScreenshotSequence
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
MethodstopScreenshotSequence
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
Methodswipe
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
FunctiontagName
(tagName, click)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:159
MethodtagName
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
MethodtakeScreenshot
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
MethodtakeScreenshot
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
MethodtearDown
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase2.java:23
MethodtearDown
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase1.java:21
MethodtearDown
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase3.java:21
MethodtestRun
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase2.java:28
MethodtestRun
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase1.java:26
MethodtestRun
()
app/src/main/java/com/zzg/autotestexample/test/AutoTestCase3.java:26
FunctiontextContent
(text, click)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:139
MethodtextContent
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
MethodtypeText
输入 @param p_index edittext下标 @param p_Text 输入内容
app/src/main/java/com/zzg/robotium/lib/NewSolo.java:213
MethodtypeText
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
MethodtypeText
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
MethodtypeTextInWebElement
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
MethoduncaughtException
当UncaughtException发生时会转入该函数来处理
app/src/main/java/com/zzg/robotium/lib/CrashHandler.java:81
MethodunlockScreen
Unlocks the lock screen.
app/src/main/java/com/robotium/solo/Solo.java:3479
MethodwaitForActivity
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
MethodwaitForCondition
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
MethodwaitForDialogToClose
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
MethodwaitForDialogToClose
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
MethodwaitForEmptyActivityStack
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
MethodwaitForFragmentById
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
MethodwaitForFragmentByTag
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
MethodwaitForLogMessage
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
MethodwaitForLogMessage
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
MethodwaitForText
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
MethodwaitForWebElement
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
Functionxpath
(xpath, click)
app/src/main/java/com/robotium/solo/RobotiumWeb.js:64
Methodxpath
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
← previous501–577 of 577, ranked by callers