GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ramesh-emandi/RobotiumAntTest

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.settings
.settings
 
 
bin
bin
 
 
gen/com/wenable/robotium/sample/activity
gen/com/wenable/robotium/sample/activity
 
 
launchconfigurations
launchconfigurations
 
 
res
res
 
 
src/com/wenable/robotium/sample
src/com/wenable/robotium/sample
 
 
testinglibs
testinglibs
 
 
.classpath
.classpath
 
 
.project
.project
 
 
AndroidManifest.xml
AndroidManifest.xml
 
 
README.txt
README.txt
 
 
build.xml
build.xml
 
 
local.properties
local.properties
 
 
proguard-project.txt
proguard-project.txt
 
 
project.properties
project.properties
 
 

Repository files navigation

//----------------ROBOTIUM STEPS TO SETUP--------------------//

* First step you need add the JUNIT library to your project for that goto properties of the project select Libraries tab and select jUnit say JUnit next you will find one drop down box select JUnit4
* Next download the ronotium jar from (http://code.google.com/p/robotium/) web site add the jar to your project (If you don't have a libs folder in your project create one in project directory and paste the robo jar into libs, add the library into classpath as well)
* All the system test cases has to go in respective package (in MAF com.customername.appname.test.system)
* You can find the Root package name in AndroidManifestfile (android:packagename="rootpackagename")
* Every SystemTest class has to extend the AbstractnstrumentationTestCaseActivity
  Note : Please don't change any thing in Abstract class if you want to change anything please concern respective technical person or author.
* Add the the use-library and Instrumentation elements in AndroidManifest. If you don't add them you can not run your test.
		Ex :  <uses-library android:name="android.test.runner" /> (In application element)
			   <instrumentation
        			android:name="android.test.InstrumentationTestRunner"
        			android:targetPackage="com.packagename.root" />
        			
** Thats all you need to do then you can start writing your testcases
* After Running the test case you see your result in JUnit console, if the jUnit view is not configured in your eclipse you can add from from fast view
* If you want to run the all the tests in the package you can run them using launch configuration.
 


Some key points while writing the testcases          				
* Every test case should be independent
* Each test case represent only that functionality should not do more than that
* Try to avoid wait() or sleep()
* Don't use static values while operating the views, get the views and do operations on them 
         Ex : If you have a List view, test case is to click on each item you should not do that click on each index, 
              you should get the size of the list and click on each item.
              

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.