Selenium Reporting [closed] - selenium-webdriver

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
During my experience in Quality Assurance, especially automation testing, I have experienced two functional test tools(QTP and Selenium). In fact, I have noticed that Selenium have more strong points than QTP or it's much more dedicated for complicated web application. But still have one weak point : "Test Reports". For me, I find a big problem in generating reports related to Selenium Test. Otherwise, I find it very easy using QTP.
My question is, What's the best appropriate method used by Selenium Testers to generate tests reports?

If you are using tetng/junit in your framework along with ant/maven then go with XSLT report. Actually it converts testng-result.xml into a html report where you can customize html elements as per your requirement.
I love to generate such kind of pattern in html reports:
To generate above:
You need to have an xml report which contains status of all the test cases.If you use testng then it will automatically get generated at the end of execution.
An xslt converter file which actually contains core logic of html view. It will fetch the test cases related data from xml report file. XSL Transformations (XSLT) Version 3.0
You should have a target in build.xml (Write a simple build.xml) to start the report generation process.

Related

How to integrate selenoid and allure [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 2 years ago.
Improve this question
We implement farm of browsers based on GGR + Selenoid. If there any instruction how to integrate Allure reporting with such infrastructure?
On which host allure-results folder will be generated?
Should I create a script that will go through each selenoid host and copy a
folder with results to one node?
How to not mix results from different test runs / CI jobs?
1) Selenoid is just a Selenium API and has nothing to do with automated tests reports.
2) Allure test execution results are usually generated on the server where your tests are being executed (e.g. on CI-server). Allure report from these results can be either generated on the same server or you could copy results to another server and generate HTML report there. There are a lot of ways to do this depending on your infrastructure.
Use the Allure docker container and send the results using API.
https://github.com/fescobar/allure-docker-service#send-results-through-api

What DAL technology to use for a .NET/Angular project? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am in the process of setting up a new web app and will be using Angular and .NET WebAPI. I am looking for a robust framework that I can use for the Data Access Layer. Something that I can quickly get up and running but also helps me easily update table objects, setup lookup data and perform post upgrade operations.
In my previous project, I used EF Code first and although it 'works', I found that Migrations are messy and having a clean ability to maintain scripts for upgrade/setup doesn't exist (or I am not aware of).
Which DAL technology can I use?
If you are happy with Entity Framework (migrations aside) and you need to get something up quickly and easily I would recommend to stick with it. You can use the EF "Code First" approach where you create your models and mappings in code without using migrations. You could manage your scripts in a different way such as using a Visual Studio database project or DBUp.
That said the real answer is "It Depends" based on the specific needs of your new project and what you need from your data access layer. There are other SQL-based alternatives such Dapper and even ADO.NET but also other solutions such as RavenDB.

Selenium (Java) and TestNG framework [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 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.

Scripting in Delphi application [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
i develop a BPM software and I would like to add end user scripting logic.
I try to express myself with an example.
in a Process there are 2 variables (Price, ApplyDiscount, DicountAmount, Total).
somehow the user wants to define this logic:
//Delphi code for explanation:
if ApplyDiscount then
Total := Price * DiscountAmount
else
Total := Price;
since my app is a SQL Server Client server app i thought also about the idea to run a query with parameters so the user uses SQL syntax to script the logic and it will work.
I need to define the details but somehow the idea is to use the :Parameter syntax to allow the script pass and recieve values from my application.
This is for sure ok, but i was wondering if there is another way to do it without writing my scripting engine.
Thanks.
Some scripting engines for Delphi:
DelphiWebScript which is my preferred: it has the best syntax, is probably the faster, and is Open Source;
PascalScript;
TMS Scripter Studio.
If you want "non pascalish" scripting, you can take a look at Lua which is pretty simple to work with.
Edit:
Some additional candidates:
SEPI;
ScriptEngineII;
BESEN which is a JavaScript engine written in Delphi, including JIT!
SpiderMonkey for Delphi also executing JavaScript.

CakePHP vs codeigniter - I'm experienced in CakePHP [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
First of all I don't mind the "writing more code" attitude that CI has so I don't really care about that. Right now I'm pretty good in CakePHP (I have like 3-4 years in it) and I think it has certain flaws the biggest one being its speed and I was thinking of passing over to CI but I need to know something..
My simplest application in CakePHP (with admin and some data in table - multilanguage) takes about 0.2 Seconds of code processing. I was wondering if anyone has a time for Code Igniter for a certain website. I'm curious if it's worth the learning time.
I installed code igniter and at first it seemed imensly fast but I'm just worried that if I keep adding components, models, helpers and everything to it it will slow down (maybe more than cake). So.. I'm actually looking for an example of CI website and the exact time it loads... (down to at least 2 decimals).
This thread will give you a fairly good answer, as the site in question is not a "Hello World" but a fully fledged Site with database access helpers and libraries loaded, etc...
I'm sure some will have arguments about its validity (probably CakePHP proponents), but it's not every day you have a site re-developed between frameworks and compared.
UPDATE
Again, for those that don't want to follow the link to the thread, the tester actually upgraded the site to CI 2.0, using modular extentions, caching, other optimizations and re-tested

Resources