yashsingh1/xdaforums huggingface dataset:
[XDA-University] Ravi H Basawa:
Presents

Mobile Application Testing

Manual Testing

Contents:

1. What is Mobile Application Testing?

2. Difference Between Mobile Testing and Mobile Application Testing.

3. Mobile Application Extensions and Small intro about Android Platform.

4. How to Test a Mobile Application?

Automation Testing

Click on the below Topics to Lean Automation Testing.. :)

It will take only 2-3 days to learn If you are good at Java :cool:

Contents:

1. Robotium for Android Application Testing.

2. Monkeyrunner for Android Application Testing.​

Credits,

My Parents - For the best support.

[MENTION=5653911]Swaroop Bandagadde[/MENTION] - For the best support.

Renas Reda(Founder of Robotium Test Automation Tool) - For liking my tutorial and for the best support. :good:

jutikorn (My friend) - For the best support.
[XDA-University] Ravi H Basawa:
Mobile Application Testing

1. What is Mobile Application Testing?

​

It is somewhat similar to software testing but the testing will be performed on a mobile device instead of performing on a system.

Types of Mobile application Testing are:

1. Installation testing.

2. Functional Testing.

3. Memory Leakage Testing.

4. Interrupt Testing.

5. Usability testing.

6. Certification Testing.

7. Performance Testing.

8. Integration Testing.

9. System Testing.

10. Accessibility Testing.

11. Adhoc(Monkey) Testing.

The all above points will be discussed on "How to Test Mobile application?" Chapter.

2. Difference Between Mobile Testing and Mobile Application Testing.​

Mobile Testing

- Mobile Testing is testing of Mobile Handsets or Devices.

- Here we mainly concentrate on Native applications(Blot wares).

- Testing all the core like SMS, Voice calls, Connectivity(Bluetooth), Battery(Charging), Signal receiving, Network are working correctly.

- Testing is conducted on both hardware and software.

Mobile Application Testing

- Mobile Application Testing is the testing of mobile applications which we are making as third party for the targeted mobile handset.

- Some core feature of the mobile are tested just to see that your application has not created any side effects on the device functionality.
[XDA-University] saarav242:
It's very massive info, which you have shared with us.

I just want to know what's the meaning of Defect Detailed Report ?
[Nexus 5 Q&A, Help & Troubleshooting] Ghengis042:
Just got my N5 yesterday and I love pretty much everything about it. One tiny thing I miss coming from CM 10.2 on my old phone, is the ability to customize the "tiles" in the notification curtain. You know, when you do a 2-finger pulldown and it shows tiles to toggle wifi, airplane mode, bluetooth, etc... what do you call that anyway? Is there an "official" name for it?

Anyway, a few of my old favorites are missing, and there's no way I can find to change what's there. I'd especially like a "torch" (flashlight) toggle -- I used to use that all the time. I know there are some apps that can install a toggle bar at the top of the notification curtain in older Android versions, but it seems silly to have 2 separate groups of toggles, one on each "side" of the curtain, just because the one that's already there can't be customized, and I don't know how well those play with KitKat anyway.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
You'd need root. Why can't you root?

root + Xposed Framework + GravityBox Xposed module
[Nexus 5 Q&A, Help & Troubleshooting] Ghengis042:
I just spent a few hours setting up the phone, and it would be nice not to have to do all that over again when I unlock the bootloader (and thus lose all my data...). I guess it's only one evening's setup time, so not *such* a big deal, but the other thing is that I want to keep stock firmware / OTA updates if at all possible.

As fro Xposed, I have some concerns:

* I switched to ART just after getting the phone, because I read it improves battery life (Xposed has no plans to support ART in the near future)

* I've heard that it can have stability issues -- the reason I want OTA / stock is so I can spend as little time futzing with the phone as possible and just *use* it

* Xposed opens up some security issues, IMHO

I think if it comes down to root + xposed or just using a "plain" widget, I'll probably go with the widget.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
Correct. For me, the experimental ART feature is not worth losing Xposed for.

No stability issues here

Based on what information?
[Nexus 5 Q&A, Help & Troubleshooting] Ghengis042:
You didn't address the setup-time issue -- that's one of the big ones for me. I usually have at least 40 apps installed (and yes, I actually use them!) and reconfiguring them is time consuming. I *could* futz with Titanium Backup or similar to automate some of that re-setup process, but I'd rather just avoid it in the first place if possible.

Good to hear, at some point I might still investigate -- it's going to come down to how much customization / tweaking I really *need*.

