Showing posts with label use. Show all posts
Showing posts with label use. Show all posts
Tuesday, September 26, 2017
Use Robotium to test Android Checkbox
Use Robotium to test Android Checkbox

Check Boxes in Android can be tested using Robotium. The following are different functions supported by Robotium to check the Checkbox functionality.
- getCurrentCheckBoxes()
- isCheckBoxChecked(int index)
- isCheckBoxChecked(String text)
- clickOnCheckBox(int index)
The Activity contains three checkboxes, let us write some sample code to test them.
Test case for Android Check Boxes :
Steps :- Click on the Check box �Android�
- Click on the Check box �iPhone�
- Verify the Status of check boxes
- Unselect the Checkboxes �iPhone� and �Android�
- Verify the Status again
public void testCheckBoxes() throws Exception {
solo.waitForActivity("MainActivity"); //click on Image Buttonsolo.clickOnImageButton(0);
//look for checkbox text actual = solo.searchText("Windows"); assertEquals("Windows text not found",true, actual); //select checkbox Androidsolo.clickOnCheckBox(0);
//select checkbox iPhonesolo.clickOnCheckBox(2);
//check the Status of checkbox Android boolean actual1 = solo.isCheckBoxChecked(0); assertEquals("Android is not Selected",true, actual1); //check the Status of checkbox iPhone boolean actual2 = solo.isCheckBoxChecked(2); assertEquals("iPhone is not Selected",true, actual2); // unselect Android and iPhonesolo.clickOnCheckBox(0);
solo.clickOnCheckBox(2);
//check the status againactual1 = solo.isCheckBoxChecked(0);
assertEquals("Android OS is Selected",false, actual);actual2 = solo.isCheckBoxChecked(2);
assertEquals("iPhone is Selected",flase, actual2);}
- Select/Unselect Checkbox : �solo.clickOnCheckBox()� can be for both Select and Unselect checkbox. First time, when used this function, it will select the option and second time when performed the same action, it will unselect the Checkbox.
- Verify the Status of Checkboxes : �solo.isCheckBoxChecked()� function is used to verify the status of Checkbox. function returns �true�, if it is selected and �false� otherwise.
- Please note that, in the assert statements, while verifying the status of unselected check boxes, we used the expected result as �false�.
download file now
Thursday, September 21, 2017
guide need root how to use fingerprint button as home back and recents button
guide need root how to use fingerprint button as home back and recents button

