How to fix 'XCtests failing intermittently to launch app in the simulator' in Xcode 10 - xcuitest

When I try to run my test cases in simulator, I'm getting this error:
"Failure requesting automation session for com.name.name:61876:
Timeout waiting for fulfillment of promise for 'Requesting automation
session for com.name.name" when app launch time in Xcode 10.

It seems that before the app finish to launch/activate you are trying to perform another task in the app.
i.e trying to activate the app again

Related

Server error occurred at DriveApp.createFile

Every time I'm trying to manually invoke this test function in my script I get Server Error occurred. Please wait and try again (in a red bar on top of the editor window).
My original intention was to save a blob with createFile(blob) in my Web App, but it just fails with no error output, so I created this minimal test function.
function testgdrive()
{
var gdrive_file =
DriveApp.createFile("testfile","testcontents",MimeType.PLAIN_TEXT);
}
EDIT: This happens both on old Rhino engine and the new V8 engine as well.
The Web App is being deployed as a Google Sheets script on my basic (free) GSuite account.
It is a Google Cloud project, as I wasn't able to get any logs for Web App executions in the Standard mode at all.
For server errors such as
Server Error occurred. Please wait and try again
Creating/switching over to a new project may resolve the issue.

Error after build AIR for desktop

Is there a way to debug a application after it´s build?
It works perfectly in the IDE (Flash), when I build and execute, it just stop during the execution.
If you check the Permit Debugging option in the Publish Settings then you should be able to connect to the Flash debugger while running the app.
When you start the app you should see a message that it's trying to connect to the debugger in Flash go to Debug > Begin Remote Debug Session and it should connect to the app.

IBM MobileFirst 7.0 with Sencha Touch in Windows Phone 8.1 showing errors

I am using weinre is WEb INspector REmote for debugging IBM Worklight 7.0-sencha touch 2.4 App.
Tested in Windows Phone Emulator 8.1 WVGA 4 inch 512MB.
When Application Starts it Shows :
Local storage capacity reached. Client logs will not be persisted
LocalStorage Quota exceeded, cannot store -x- wmapp0: /www/default/css/app.css locally
LocalStorage Quota exceeded, cannot store -x-wmapp0:/www/default/app.js locally
ondeviceready event dispatched
wlclient init started
CookieMgr read cookies: {}
When We Call Worklight Adapter WL.Client.invokeProcedure Calls it Shows Errors Like:
WL.Utils.getSkinLoaderChecksum(..) should be supported only on environments that support direct update Error: WL.Utils.getSkinLoaderChecksum(..) should be supported only on environments that support direct update.
[/apps/services/api/myApplication/windowsphone8/query] exception. TypeError: Unable to get property 'notificationTitle' of undefined or null reference
Uncaught Exception: Unable to get property 'notificationTitle' of undefined or null reference at (compiled_code):3667
The first error has nothing to do with MobileFirst; if you're using localstorage in your app it seems you have over-used it.
The second error should not happen and sounds like a product defect. You need to open an IBM support ticket (PMR) and provide the following details: full version number (with build number), a test case app that reproduces the error.

Application Error: Application Launch was not detected for application App

When I was validation my Windows Store App I got the following error:
Application Error: Application Launch was not detected for application
App. This could be because your application failed to launch
correctly. Please consider re-running the test and avoid interacting
with the application while tests are running.
What does this mean? The app will not validate.
I thought it was a bit weird and I couldn't find anything when I googled it but people who had almost the same problem as me, though rather than launching it was failing to sleep. This was just plain odd.
I tried to launch the app from Visual Studio 2012 just to prove to myself that it did start properly and for some crazy reason it didn't work. I usually test the game on my Local Machine rather than the Simulator but now, for some reason, it was set to the Simulator and I have been having problems getting it to start lately (the simulator).
I changed it back to the local machine and ran the tests again. This time it worked.
So, if you get this error it might be time to see if your simulator works and if not, have the Local Machine set as default to run with.

Getting a Windows Store App validated for submission, if it starts out by asking the user to login to facebook?

I have made an app for Windows Store Apps that needs the user to log in to facebook for it to make sense. I use the Authenticaiton Broker and it pops up as the first ting when the app launches.
When i run the developer tools WACK tool , it fails :
Error Found: The crashes and hangs test detected the following errors:
Application 20055S-Innovations.FacebookFanApp_1.0.0.6_neutral__z1vybpgpdtf9j was detected by Windows Error Reporting and experienced a crash or hang.
I dont know if thats related to it using the authentication broker ? Because if I run it myself it works fine and I just login and the app works.