I guess it's about as "dangerous" as rooting -- basically, Xposed gives modules carte blanche to do absolutely anything on your phone, and since the modules aren't distributed through a controlled / centralized store (like Google Play) and as far as I can tell aren't (always) open-source, I don't have any way to be sure they're not doing something malicious. Of course there's a bunch of other attack vectors, but installing a framework that touches every corner of the device, that then runs scripts / mods that I downloaded from some forum somewhere (no offense, guys!) on a phone that holds sensitive personal data... it just worries me a bit, y'know?
[Nexus 5 Q&A, Help & Troubleshooting] BirchBarlow:
What he said.
[Nexus 5 Q&A, Help & Troubleshooting] danarama:
I didn't think it needed addressing? Yes you'll lose everything as we all did. You can backup with Helium to an extent. Maybe even it backs up everything. I have 300+ apps

Xposed modules are still apk's and list permissions as you install them. The same sense applies as installing any apk. Read the permissions, consider the source and either install it or not. The framework doesn't touch every corner of the device. It runs everything in isolation (which is the whole point of it) but yeah that's not really relevant.

All the xposed apps are distributed via XDA, google Play or teh Xposed repo http://repo.xposed.info/module-overview - if something malicious was going on, the module wouldn't exist.

Anyway I'm not here to convince you to install it. There aren't any apps that do it though.
[Nexus 5 Q&A, Help & Troubleshooting] Hammer_Of_The_Gods:
Hi,

Maybe not all will be functional without root but take a look at this app: https://play.google.com/store/apps/details?id=de.j4velin.notificationToggle or https://play.google.com/store/apps/details?id=com.painless.pc.

Try these apps to see what you can/can't do with the quick settings without root.

But like it has been said, rooting your device is the best way to have (almost) all what you want.

:)
[Nexus 5 Q&A, Help & Troubleshooting] Ghengis042:
Do you know if installing a settings bar on the curtain like this will interfere with... what's the term? Extended notifications? Some apps (Pocket Casts is the first that comes to mind) will show media controls (play/pause/skip) in the notification tray, but only if they're the first entry in the list -- if anything comes above them, you can't use the controls. Is that a problem with these apps?
[Nexus 5 Q&A, Help & Troubleshooting] Hammer_Of_The_Gods:
Re,

I'm sorry but I don't know (not tested and I'm rooted)... The best is to test by yourself and see. I just provide you a link to try to help... ;)

:)
[Nexus 5 Q&A, Help & Troubleshooting] PhilipTD:
Well that doesn't sound like much fun at all.
[Nexus 5 Q&A, Help & Troubleshooting] arvindgr:
Yes, TB Backup's fail when I backup 400+ apps and want to restore them altogether. Who would click Next and Install for 400+ times!!! For your point, ADB backup's are slow they really help for Unrooted devices and Guaranteeing safe apk+app-data for sure...
[G2 Q&A, Help & Troubleshooting] noris08:
i have the international 802 version of the g2 and i followed this guide by the letter, trying to unroot my device

although the root checker says in not rooted and SU doesn't work, when i put my phone in download mode status ROOTED written in red appears.

i did a factory reset, i also tried to unroot it with kingo, but with the same result.

can anyone please advise me how to get rid of the status ROOTED and go back to normal?

thank you very much!

PS:

if the answer is already here, please point me to it, because i can't find it by myself
[Windows Phone 8 Development and Hacking] hks25258:
1. This is mp3 files(or jpg,mp4....):

View attachment 2536040

2. Rename the file extension:

View attachment 2536041

3. Copy to your phone sdcard:

View attachment 2536042

View attachment 2536043

4. Run the program to search file:

View attachment 2536044

5. Change is complete:

View attachment 2536045

6. Restart the phone,View a list of songs.:fingers-crossed:
[Galaxy Note II Q&A, Help & Troubleshooting] king_of_grand:
Can any one upload Note 2 N7100 4.1.2 High Speed

Google Drive Link

N7100XXDMG1 this version required

as soon as possible
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] unluckypatron:
I recently got a SGH-i337 S4 as a gift from a relative, but i'm not sure if it was rooted. I checked with two apps, Root Checker Basic and Root Status, and they are saying my phone is rooted. I'll take these into consideration, but I am not able to contact my relative to ask if they really did root it or not, and if they unrooted it.

