Bug report in appium

How does appium shows bugs in an app …i am using eclipse and if my app has a bug how will i know it

not a problem just enable “god mode” capability with driver start.

capabilities.setCapability(MobileCapabilityType.GOD_MODE, "true");

What does it do…i mean how does it shows the bug

@Vishnu, If this is done by appium, then i m sure all developers would use Appium and validate *.apk or *.ipa before releasing for testing. So in such case, why company would hire QA/Tester ??
Bottom line is Appium is not Nostradamus that can predict crash point of your Application.

lol…i understand that…Seems u haven’t understood my question…I asked whether there will be any bug report or error log appearing in eclipse or appium server logs if there is a bug…

It says GOD_MODE cannot be resolved or is not a field.

it is all depends on your code!

  • if you want to tap some element but it is not visible than after timeout test will stop any execution on this line.
  • if you want to check some text of element is correct you need manually do this in code e.g. with “assertTrue(“this test is failed”, string_1.equals(string_2))”

You can monitor your logcat or enable NSLOGs, appium has capabilities. But you need to write code to do so.

Thank You that’s what i was asking…:slight_smile:

oh ok…i got it now…Thanks

Try using :
Set logtypes = driver.manage().logs().getAvailableLogTypes();
System.out.println(“suported log types: " + logtypes.toString());
LogEntries logEntries = driver.manage().logs().get(“logcat”);
System.out.println(”======== Device LOGS ========");
for (LogEntry entry : logEntries) {
System.out.println(new Date(entry.getTimestamp()) + " " + entry.getMessage());