How to automate Mac desktop gui automation - macos

Till now all the queries i posted on stack got very quick response thanks to every one.
Suppose i have installed gui application on mac platform and that gui when i click button like connect or any action i do , it will interact with the server.
So above action on windows if we do we use autoit for client side operations, similarly i would like to know on mac platform
I came across stack forum few suggested ldtp driver or atomac , pyautogui (but mouse position based on x y which are uncertain). Is it correct one? Does it support all versions of mac? And now instead of writing multiple client side code for windows,mac,linux i want for cross platform too.
I tried atomac but unable to acess child pop window from parent window.
app.windows()[1].findAllR() returns indexerror
Please kindly help me on this. Advance thanks
I posted same question several times its closed as duplicate. So reposting question
Regards,

this interaction that you need with the Server, I'll recommend the Back4App and the amazing service provided. For now, you can check the Parse Server Documentation to macOS and after you just need to replace your keys and the ServerURL pointing to the Back4App side, the correct serverURL is https://parseapi.back4app.com/.

Related

How can I make unlimited windows using Xcode when developing a Mac app?

I am trying to develop an application for the mac however I am having issues trying to make multiple windows such as when you click cmd+N on safari.
I have tried looking for tutorials on how to do it however the closest I have got to be able to do this is just by creating a separate window by using this tutorial here: https://www.youtube.com/watch?v=Z1Erw7aP0EQ
If anyone knows how I can make unlimited windows using Xcode I will highly appreciate it!
Just write a NSDocument-based app, as described in Apple's docs. BTW, Apple's docs are always worth visiting together with the various tutorials you can dig up with Google.
That said, the document architecture works best if your window is going to contain something that can be viewed as a document. If the Open... (and maybe Save...) menu items make sense for your data, then you'll likely be fine with the document architecture, otherwise you should be prepared to jump through a few hoops to tweak the architecture to your needs.

Safari website notification not working (PushSharp)

I'm using PushSharp library for pushing iOS notifications (it's live for last half year) and now I'm trying to extend functionality to new Mac OS Maverick feature (https://kandutech.net/) . Seems that PushSharp (https://github.com/Redth/PushSharp) doesn't currently support this feature, so I extended PushSharp library myself.
Seems like URL (gateway.push.apple.com:2195) the same as for iOS Distribution, but the JSON payload is slightly different. I adjusted JSON format. Don't see other difference in Pushing process. Did I miss something?
Still can't make it works. I'm getting permission, device token, the pushing process on server side looks fine (no errors occurred), but nothing pops up in Notification Center. Any ideas?
It turns out that url-args must be presented even if no url arguments needed. I missed it. This payload works:
{"aps":{"alert":{"title":"GAGARIN","body":"POEHALI!!!!"},"url-args":[]}}
Decided do not remove the question, hope it can help somebody.

Selenium equivalent for Windows OS

Based on this post, I wanted to ask if there is any program in windows 7 available, that could record events like
Clicked start button
Launched Netbeans
Clicked Options
Entered Value
...etc?
And then play it again so that I dont have to reconfigure something everytime or many other use cases like that?
Thanks
p.s. I am being more specific here and no intention of duplicating any post.
Plenty.
Free, you can use an application like Sikuli It has great documentation and we currently use it for iOS and Android application automation.
Professional/Enterprise tools are available from the usual vendors, IBM Rational suite, HP's WinRunner that serve all sorts of purposes.

Control used in people hub app

I want to implement some thing like in people hub native app. I want to open some pop same like they using to select contact alphabetically. can some one tell me how should i start for that.
Try the long list selector from http://silverlight.codeplex.com/
In depth here - http://www.windowsphonegeek.com/articles/wp7-longlistselector-in-depth--part1-visual-structure-and-api
First question, why build an app that already exist nativly? Secondly your question is far too broad to answer properly, we cant tell you how to build an app.
I recomend going through the tutorials on the app hub to get you started. Here is also a free book that might help http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx

Remote Wipe application in android

Is there any Remote wipe application which will be working on deleting the data in Emulator by sending an SMS from other emulator?? I found some of the free applications in android market on Remote Wipe.. But they are not working..
Please let me know if any of the application is working on Emulator
Thanks in advance
Uday
There is just one remote wipe application I have come across.
I have been trying to write one such application myself but I believe the permissions required are 2nd level and 3rd level permissions (check this link and this link). Thats is the reason I am unsuccessful as yet. I believe that you basically need to sign the package with the same signature as the OEM manufacturer to be able to grant those packages to your device.
If by an stroke of luck you do happen to make one successfully, please let us know the permission you have used to make such a thing possible! =)
Regards
Shouvik
EDIT: Okay I supposed I am wrong. I believe in android 2.2 it is possible to remote wipe your. I have not completely understood how to implement the function or the class yet, I plan to work on it as soon as I can spare some time. :)
Reply:
Well I have been looking at the SDK for some time now, and I can confidently tell you below 2.2, I am pretty sure there is no way I know of to remote wipe your data. I have although read on the mailers list that there is a function that enables a third party client to create a remote wipe application as you may have seen in my post above. I have actually use my own port of android on a device and have just used the brick, but if I do come across any reference that can show how you could achieve what you desire, I would be happy to leave a post here. Regards Shouvik.
Links
http://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#wipeData%28int%
also for formatting the SD card I came across a permission that you can request, I guess you follow that you end up at the method.
http://developer.android.com/reference/android/Manifest.permission.html#MOUNT_FORMAT_FILESYSTEMS

Resources