Anyways, I want to flash my galaxy to the latest stock firmware, and I have downloaded the the MK2 tar files. Do i just proceed and connect my phone and press start, and then my phone will be essentially fresh-out-of-the-store firmware? Using Odin, I do not have to be rooted, so because of the previous ambiguity, am i able to use Odin without knowing for sure?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] NighthawkXL:
Yes, you can use the Odin files to update to MK2, but mind you there is NO way to ever go back to MF3. If you have any sort of need of custom rom's I recommend staying with MF3 until the MK2 branches grow some more. But if you plan on using the phone complete stock go ahead and upgrade, your still be able to reroot and get Safestrap your just have a small amount of TW 4.3 roms.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] hednik:
A few questions. Do you know what firmware you are on right now ? Is it MF3 or MDL ? i only ask because with MDL you are able to try out MK2 firmware (not using odin) instead of having to use Odin to flash the firmware.

I was unable to determine from your post if you want it rooted or not. If the app says you are rooted then you more than likely are. Is there a superuser app on there or superSU ? If you aren't interested in being rooted then I suggest you avoid odin to update and go the Kies way to update to the new firmware.

Let us know your intentions so we can best help. Thanks !
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
Hi I have a just got a MAXX and updated to 4.4 without root. I found that my battery is not staying up as long as it should, it lasts for like 18 hours. The following are the details:

- Canadian user, Fido sim card, exceptionally bad reception (3 bars tops indoors) (My Phonto Q / Razr Maxx gets full bar when I plug in the same sim card)

- Screen On time at about 3-4 hours

- Rarely turn on data

- Rarely Game on Phone

- Non-rooted

- I keep wifi turned on, connected most of the time

- Use apex launcher instead of MotLauncher

- Active Display, Touchless Control on

- Location Services are in "Battery Saving Mode" (Meaning the phone uses wifi and mobile network to estimate location)

Is anyone else experiencing the same problem? If so, is there any solution? I see a similar thread made early but that is for the Ultra, and even the ultra got around 12 hours of discharge time

Edit: So far based on doogald 's reply, I suspect its the poor reception thats draining the battery, the following photos shows the reception differences across different devices with the same sim card

Droid Maxx XT1080 with fido sim card (KK Stock w/o root)

Razr Maxx XT910 with the same fido sim card (ICS Stock with root)

Razr Maxx XT910 with the same fido sim card (KK CM11 with root)

Photon Q XT897 with the same fido sim card (JB CarbonRom with Root)
[Droid Ultra Q&A, Help & Troubleshooting] Khanusma:
How long have you had 4.4? When I have updated or changed ROMs, it seems that it takes the software a little bit of time to catch up getting to know the battery.
[Droid Ultra Q&A, Help & Troubleshooting] doogald:
That's a little more drain than I would see for the same screen on time. Bad signal will definitely drain a battery faster. Forget about stupid bars - what is your signal in dBm? (Settings->more (under Wireless & Networks)->Mobile networks->Network type & strength. Also in settings->about phone->Status->Network type & strength).

The number will be negative. For GSM or CDMA, anything less than (more negative) than -100 dBm is a bad signal and the phone will amp up the antenna to try to pull in signal.

Based on your battery screenshots, though, it's probably not bad signal - I think "cell standby" would be a higher drain if that was the case.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
I have had 4.4 for exactly 10 days now, i think everything should be settled by now

My signal is around -97dBm, and it jumps from that to No Service. I dont understand why this phone have such terrible reception though. I had two other phones try the same sim card and they have excellent reception.
[Droid Ultra Q&A, Help & Troubleshooting] Khanusma:
Got ya. I have been having poor Bluetooth connectivity. People have been complaining that can't hear me well. Phone reception send to be poorer as well :(.

Can't comment on battery.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
So will you say the phone have a bad reception in general? Or is it just because I am not with Verizon and its being s b**** to me ?
[Droid Ultra Q&A, Help & Troubleshooting] Khanusma:
I couldn't say I had problems before.
[Droid Ultra Q&A, Help & Troubleshooting] livinitwarrior:
Question- are you rooted and using xposed framework? Things that heavily mod the stock system, like GravityBox or Xblast can easily have that affect. Even smaller things like the smooth progress bar can hit it. The more changes, the harder the system has to work to keep up
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
as stated, this device is not rooted
[Droid Ultra Q&A, Help & Troubleshooting] livinitwarrior:
whoops. missed that, sorry
[Droid Ultra Q&A, Help & Troubleshooting] jjlangen:
Any change in this? Have the same thing on my Mini, haven't been able to figure it out yet.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
nothing happening yet~
[Droid Ultra Q&A, Help & Troubleshooting] hawkswind1:
I have terrible reception at home and work and am getting 7 or so hours of screen on time. Constant switching between 4g/3g and sometimes to 2g.

