I am working on a retail software where i have to do automation testing of desktop application using selenium. How it can be done using selenium? And we have portal too in which some details are being updated. So the testing will be done for a desktop application and web application. i am fresher i this field and started learning new things. Please help me with this. Thanks in advance. i have completed automation of portal but there are details which are being updated to portal from software.
Selenium only works in a browser environment.
You could try out Sikuli to solve your problem
I don't think Selenium can do it. This software is tailored for web applications and it only runs in browsers. I've recently heard a lot about AutoIt, which is more appropriate for desktop applications.
Fortunately, there seem to exist ways to make Selenium and AutoIt work together. http://www.toolsqa.com/selenium-webdriver/autoit-selenium-webdriver/
Good luck with your issue
Related
I make these browser scripts in JavaScript and use them in tamper monkey or the console. I make these scripts for various tasks like automating different functions on websites that are not mine. I was wondering if there is a way to use these scripts without the browser but as a desktop application. I have heard about node.js and hopefully I can use it for what I want. I'm not really familiar with node.js but use applications made by node.
Thanks!
nodejs isn't really what you are looking for even though what you are looking to do can be accomplished using libraries written for nodejs. Look into PhantomJS and Selenium (webdriver.io)
Currently speaking you can't do that with desktop applications made with Native APIs like .NET Windows Applications or Cocoa OSX applications, because what you're doing with TamperMonkey is manipulating the Webpage(DOM) which is usually not accessible, when it is there in desktop applications.
The only desktop apps you might be able to do that on, are Electron apps since they're using the DOM, if you have access to the dev tools in the app you can run JavaScript just like in Chrome dev tools.
Look into AutoHotkey for automating keystrokes and mouse clicks if you're on Windows, see if it might help you automate according to your needs.
This is going to be quite a hectic question and im hoping that you can all Bear with me.
Im having difficulty fully understanding some things about mobile App development.
So my Main question is : What is the difference between Telerik Platform and Xamarin ? Dose it just depending on what you are more comestible with, Like if you are a c# developer and know the .Net framwork, Then use Xamarin or is it alot more complex than that ? As i know that Telerik uses Javascript, so is it more of an open dev based mobile app ?
Which is better for the future of mobile development as i want to move in the right direction.
As an Extra: Has anyone heard of Dart ? i found out about it last week and haven't had much time to Read up on it, but it looks like a web based solution from google.
Dartlang
In Xamarin you can build native applications for Android and iOS system.
It is also possible to write them for Windows Phone.
Xamarin uses C# language.
Apps are created natively using Xamarin wrappers.
There are two options for creating apps in Xamarin:
1) Xamarin.Forms is best for:
Data entry apps
Prototypes and proofs-of-concept
Apps that require little platform-specific functionality
Apps where code sharing is more important than custom UI
2) Xamarin.iOS & Xamarin.Android are best for:
Apps that require specialized interactions
Apps with highly polished design
Apps that use many platform-specific APIs
Apps where custom UI is more important than code sharing
Telerik Platform is good for web developers who want to create mobile apps:
Here you can write html and javascript.
Remember also that your apps on iOS and Android will be displayed in WebView (browser). Only Windows Phone apps can be written in html and javascript natively.
Hope this will help.
Please also see this (I asked about Xamarin and Apache Cordova):
http://www.codeproject.com/Forums/13695/Mobile.aspx
All of the mentioned framework do the same thing in different ways, its totally depends upon your skillset and interest which framework you find easy to understand or find interesting.
Each of those have their market in which you can grow. below are some links may help you.
http://www.telerik.com/campaigns/build-mobile-apps-with-dotnet
https://forums.xamarin.com/discussion/13686/the-future-benefits-of-xamarin-over-other-options-and-mobile-apps-replacing-websites
Dart is a modern open source programming language that allows to write concise code
built-in support for async/await, Future (Promise), Stream (Observable), ...
Supports lots of platforms
Server with the Dart-VM (Windows, OSX, Linux)
in the browser after to-JS transpilation
Android and iOS by Flutter https://flutter.io/
embedded systems by Dartino https://dartino.org/
Dart can be transpiled to JavaScript (to-TypeScript is work in progress)
extensive high-quality standard libraries
dart:html library that for browser abstraction that makes most polyfills redundant
shipped with lots of tools
package manager
analyzer/linter
debugger and profiling tools
test runner
Dartium development browser
...
IDE support
easy integration using the IDE services the analyzer provides
Atom plugin
WebStorm/IntelliJ plugin
...
I'm creating a web application through ExtJs (Sencha Architect) and now I want to convert it into desktop application too!
I did create a runnable .exe for windows for My application through SDP (Sencha Package Manager) old version but it is trial version so I'm not able to run it any more! And Sencha also discontinues SDP for sale anymore.
I want to convert My web application into desktop runnable application for multiple platforms (i.e. Windows, Mac, Linux etc)
So I'm confuse to change My web application into desktop runnable application?
Please help me, is there any solution for solving this problem.
Any kind of solution could be useful for Me, so please send Me any useful suggestions!
You are searching for node-webkit! It makes your web app like a native one, it runs on mac, windows and linux.
There is also appjs but it is not maintained anymore.
You can use Adobe AIR to do the same. It provides Platform independent support.
Please take a look at http://layersmagazine.com/adobe-air-turns-web-developers-into-desktop-developers.html
Note that your app should still be up and running in your Web server. !
I travel a lot by train, recently bought an android tablet and I would like to learn some javascript. I can read the books on my tablet, but I want to program on it as well. Is there a way to develop on the tablet? The solutions I have seen focus on developing on a PC and run on emulator/tablet, that's not what I want.
As long as you have an Internet connection you can use http://jsfiddle.net for testing snippets of code. You can also select a js framework to work with on the left navigator.
Are where any good frameworks for automated testing HTML5 apps?
I'm now writing an app which should work offline in iOS Safari and it would be awesome if there were some automated testing tools. I have no idea how to test cache.manifest properly, for example.
I'm using Backbone.js, by the way. That would be even better if the tool relies on it or interacts with it in a good way
Answering by listing a link is not always the best way to go, but hey someone did the work before me: http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with-jasmine-sinon.html
Jasmine.js to test
Sinon.js to mock