Governar o mundo COM Nicki Minaj
Junte-se � Rainha de Rap em uma aventura dram�tica como voc� se levanta de origens humildes para se tornar a pr�xima lenda do hip-hop!
Junte-se � Rainha de Rap em uma aventura dram�tica como voc� se levanta de origens humildes para se tornar a pr�xima lenda do hip-hop!
NEW EXCLUSIVE Nicki Minaj CAN��O
Soltar um verso na nova m�sica de Nicki �n�o se foi faz�-lo�!
Soltar um verso na nova m�sica de Nicki �n�o se foi faz�-lo�!
EXPRESSE-SE
Escrever letras e gravar os seus pr�prios raps para compartilhar com amigos!
Escrever letras e gravar os seus pr�prios raps para compartilhar com amigos!
VIVA A VIDA
Partido no penthouses e clubes; conversar ao vivo com essa cara quente ou a menina que est� verificando para fora!
Partido no penthouses e clubes; conversar ao vivo com essa cara quente ou a menina que est� verificando para fora!
Ditam as tend�ncias
Vestido para impressionar com as �ltimas modas e mostrar suas melhores roupas!
Vestido para impressionar com as �ltimas modas e mostrar suas melhores roupas!
VIVER GRANDE NA SUA CRIB
Personalize o seu ber�o e convide seus amigos para a festa a noite toda!
Personalize o seu ber�o e convide seus amigos para a festa a noite toda!
Imagens:
Requer Android 4.0 ou superior.
DOWNLOAD APK + OBB MOD
MOD INFO:
Coroas Infinita
Dinheiro Infinito
Energia Infinita
Anti-Ban
N�vel R�pido
Dinheiro Infinito
Energia Infinita
Anti-Ban
N�vel R�pido
Dados em Android/Obb
download file now
Wednesday, September 13, 2017
Use Smart Goals powered by Google Analytics to optimize in AdWords
Use Smart Goals powered by Google Analytics to optimize in AdWords
To advertise smart, you have to measure smart. And a key metric for almost any business is conversions, also known as �that moment when users do the thing that you want them to do.�
Many AdWords advertisers are already measuring their website conversions, using either AdWords Conversion Tracking or imported Google Analytics Ecommerce transactions. Measuring actual conversions is ideal, because it allows you to optimize your bids, your ads and your website with a clear goal in mind.
However, hundreds of thousands of small and medium businesses arent measuring their website conversions today. Some businesses may not have a way for users to convert on their website and others may not have the time or the technical ability to implement conversion tracking.
The Google Analytics team is committed to helping our users use their data to drive better marketing and advertising performance. So, for businesses that don�t measure conversions in AdWords today, we�ve created an easy-to-use solution: Smart Goals. Smart Goals help you identify the highest-quality visits to your website and optimize for those visits in AdWords.
"Smart Goals helped us drive more engaged visits to our website. It gave us something meaningful to optimize for in AdWords, without having to change any tags on our site. We could tell that optimizing to Smart Goals was working, because we had higher sales than usual across our channels during the testing period."
- Richard Bissell, President/Owner, Richard Bissell Fine Woodworking, Inc
How Smart Goals Work
To generate Smart Goals, we apply machine learning across thousands of websites that use Google Analytics and have opted in to share anonymized conversion data. From this information, we can distill dozens of key factors that correlate with likelihood to convert: things like session duration, pages per session, location, device and browser. We can then apply these key factors to any website. The easiest way to think about Smart Goals is that they reflect your website visits that our model indicates are most likely to lead to conversions.
Step 1: Activate Smart Goals in Google Analytics
To activate Smart Goals in Google Analytics, simply go to the Admin section of your Google Analytics account, click Goals (under the View heading) and select Smart Goals. The highest-quality visits to your website will now be turned into Smart Goals automatically. No additional tagging or customization is required; Smart Goals just work.
To help you see how Smart Goals perform before you activate them, we�ve built a Smart Goals report in the �Conversions� section of Google Analytics. The behavior metrics in this report indicate the engagement level of Smart Goals visits compared to other visits, helping you evaluate Smart Goals before you activate the feature.
![]() |
| Click image for full-sized version |
Step 2: Import Smart Goals into AdWords
Like any other goal in Google Analytics, Smart Goals can be imported into AdWords to be used as an AdWords conversion. Once you�ve defined a conversion in AdWords, you�re able to optimize for it.
![]() |
| Click image for full-sized version |
Step 3: Optimizing for Smart Goals in AdWords
One of the benefits of measuring conversions in your Adwords account is the ability to set a target cost per acquisition (CPA) as opposed to just setting a cost per click (CPC). If you aren�t measuring actual conversions today, importing Smart Goals as conversions in Adwords allows you to set a target CPA. In this way, you�re able to optimize your Adwords spend based on the likelihood of conversion as determined by our model.
Smart Goals will be rolling out over the next few weeks. To be eligible for Smart Goals, your Google Analytics property must be linked to your AdWords account(s). Learn how to link your Google Analytics property to your AdWords account(s) in the Analytics Help Center or the AdWords Help Center. Note that your Google Analytics view must receive at least 1,000 clicks from AdWords over a 30-day period to ensure the validity of your data.
Posted by Abishek Sethi (Software Engineer) and Joan Arensman (Product Manager)
download file now
Monday, September 11, 2017
Start Button Fixer Just Use This Soft Miracle Box Crack 2 27A Start Button not Working Solution 100 Tested
Start Button Fixer Just Use This Soft Miracle Box Crack 2 27A Start Button not Working Solution 100 Tested
Start Button Fixer - Just Use This Soft Miracle Box Crack 2.27A Start Button not Working Solution 100% Tested

