Spectron available methods doesn't work properly - electron

I'm using spectron on webdriverIO and try to avoid client.pause() method to wait and used client.waitForExist, waitForWindowLoading, waitUnitlText but the application closes very quick and I don't want to pass the implicit wait
can someone guide me towards the right direction to achieve it?
Many thanks in advance

I think you can not use webdriverio apis directly. You may have to be using the apis from Spectron which are listed in the below link.
https://github.com/electron-userland/spectron#clientwaituntilwindowloadedtimeout
Here is another link.
https://github.com/eostrom/spectron/blob/webdriverio-5/test/commands-test.js

Related

Is there a way to find if the user is typing while the app is in background in ios?

I understand it is not possible to get touch events that happen outside the app. But I wanted to know if there is any other way to detect this. It is possible to detect a dragging action from outside the app. I was wondering if something similar can be used? Any help would be great!!
There may be security and app review concerns caused by this but contrary to popular opinion, it is not "impossible". Try following:
Use Appium java API. First launch a dummy app, then call
driver.back() and from there, you will have full control.
There is this this tool called Seetest. They somehow do these touch events without Jailbreak. Check this out: youtu.be/RkSp8u-TzII?t=1m30s

Vicidial direct call in my web app

I need to implement direct call feature via vicidial in my web application.
Let me explain the flow to better understand what I need to do. user would be able to login in vicidial via a webpage of my app. then can call on any number by entering number.
Is there any doc or wiki available to implement this feature. Guidance in simple steps would also be appreciating.
Thanks in advance :)
We implemented something like that using a product called WombatDialer that offers good APIs and is quite easy to set up (well, easier than ViciDial).
See http://www.wombatdialer.com/manuals/WD_UserManual-chunked/ar01s08.html for an API reference.

How to edit standard class of android?

I am trying to build an app which acquired information from WiFi Access point, however, this information is not a standard information. i am transmitting additional information from the access point. Now to receive this information, i need to modify the class "WifiInfo." I am not sure how can I do it. I tried googling it, but no luck.
Is it possible to do this?
If yes, How,
Can I do this using any alternate way?
Thanks in advance for your help. :)

Calendar needs cannot be meet?

My needs are reasonably simple but I cannot seem to find a working solution. Any help is greatly appreciated. I don't want to start implementing something from scratch if I can use a open source solution that is well stablished and I can eventually contribute in some way.
My Requirements
1- I need to have all events stored in the database so I can fetch them (and their content) with a background process for manipulation. I will process all events once/twice a day for any given day. Processing mainly consists of sending out reminders etc.
2- I need to allow recurring events.
3- I need custom forms and application specific custom fields for all events.(this seemed to leave google calendar out)
4- UI needs to display events depending on user logged in.
5- all day events not required
What I have looked at so far:
FullCalendar: Seems the most plausible although I haven't yet figured out how to accomplish #3 above.
event_calendar: I have no idea how to implement recurring events efficiently using this solution. It seems like I would have to implement it from scratch using iCal's standards etc. Does not sound like fun. Any suggestions here?
Ice_Cube: This would potentially help with the event_calendar recurring event implementation.
I have not worked with calendars before so I might be missing something really simple. Please let me know your thoughts.
Env: Rails 3.1, looking for gem/plugin/JQuery solution. If not found will try to implement from scratch. =) Thank you for your help.
Check dhtmlxScheduler, it solves all above requirements.
Also, there is a ROR integration sample

How to cause standard dialogue of properties of service?

(Example: start services.msc, click 2 times on any service)
If it is possible an example on delphi, please
David is probably right ;-) In any case, whatever you want to do with services programatically will probably involve the use of the Service Control Manager API
http://msdn.microsoft.com/en-us/library/ms684323%28v=vs.85%29.aspx
and here's another SO question that might help you further
How can I disable a service via Delphi?
and here's some old code that gives you a head start
http://www.swissdelphicenter.ch/torry/showcode.php?id=1322
As far as I am aware, there is no official programmatic way to show the services control panel UI to the user.
Consequently I believe that you must look for another solution.

Resources