Metadata file We just wondered, if we should write about it. Anyway it's important part of this release. Metadata file contains list of all activities, actions and screenshots. This is very helpful for displaying results in the cloud, which will be improved soon. We hope, it helps you better understand test execution and faster check, what went wrong. This file is created during the test. It needs permission to write on SD card, otherwise this feature will be unavailable in the cloud. For now it looks like this: Recording clicks on Edit TextsNow you can set in preferences page, if you want to record clicks on Edit Texts. By default it's disabled, because a lot of applications don't need it to proper test execution. Anyway, if you really need it, just go to Window -> Preferences -> Testdroid -> Recording and check "Record clicks on Edit Texts". For more help go to Recorder Preferences - Help.
New commands for manual usage [note]For this command you need permission in your application:<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>[/note]
Example:[sourcecode language="java"] extSolo.setGPSMockLocation(50.000000, 50.000000, 700.00); [/sourcecode]
Example:[sourcecode language="java"] extSolo.assertMemoryNotLow(); [/sourcecode]
Example:[sourcecode language="java"] extSolo.assertCurrentActivity( "Current activity is not BitbarSampleApplicationActivity", "BitbarSampleApplicationActivity"); [/sourcecode]
[note]For this command you need permission in your application:<uses-permission android:name="android.permission.READ_LOGS"/>[/note]
Example:[sourcecode language="java"] assertTrue("Wait for log message(message: log, timeout: 20000ms) - asserted failed.", extSolo.waitForLogMessage("log", 20000)); [/sourcecode]
Example:[sourcecode language="java"] extSolo.scrollToTop(); [/sourcecode]
Example:[sourcecode language="java"] extSolo.scrollToBottom(); [/sourcecode]
Bug fixes
"/>

Testdroid Recorder 2.8 is out!

Bitbar, the mobile devops company. Logo, large

Hi all,
after two weeks from last release we are ready with new one. There are few new features added. We spent a lot of time on implementing special metadata file with list of commands executed during tests, so at first glance it may seem that there are not much changes. We also fixed nice couple of bugs. The most important things are:

Metadata file
We just wondered, if we should write about it. Anyway it’s important part of this release. Metadata file contains list of all activities, actions and screenshots. This is very helpful for displaying results in the cloud, which will be improved soon. We hope, it helps you better understand test execution and faster check, what went wrong. This file is created during the test. It needs permission to write on SD card, otherwise this feature will be unavailable in the cloud. For now it looks like this:

Recording clicks on Edit Texts

Now you can set in preferences page, if you want to record clicks on Edit Texts. By default it’s disabled, because a lot of applications don’t need it to proper test execution. Anyway, if you really need it, just go to Window -> Preferences -> Testdroid -> Recording and check “Record clicks on Edit Texts”. For more help go to Recorder Preferences – Help.

New commands for manual usage

  • Set GPS Mock Location

[note]For this command you need permission in your application:

<uses-permission android:name=”android.permission.ACCESS_MOCK_LOCATION”/>[/note]

Example:

[sourcecode language=”java”]
extSolo.setGPSMockLocation(50.000000, 50.000000, 700.00);
[/sourcecode]

  • Assert Memory Not Low

Example:

[sourcecode language=”java”]
extSolo.assertMemoryNotLow();
[/sourcecode]

  • Assert Current Activity

Example:

[sourcecode language=”java”]
extSolo.assertCurrentActivity(
"Current activity is not BitbarSampleApplicationActivity",
"BitbarSampleApplicationActivity");
[/sourcecode]

  • Wait For Log Message

[note]For this command you need permission in your application:

<uses-permission android:name=”android.permission.READ_LOGS”/>[/note]

Example:

[sourcecode language=”java”]
assertTrue("Wait for log message(message: log,
timeout: 20000ms) – asserted failed.",
extSolo.waitForLogMessage("log", 20000));
[/sourcecode]

  • Scroll To Top

Example:

[sourcecode language=”java”]
extSolo.scrollToTop();
[/sourcecode]

  • Scroll To Bottom

Example:

[sourcecode language=”java”]
extSolo.scrollToBottom();
[/sourcecode]

Bug fixes

  • Improved searching WebView on screen
  • Fixed deprecated constructor in ExtSolo
  • Fixed selecting gen folder in wizard (should not be selected anymore)
  • Added country to locale in ExtSolo
  • Fixed problem with hanging the Recorder with Samsung Galaxy Nexus

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close