First in the world solutions delete handle.ini from this path
C:Usersuser nameAppDataLocalVirtualStoreProgram FilesMiracle BoxBOX_Data
C:Usersuser nameAppDataLocalVirtualStoreProgram FilesMiracle BoxBOX_Data
__________________________________________________
Watch This Video Tutorial To Fix Miracle Box/Miracle Eagle Eye
Start Button Hide/Not Working Life Time 100% Working Solution
and you can set manual handle file just copy and paste
"
[Multifalge]
Multi-com=COM1
Multi-cnt=0
system=0
[update]
dates227=5/10/2016
dates=5/10/2016
[bFONT]
FONT=80000008FFFFFFF409086002??
bCOLOR=00FFFFFF
[Mainset]
logs=1
Addver=1
Skinfile=D:ALL BOXMiracle_boxCrack2.27AMiracle BoxThemeMiracle_octopus.asz
download file now
Saturday, September 9, 2017
Use Facebook Messaging Without Installing Messengerapp – Moded Facebook App with built In Messenger
Use Facebook Messaging Without Installing Messengerapp – Moded Facebook App with built In Messenger

Remember the time when we introduced our first trick to use Facebook Messaging in officialapp?
Here�s a new method to do just that!
With this, you can dowhatever your Facebook app. Plus message your loved ones in Inbuilt messaging. Say goodbye to Messenger
Steps :-
1.Uninstall your old Facebook app
2. Download and install moded Facebook Apk and Start messaging Apk
Version : 97.0.0.0.18
Note :- Works with Arm Devices on 4.0+Only
If you face any installation problems, This app was not made for your phone.

Click below for download

download file now
Use Case Testing
Use Case Testing
Use case testing is basically a Test Designing technique. Use case contains the steps, this steps explains how the actor (which may be anything like user, client or other devices or system.) interacts between the applications. So this use case cover all the functional requirement of the application. It has two parts one is main scenario and other is exceptional scenario.
We will discuss some examples.
Use Case Name: Bike driving
So the use case name is Bike driving
Actors and System: Driver (user) and Bike
The actor are user and bike who are going to interact between each other.
Prerequisite:
- Bike should have fuel.
- Driver should know the driving.
- Driver should have the Bike Key.
These are the list of prerequisite, bike should have fuel, and without these bike won�t run and other prerequisite is user should know the driving otherwise he will collide or crash on something.
How user case is show the interaction between the driver and the bike below are the normal flow and alternate way or alternate work flow. The difference between these two flows are in normal work flow nothing will go wrong, everything will happen as per the flow it�s something like the testing the application with the positive flow. And in alternate flow something can go wrong.
Normal Flow:
- The driver will sit on the bike.
- The driver remove the stand.
- The driver put the keys.
- The driver spin the key.
- The user will press start button to start bike
- The bike will start.
- The speedo meter will start.
- The driver pull the clutch.
- The driver will press the gear by foot.
- The driver will start releasing the clutch slowly slowly.
- The bike will start going forward slowly slowly.
- The driver will release whole clutch.
- The driver puts second.
- The bike will start gaining the speed.
- The driver will put 3rd gear bike will take more speed.
- The driver increate accelerator.
- The driver will put 4th gear bike will take more and more speed.
- The driver will decrease the gear 4th 3rd 2nd 1st neutral.
- The bike will start reducing the speed.
- The bike speed will become zero.
- The driver spin the key.
- The bike will stop and shut down.
- The use case ends with success.
This is the normal flow and steps of interaction between the driver and the bike. Here thing is correct. But in alternate work flow, something goes wrong, see below are the alternate work flows.
Alternate Work Flow (Negative flow):
When there is not fuel in bike : the after step 5 the step 6 will be as follow
Alternates steps:
Step 6. Bike will not start.
Step 7. User case will ends with failure.
When user enters wrong key : then bike will not start and keys will not spin
Alternates steps:
Step 4. The Driver enters wrong key.
Step 5. The Driver tries to spin the key.
Step 6. The bike will not start.
Step 7. Use case will ends with failure.
When there is no battery backup : so after pressing the starter the bike will not start
Alternate Steps:
Step 6.The driver will press the start button.
Step 7.The Bike will not start.
Step 8.The Use case will ends with failure.
There may be the more alternate ways, this is how use case look like. After creation of use case tester has to write the test cases for this use case. Mostly preferable is that write one test case for each flow, means one test case for normal flow and one test case for each alternate flows. That would be enough the cover all the requirements.
download file now
Tuesday, September 5, 2017
Use Robotium to test Android Image Buttons
Use Robotium to test Android Image Buttons
As it is common that most of the Android developers will use Image Buttons instead Text buttons, it is important criteria to test Image buttons.