I'd suggest trying a program like betterbatterystats or similar to see if there's a wakelock keeping the phone from going into deep sleep mode (processor shuts off) when the display is turned off. Also cpuspy will show you if it's deep sleeping. It won't deep sleep while charging btw, this is normal.

For me the problem was the Facebook app. I disabled it and not only did my battery life significantly improve, but so did my productivity :) Info about wakelocks, if you're interested - http://developer.android.com/reference/android/os/PowerManager.html

Pain in the butt but there's always the factory reset option too.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
PowerMangerService.wakeLocks and radio-interface is keeping the kernel awake??/
[Droid Ultra Q&A, Help & Troubleshooting] naixx:
Having the same issue. 4.4% per hour
[Droid Ultra Q&A, Help & Troubleshooting] BladeRunner:
PowerManagerService.wakelocks is the sum of all your partial wake locks, so you need to look at your partial wakelocks
[Droid Ultra Q&A, Help & Troubleshooting] TerrorTodd:
Not sure why this worked, but it did. At least through one day of testing ;)

I ready elsewhere on Droid X forum someplace I think about draining the battery completely until your phone shuts off and then recharging. It's supposed to re-calibrate it. Sounds sketchy at best I know, but it seems to have worked!
[Droid Ultra Q&A, Help & Troubleshooting] tecsironman:
I did this with my ultra followed by charging to full and did a factory reset. My phone seems to be normal again.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
It doesnt show my partial wakelocks, when i select that option, nothing shows up

i tried that, doesnt help
[Droid Ultra Q&A, Help & Troubleshooting] BladeRunner:
try using the wakelock detector" app
[Droid Ultra Q&A, Help & Troubleshooting] an21281:
Yes this works and is the best way to calibrate the battery, I do it once a month... Drain till it powers off, charge the phone off to 100% and turn on.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
I didn't think calibration is the problem here, as the topic and the screenshot suggest, the Android OS usage is abnormally hiigh
[Droid Ultra Q&A, Help & Troubleshooting] spiral777:
battey

one thing that helped me was go into settings, than developer options...and scroll down to background process limit....(dont need root)

i havent known this to effect anything...and i dont know what the standard limit is...but i changed it to at most 3 processes...instead of the standard limit
[Droid Ultra Q&A, Help & Troubleshooting] naixx:
Guys, thats awful. Airplane mode + wifi. Kitkat 4.4 rooted.

73% by Android OS.
[Droid Ultra Q&A, Help & Troubleshooting] Y_Yan_C:
its because changes in 4.4 doesnt allow phones without root to assess wakelock info, there is a guide

https://docs.google.com/presentation/d/1r3VlhZIZVSufZlAeICJet6QBtyAF7z06_ysl1kUKME4/mobilepresent?pli=1#slide=id.p

EDIT: oh nevermind, i dont think it works on our phone
[Droid Ultra Q&A, Help & Troubleshooting] Jumnhy:
Interesting. Yeah, doesn't appear to work on the Moto phones. I see from the screenshot above that "suspend_backoff" is the wakelock causing you issues-which is interesting. I had the same problem, and just got my battery life back today by changing a setting in WiFi. Go to WiFi>Advanced>Wi-Fi frequency band and change it from "Auto" to 2.4GHz only. That worked for me--although I have ongoing questions as to whether it messed up my voice inputs. Will update if I learn anything more!
[Samsung Galaxy Grand Quattro] Mr.Wanted:
Everything is stored in the internal storage. So I hav only 500mb left. I cant move my apps to SD card. It says "the device does not have a real primary external storage" I have tried apps2sd and rom toolbox. My phone is rooted. Can anyone help me with this?
[Samsung Galaxy Grand Quattro] mysteryno46:
You need to Root for avail this feature

If you want to avail this feature to move apps data to sd card you need to root the phone(Use kingo app for rooting) and install gl2sd app from playstore.

This app will copy the huge data of bigger games and few apps to sd card. That way you will be able to free up lots of space. You can then install many heavy data games on your phone and enjoy. :D

But yes you have to root the phone first. If you're afraid of warranty, then don't worry you can make the status back to official and get the warranty back. There a tool called triangle away to do that. So, if you want to have this feature then root. Go ahead and try if needed and enjoy. Cheers ! ! !:good:

