Selenium (Java) and TestNG framework [closed] - selenium-webdriver

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am working on building framework using selenium (java) with TestNG for Web a based application. Since I'm pretty new to all this , can any body suggest or provide any information how can I proceed or what things should I take care of?
Thanks in advance!!

Your question is too broad. Please ask specific questions.
As you have mentioned you are using testng. For making different suites use testng.xml, you may check testng.org, you will find relevant examples.
For reporting, you can use reportng or some other reporting
tools (allure) which will act as a plugin and generate nice reports
based on the testng-results.xml.
For modular selenium tests, you can use the tried and tested page
object model.
Please read up on the above things.

Related

Can we use TestNG with Selenium WebDriver and Cucumber? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
if so what are Pros and Cons?example could be useful.Is it a good way for Testing by using all these tools together?
Yes, you can use them as any other combination of tools.
Would that combination be useful, depends completely on the problem you're trying to solve.
Speaking about the components,
testng is just the test runner that can be used with cucumber and webdriver, but can be easily replaced by junit, for example
webdriver is a defacto standard for driving web interfaces
and cucumber is in fact not a testing tool at all
So you'll have some benefits using cucumber as a way to improve your team communications (though there aremany other ways to do it);
but you'll surely make your life harder trying to use cucumber+webdriver for writing regular automated tests.

Create a real chat application between 2 clients or more [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a web application that I have created with angularJS/Symfony2 and a mobile app with(ionic) I want to create a real chat application between this 2 clients.I thought to use nodeJS and websockets??I can have many clients conncted from their mobile
I have read many articles about firebase for angularJS and redis,but I don't know from where I will start
have you please any idea how can I do that
thanks a lot
The simplest way to start is check basic chat solution on NodeJs http://socket.io/get-started/chat/
Also as alternative you can use Rachet(WebSockets for PHP) http://socketo.me/ to get more closer integration with Symfony2
You can definetely use node and socket.io.
Start here:
http://socket.io/get-started/chat/
To integrate it with angular, you can use this module:
https://github.com/btford/angular-socket-io

It's possible to create embeddable AngularJS app based widget? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I would like to create a AngularJS app that can be embed on 3rd-party websites with a few lines of code. Is it possible?
Yes, it is certainly possible. However, this means that the host page will have to know about angular js (unless you iframe the widget?) But otherwise, yes.
This will help you when using angular in a "3rd-Party" sense:
https://docs.angularjs.org/api/ng/service/$sce
SCE is strict contextual escaping. It helps scrub html and ensure that what is getting loaded in the page is safe. But read the link for more details.
To start it I would start by looking here:
http://alexmarandon.com/articles/web_widget_jquery/
I know this is jquery, but you can use the examples to figure out how to bootstrap your widget and get it loaded.
Good luck!

Exchange Rate API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am looking to create an application for exchange rate of foreign currencies and need backend for the same. While searching for the same, i came across:
http://rate-exchange.appspot.com
http://rate-exchange.appspot.com/currency?from=USD&to=EUR&q=1 //working demo
I also find the github source for this GAE project at:
https://github.com/hippasus/ExchangeRates
Now the question I have how should I proceed. Shall I use this already deployed project named http://rate-exchange.appspot.com or deploy my own version. If I should deploy my own version then what will be steps.
Thanks in advance
Generally try to use existing code with permission and visibly give credit to avoid plagiarism. Developers who repeat work already done by others learn from the experience but risk wasting time unnecessarily. You learn from others by studying their code anyway.
You may after some experience with the other project think of ways to improve it. Liaise on Github with the original author about constructive collaboration. Sharing code is what makes free and open source software great.

libpurple with PlayBook NDK [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
My friend and I both have PlayBooks, and there isn't a solid Google Talk app on it.
We'd like to get started on one and I was wondering if anyone can provide any tips.
I was thinking of using libpurple as it is a C based library and the PlayBook NDK.
Is this feasible? Is there a recommended starting off point? And are there any general tips?
Thanks,
Parth
The blackberry uses QNX platform which is based on Qt.
Currently libpurple does not interact with Qt. However there is a Google Summer of Code project to create a Qt user interface for libpurple. In theory once that work is completed then porting to the Playbook would be a short to medium task.

Resources