How to set up Gauge Automation tests to work with multiple browsers - getgauge

I am starting a UI automation project in the Thoughworks Gauge platform. The example I have has internet explorer set as the default. I'm trying to set up multiple environments with different browsers.
I can't seem to see in the Gauge documentation how to set this up.
Can anyone help,
Thank You

You can try one of the below:
Use env to spinoff multiple browsers. See example.
Use a crossbrowser testing platform underneath. See this answer for details

Related

Better way to test multiple websites through automation

I am trying to find a better automation tool to perform the websites testing automatically to identify the bugs using various mobile devices and browsers.
Tried with various no code automation tools and Browserstack and Lambdatest as well. but not able to acheive it perform automatically.
Selenium seems to be the most popular option. However, I suggest Playwright. It has unique features to be able to open new pages, new tabs, new browsers and new windows with its Browser, BrowserContext and Page concept.

Is it possible to use Sonar Web reporting tool stand alone?

SonarQube is a tool use for code quality inspection, it is based on plugins. Sonar has built-in web reporting tool which shows analysis results on web page via different charts and UI controls.
My understanding is that: "Sonar provides different plugins for it's different functionalities, for example sonar-php is a plugin that can be used for analyzing php code, once the code is analyzed it represent the results on web page by mentioning different stats and graphs/charts."
If the above understanding is correct, I assumed Sonar use some kind of web reporting plugin to show all cool graphs and controls to display analysis results that is independent of data source and only responsible of presenting the provided data.
Now, my question is , Suppose I do have some data source , Is it possible to customize and use only that web reporting tool of Sonar to display results on web page ? or it's not possible and I have wrong assumption?
SonarQube is a code quality management tool. There is no specific web reporting tool to display whatever data you want.
If you want to analyze code, you can create a plugin to inject issues on specific part of the code for example. You may be interested by the documentation « Developing a Plugin »

How Can I use Chromium or Webkit source code in our custom browser?

I am trying to develop my own browser by using chromium source code but am not familiar with browser part.please give some valuable suggestions how to start from scratch using "Chromium Source code"....
There are two very high quality Chromium wrapper projects for Delphi.
https://code.google.com/p/delphichromiumembedded/
https://code.google.com/p/dcef3/
Note that both projects seem not to be very active since 2014.
If you think the answer is helpful to you, please accept the answer.

Browser Extension the "Injected way" a cross-browser extension that include a JS from a distant server

I've found this nice article about the "injected Way", but the author never finished it :
http://hightechstartups.blogspot.ch/2012/05/different-way-of-developing-browser.html
I would like a bare bone cross browser extension, without any 3rd party extensions or framework (to be as light as possible and not dependant on a 3rd party) that would load Jquery and a JS from a distant server and the ability to load it before or after the page is fully loaded.
I've read a lot of topics about the subject, but since IE10, Chrome 26 and FF20 are out with their new cross-link limitations, i was wondering if somebody had ressources, source code or tutorial about the following requirements :
I need :
Cross browser extension supporting (IE 8+ or 9+ worse case, Chrome
26+, FF20+, Safari)
Ability to inject a single JS hosted on another server. Inserts a script tag that references a javascript file in the head of the HTML
page and then be executed
Not be dependant on a third party extension (greasmonkey) or framework (Kango, Crossrider)
Ability to load before or after the page is fully loaded
This method allows me to customise the browser extension depending on the user's location and it also avoid having updates as the JS is updated on each page refresh.
I'm aware of the downsides, but i would like to achieve this.
I'm aware of cross browser framework like Kango or crossrider, but both don't fit me needs.
The closest example i could find is this How can I run a <script> tag that I just inserted dynamically from a BHO
but it only covers IE and as i got very little Csharp experience, i would like to see a full example to understand it properly and learn from example.
I would LOVE to have a few examples, even if it's not cross-browser (IE being the worst part for me).
Thanks a lot for your support !
Update1:
About Kango and Crossrider, Kango is 2000$ if you want to use IE and for Crossrider you're required to be distributed and monetized by them.
I've managed to code for IE and Chrome, but i was looking for an "elegant" way and figured it was the best place to ask given the level of knowledge of people on this site.
For the installer i currently use NSIS, but i'll test Wix too.
Finally i guess the only way for me would be to learn C++ and .net to get it to work with IE, but if anyone could provide more source code it would be great to test speed and compatibility and discuss here what's the best solution.
Why do Kango or Crossrider not fit your needs? Both frameworks allow you to manipulate the page's DOM (which is what you want):
Kango: Adding content script
Crossrider: documentation, example code
If you want to code your own solution, take a look at the relevant documentation:
Content scripts (Chrome)
The Page mod Jetpack API (Firefox)
Injected scrips (Safari)
Injected scripts (Opera)
Internet Explorer does not natively support extensions. It took me about 80 hours to create a stable and reliable IE extension which supports cross-site AJAX, a (preference) storage method and injection of scripts as early as possible in any frames based on its URL. I developed and tested the extension with Visual Express 2010 on Windows XP and Windows 7, for IE 8-10 (the extension might work on IE6/7, but I decided to not support these ancient and rarely used browsers).
First, I wrote an extension in C# based on LiveReloadIEExtension (a sample IE extension, which in turn is based on this Stack Overflow answer - see also this blog post). It was functional, but it required .NET 4, lacked support of frames, and it's relatively slow.
So, I decided to write an IE extension from scratch in C++. A good starting point is available at http://www.wischik.com/lu/programmer/bho.html: Sample code for C++ BHO, which changes the document's background based on key/mouse events. I've also learned a lot by looking at other code samples on CodeProject, topics on the MSDN forums, questions and answers on Stack Overflow, lots of other blogs, and the MSDN documentation:
DWebBrowserEvents2 interface lists several events which you use to find an appropriate injection point.
Scripting Object Interfaces (MSHTML) lists even more interfaces. You'll be mainly interested in the iHTMLDocument, iHTMLDocument2, ... interfaces.
After creating the IE extension, you want to deploy it of course. I used Wix toolset to create a MSI.

Dojo Toolkit offline application

I have been integrating a standard border container (Nested Layout Widgets) from this site
http://dojotoolkit.org/reference-guide/dijit/layout/BorderContainer.html which worked quite well.
The problem is that I want to use this application offline but didn't find a way to do so. I mean why do I have to be online to use it anyway?
Can you help here? Are there any files that are not stored locally that I have to link across the project? Or is it just not possible to use it offline?
Also, what about the dojo offline project anyway? Th last status is from 2007?
Thank you very much for your help in advance!
Best
TTP
You should look at the HTML5 application cache for offline applications. dojox.offline is pretty much abandoned given the newer browser technology.

Resources