Robotium has support for Image Buttons. The following APIs can be used to test Image Button functionalities,
Explanation :

Robotium has support for Image Buttons. The following APIs can be used to test Image Button functionalities,
- getImageButton(int index)
- clickOnImageButton(int index)
Test case for Image Buttons :
Steps :- Click on the Image Button �Alarm�
- go back
- Click on the Image Button �Music�
1: public void testCheckBoxes() throws Exception { 2: solo.waitForActivity("AlarmPlusActivity"); 3: 4: //click on Alarm Image Button 5: solo.clickOnImageButton(0); 6: assertTrue(solo.searchText("Add alarm")); //this text appears in the next activity 7: //go to previous screen 8: solo.goBack(); 9: //click on Gallery button 10: solo.clickOnImageButton(1); 11: 12: }Explanation :
- Click on Image Button : �solo.clickOnImageButton()�, is used to click on the Image button, which accepts only index number as argument.
- Return to Previous screen, �solo.goBack()�, is used to go to Previous screen.
- index of the Image buttons increase from Left to Right. Alarm button has 0, Gallery button has 1 and Home button with index
download file now
Monday, September 4, 2017
Use Robotium to test Android Progress bar Seek bar and Rating bar
Use Robotium to test Android Progress bar Seek bar and Rating bar
Robotium Supports various functions to support Progress bar, Seek bar and Rating bar. it uses the following functions to support these views.
Let us see one example Test case to the sample project shown on the Right side,
Explanation :

- getCurrentProgressBars()
- setProgressBar(int index, int progress)
- setProgressBar(android.widget.ProgressBar progressBar, int progress)
Let us see one example Test case to the sample project shown on the Right side,
Test case for Progress Bar :
Steps:- Set the Progress bar status from Zero to High
- Set the Seek bar position from Minimum to Maximum
- Set the Rating Bar from 1 start to 5 stars
1: public void testProgressBar() throws Exception { 2: 3: solo.waitForActivity("MainActivity"); 4: // set the Progree Bar Status 5: solo.setProgressBar(0, 10); 6: solo.setProgressBar(0, 20); 7: solo.setProgressBar(0, 30); 8: solo.setProgressBar(0, 40); 9: solo.setProgressBar(0, 50); 10: solo.setProgressBar(0, 10); 11: // set the Seek Bar Position 12: solo.setProgressBar(1, 10); 13: solo.setProgressBar(1, 20); 14: solo.setProgressBar(1, 30); 15: solo.setProgressBar(1, 40); 16: solo.setProgressBar(1, 50); 17: solo.setProgressBar(1, 10); 18: // set the Rating Bar status 19: solo.setProgressBar(2, 2); 20: solo.setProgressBar(2, 3); 21: solo.setProgressBar(2, 5); 22: solo.setProgressBar(2, 7); 23: solo.setProgressBar(2, 9); 24: solo.setProgressBar(2, 10); 25: }Explanation :
- Set the Progress bar and Seek bar position : �solo.setProgressBar()� is used to set the position of status bar, the position has to be specified in Integer number say 10,20,30,40 so on.. i hope max value is 100. just, try with different numbers and see the change in position.
- Set the Rating bar : �solo.setProgressBar()�, is used to set the Rating bar. use the numeric value from 1 to 10.
- Since there are 3 similar items(Progress bar, Seek bar and Rating bar), index will starts from 0 to 2.
download file now
Subscribe to:
Posts (Atom)

