I'm trying to use ExtentReport with Cucumber v4. I'm able to generate the execution report at the end of the test case, including the proper step list (for all steps that were executed) with their screenshots.
However, although the screenshots are properly generated, the link that ties the step with its respective screenshot seems to be broken (when clicking on it, nothing happens).
Any ideas of what should I try?
Thanks in advance!
Related
Hi there,
friends, first I want to say I'm an absolute beginner. Your help makes me so motivated.
I am doing one assignment. they provide templates for the front end(angular) and back end (node.js, SQLite). I want to edit some code to complete that.
1. for the Front end
implement a searching functionality for the teacher and student classes
2. for the Back end
Update the readStudents function to read all student data.
Update the readStudentInfo function to read the information of a specified student.
Update the addStudent function to add a student.
Update the updateStudent function to update details of a specific student.
Update the deleteStudent function to delete a specified student.
I have completed all tasks myself.
I use GitHub to auto-grading it shows 80/160. I passed all back-end tasks but it shows I failed all front-end tasks.
The task for my side is to complete (implement a search functionality). so think that this is their side problem or any technical error.
I add the screenshot about auto-grading and the error message.
These are a few example images of errors, if you want to see all the error screenshots you ask me for, I will add this question.
..
The Back end is working fine. if I run npm start it works. it shows
capstone-project#1.0.0 start
node backend/index.js
DEV DB
Capstone Project Backend is running on http://localhost:8080
but if I click this link. there is nothing on my browser. it shows Cannot Get /
I you want to see any file of mine, u can ask I will add it here so fast.
please help me to solve this error. I am so tired to finish it. Your guide makes me move one step.
Thank you for read this :)
i found the error. the error is
Autograding
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout#v2, education/autograding#v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
friend, I hope it will use to help me.
How I update that
I work in a company that started using VDIs for certain SQAs. We have just noticed that in Microfocus ALM in the VDI only, when anyone tries to print a report through the Document Generator, an error occurs. See first screenshot. If you close this out, it freezes the browser and you have to close. When you try again, you'll get the second error below. In researching these, it seems the first could be caused by a Word incompatibility, which we have checked and ruled out. The second can be caused by files in the path of the TD_80 folder, which we have tried to remove as suggested, but the error persists.
Does anyone know what else might cause this error on the VDIs only?
Details from first error
Details from second error
After submitting a ticket to Micro Focus, they said Report Generator is no longer supported. They pointed us to their documentation on creating reports in the Analysis View module under the Dashboard. This seems to work similarly, but the filtering is a little bit different.
During my process there is a drop-down html element that I have spied and set correctly. I run through the Object and Process studio without any issues. Once the same process is ran through the Control Room the element throws and error that it cannot be found.
I have tried multiple different configurations without any luck and the element is still found without issue when ran manually. I even checked by signing into the VM having it error and on the second retry had the VM up; at this stage the element was found without issue. It seems to only be when the bot is running and the screen is not up. No other elements give this issue and the next step is the same dropdown, but for a stop time not start.
Any help would be appreciated!
I have added pics of the STARTSPIED - START and ENDSPIED - END spied configs,the Navigation Stage, and the process correctly running in the Object Studio OB Studio correct.
Thank you!
For the person who down-voted this item...Configs here are my two days of config changes and research that I tried on my own before asking for help. This is my 5th automation that I have put into deployment without help, so thank you for down-voting someone trying to get help where they are stuck.
Your problem is most likely connected with the fact that processes run in the control room are executed much faster than in studio and your webpage might not be loaded on time (that would explain why it works after retry).
Best practice approach would be to add a dynamic wait stage after attach and use “Parent Document Loaded” option on the element you want to interact with. It will wait for the page to be loaded and then check exist for the element. I would also suggest splitting your action into two, first to set start date and second for end date.
I have a couple of things I have been trying to work out with no success.
I am using Azure DevOps in the cloud not locally.
Is it possible to simply paste screen captures into Test Case Steps.
When running manual test cases the Runner header displays an icon to Show Description, where do I enter this description in the test case, I have tried the Summary Tab Description with no success.
Image of description issue
Andy put me on the right track, I had to extract the process associated with my project then modify the TestCase.xml. I had to change the FieldName from using Microsoft.VSTS.Common.DescriptionHtml to System.Description
Q1: Is it possible to simply paste screen captures into Test Case Steps.
No, copy/paste screen captures is not supported in Test Case Steps, we can only attach the screenshots as attachments.
Q2: Where do I enter this description in the test case, I have tried
the Summary Tab Description with no success.
Yes, you can enter the description in Summary Tab, make sure you have saved the test case after entering the description. Tested on my side and everything works as expected.
I am using my ccnet which is configured with the clear case
and everything is working fine as expected,but i am unable to see
anything in the "ViewProjectModificationHistory".whenever i click this
tab,i see a message which tells that :"No history Data found, make
sure you use the modificationHistory Publisher for this
project".Infact i had added under the tag.And to my
suprise,when i open this same link in the other persons system,it
opens well and fine and see all the modification history recorded.
So can anyone please tell me what could be this issue and how can it
be resolved?
Thanks and regards
Maddy
You should check your build history file. This will contain the XML data that feeds these reports. In particular, check the modifications/modification nodes to see if they are populated or not.
My guess is that the modifications are not there - so there may be nothing to display.
Another gotcha I have caught myself doing is not actually checking that there was in fact changes committed since the last time I built a project.