Let me know if any issues. :)
[Samsung Galaxy Grand Quattro] Mr.Wanted:
My phone is rooted already. Installed that app and trying it out.! Files are currently being moved. I will let u know if it worked in 5-10mins :)

EDIT : Thanks dude. worked like a charm :D
[Samsung Galaxy Grand Quattro] mysteryno46:
Don't forget to thank

I hope do you know what I mean. :p If I help hit the thanks button there below. :D

Let me know if any other help needed. Might reply a little late but surely will. :cool:
[Samsung Galaxy Grand Quattro] Emjayq4:
Out of Space : Unable to install some apps

Hi everyone!

Pardon me, I'm just new here, I signed up bcoz I'm losing hope now.

I'm having issue installing "some" apps on my phone. (some are installing)

Search and tried TS steps found online to no success.

TS steps done:

Restarted the phone

Clear Cache on the recovery mode

Clear cache on each application through setting>application manager

Clear cache using android assistant

Tried the MMI code *#9900# and deleted dumpstate/logcat

Deleted the "mysterious large file" .thumbdata

Checked and deleted some odex files

Checked and deleted files under android/data

Installed Lucky patcher (no troubleshooting option)

Unable to install logcat

Unable to search appslib or app-lib

Phone information:

Galaxy grand quattro

Not rooted, stock ROM

phone memory : 1.74GB/ 5GB

SD card 1.5GB/ 32GB

Running process (under applct'n manager): 662MB used, 219MB free

RAM status : 568MB/845MB

I can just reset my phone to factory default but that's just avoiding the problem, I would like to resolve the root cause of the problem. (without rooting the phone)

I believe that we can resolved this issue.

Thank you in advance.
[Samsung Galaxy Grand Quattro] windowsvistas:
Root You Device First

First of all make your phone rooted (then only you can delete modify files) use odin to flah CWM recovery and install superSU with CWM, some apk need root access ( like lucky patcher, root explorer) then use root explorer and go to sdcard/andriod /data and delete only the files which are not working and then try to install them it will work.

Here is the link to rooting :

http://xdaforums.com/showthread.php?t=2494471&nocache=1
[Android General] rashad543:
hello every one

i have a chinese galaxy s3 mini ( copy or faked phone )

its stuck at android logo and i can inter to a stock recovery only ,

so how can i make it work ? installling a firmware or a rom ? i doesnt care about a version i just need it to work again

My regards
[8125, K-JAM, P4300, MDA Vario General] 1-2tje:
The battery icon in the topbar of new ROMs bothers a lot of people on this forum! Levenum has posted in his topic in the 'development & hacking' section a (partial) solution to our problem! His program works! But covers also the volume indicator :( For now: congrats to Levenum!!!

screenshot:

topic with cabfile in first post:

http://xdaforums.com/viewtopic.php?t=45084&postdays=0&postorder=asc&start=0[/url][/img]
[8125, K-JAM, P4300, MDA Vario General] JNGold:
Wow that's great. However, I am sure that most don't want to do an addition by subtraction. Hopefully, somehow this can be tweaked even further to just cover the battery and not anything else.
[8125, K-JAM, P4300, MDA Vario General] ZeBoxx:
Yeah.. moreover.. I think most people want to get rid of the battery and put the standard time back there, rather than essentially 'skin' the taskbar by slapping a clock on top. You may also wonder what happens, for example, when using MagicButton - does it cover up the Magic Button bar if it's set to "entire taskbar" ?
[8125, K-JAM, P4300, MDA Vario General] ppcding:
it works also well with MagicButton.......
[8125, K-JAM, P4300, MDA Vario General] mccune:
Works for me :D No problems with Magic Button so far.. ..the time is nicely hidden when "Cover Full Title Bar" is selected ;)
[8125, K-JAM, P4300, MDA Vario General] 1-2tje:
For as long as there is no other BETTER solution to the taskbar time problem,

I

think this is

the best way for now

. You're free to develop a tool yourself but i'm verry gratefull to Levenum!
[8125, K-JAM, P4300, MDA Vario General] ZeBoxx:
wooo, calm down :P I'm sure it is the best solution for now, and I'd be happy to use it if I were on the AKU2 rom and it doesn't interfere with other things too much :)
[8125, K-JAM, P4300, MDA Vario General] juiceppc:
definitely can't knock people for trying. we need more of that. for me losing the volume icon isn't that big of a deal but what does this cab actually do?