I want to run report(.html file) of protractor-html-reportor - html

I am doing end-2-end testing with protractor. and for creating a report of all these test cases, I am using Protractor-html-reportor, Which create an .html file as report of all these test cases. All is good. What I want that after creating that html file(Report), At the end I want to run it automatically on browser. Thanks in Advance?

I have got answer from sqa.stackexchange site.
I have used grunt-open for it. It is working fine. But it have following warning every time, when it launch report.
The warning is in this question. I have not got any solution so far. But it is working fine, if you dont worry about that warning.

Related

Pyautogui and PyDirectInput does not work on just one program

Im trying to automate a process on my job which is just creating and downloading pdf file like 1000 times but the problem is, i tried both library and both working normal on every test i made except one program that i need. Its not giving error, it looks like working but nothing happens.
I can still locate image on the screen but when i tried to send key or click to a button on program nothing happens. What can i do about this, is there any other way for this?
I tried both library with different programs but the only one i need is the only one that i get issue
I solved my problem today. There is no problem with any library, it was just because of the program that I need running as "Run as administrator" and because of that when I tried to run cmd administrator it's just working well. looks like both should be at the same level to get control over it.

I can’t see the trigger I’ve created in arm-template-parameters-definition.json

The problem is, I’ve created in the arm-template-parameters-definition.json a trigger with the name “Test” this due the fact that I want to parameterize the triggers for the different environments. (see screenshot )
Json template
I used the parameterization template in ADF for this. The code is ok I guess because, I can use the variable I’ve created in Devops.
The thing is, I don’t see the trigger I’ve created in the section “Triggers” it’s still empty (on all the environment I’ve deployed) (see screenshot)
trigger
I’m missing something? Or did I forget something?

Close a single tab in Chrome using Batch command

I'm relatively new to batch commands and have been learning steadily. My problem is like this:
I've understood how to kill processes using batch commands using many different methods. However, I've been unable to figure out how to close a single tab in, preferably, chrome.
Any thoughts would be greatly appreciated!
Thanks!
So, I suppose I should state my exact problem.
I'm using notepad++ as my LaTeX compiler and sending the final pdf to chrome. The reason: I usually have ~20 tabs open related to the project I'm working on and it just makes my work much easier to split my screen between notepad++ and chrome.
My current batch file compiles the LaTeX code and sends the compiled document to chrome as a new tab. For obvious reasons, i don't want to close a tab each time I compile, so I thought that closing the current tab at the same time during compiling would solve my problem. But, I just can't find a way to get my batch file to only close the tab with my compiled pdf.
Thanks in advance!
check all running chrome instances/tabs with :
wmic process where "caption='chrome.exe'" get
and see processes properties.Probably the best indicator that you can rely on in this case is CreationDate (other properties are basically the same for all chrome instances) - it always comes in format YYYYMMDDHHmmss.ms and is easy for string comparison.But you'll have to know the time when it was started.

Jenkins can't generate HTML reports with htmlpublisher

I'm having a heck of a time trying to publish any HTML report with htmlpublisher.
My input looks like this:
And the 404 looks like this:
The report is definitely generated in build/. I've visually compared my config.xml file to a known working example and it's apparently the same. The entry in jobs/ is there, with the correct name and documentation.
I can't figure out what I'm doing wrong. I've checked the "keep past HTML reports" box, unchecked it, played with the paths, read the (poor) documentation but I can't seem to get it working. Can anyone help?
What version of Jenkins are you running? I'm seeing this issue on all of my projects since updating to 1.529. The files are being copied to jobs/ correctly as you mentioned.
The answer you accepted is incorrect and contradicts the documentation at https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin
EDIT: The issue has been resolved in 1.530: https://jenkins-ci.org/changelog
I've updated and I'm not seeing 404s anymore.
The developers of Jenkins has confirmed that this issue is related to the version 1.529 and it is solved in 1.530.

Flex Builder not building changes

I'm having a very strange bug in Flex Builder where none of the changes I make are appearing when I debug/run my program. It only happens with a particular AS3 project, on others, it works fine.
For example, I have a line,var x:int = this.prevX + this.x;, whose value is 400 if I don't make any changes. I change the line to var x:int = 0; and set a breakpoint on the line. When I debug the program, it breakpoints just where it should, but the value is set to 400, even when the line is x = 0! What gives!
I've tried cleaning the project and deleting the project and re-importing it. No matter what I do, it won't show any changes I make, even if I just toggle a boolean. It still won't let me compile with errors, but once its done compiling, it completely ignore whatever changes I made. It's like it has the bytecode for the swf cached somewhere and its just ignoring doing the actual build step.
Any ideas?
Check if you have a copy of the swf in the html-template folder. The newly compiled swf will be overwritten by that old one after each build. Happened to me once.
Right click the project in the Flex Navigator and then click Refresh. Refreshing the project worked for me.
Changing from IE to Chrome worked for me.
I was having trouble with this as well, and deleting the html-template folder didn't fix the problem for me. I then renamed the project and it worked after that.
I get this too.
This is the first time I've found this referenced on the net. It's a BIG problem. I get it periodically. For me, it's not the html-template folder.
I've got a couple of ways around the problem at the moment
Delete the bin-debug swf
Overwrite it with a release build.
Delete the release swf
Export the release build elsewhere.
Build a debug version again.
This works - sometimes immediately sometimes after a few repetitions.
One other technique I tried today was to change the compiler options to -dump-config=somefile.
This worked immediately, however, I'll need to wait next time to try again.
It might be a situation of changing the -dump-config filename output when this happens.
Just tried another possible fix (which seems to be working really well) - Change the browser that Flex builder is using to a different one. This immediately fixed the problem. I'll post back here later if I find that this is a reliable fix. - Casp