What steps will reproduce the problem?
1.If GPS is not there, then my application shows a dialog box saying GPS and
Network Provider are turned off with oK and Cancel buttons.
2.
3.
What is the expected output? What do you see instead?
Is it possible to test this scenario using Robotium?.
What version of the product are you using? On what operating system?
Robotium 2.5,OS-Windows 7,Windows XP
sdk version-4 using google api
Is it possible to automate using Robotium ?
Please provide any additional information below.
The original Source code is as below
@Override
public void dialogOk(Hashtable information)
{
if (activeDialog == MESSAGE_DIALOG)
{
isSettingsOpened = true;
Intent intent = new
Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
startActivityForResult(intent,
REQUEST_CODE_SETTINGS);
}
}
Original issue reported on code.google.com by itsme.va...@gmail.com on 3 Oct 2011 at 7:06
Original issue reported on code.google.com by
itsme.va...@gmail.com
on 3 Oct 2011 at 7:06