I am trying to use an automated action and a python expression to print a report which features a package's barcode when that package is initially created. I have my report setup with the barcode and other information I need. I have tried several ways to get this to work including:
Using report_action() to print the report
Using action = { ... } to print the report
I have not been able to find information on printing with an automated action and odoo studio and would appreciate any assistance, thanks.
If you need automated printing then you most likely need third party addon.
Someting like thet:
https://apps.odoo.com/apps/modules/15.0/printnode_base/
If you want to just open the pdf then you can create report action and then print it from the browser.
Related
I have a parent feature file that calls other feature files. In the html report, i can see only the scenarios of my parent feature file. The scenarios of the feature files called by the parent is not coming in the report. If we expand the highlighted parts in the report then only we are able to see the called scenarios. In the xml or json report also we are seeing the same. Is there a way we can view the called scenarios data also in the xml or json report?
No, and this is not a priority for Karate. The recommendation is that you focus your primary flow in the main feature and call other features only for setup and utilities.
That said, Karate is open-source and anyone is welcome to contribute and make the reports better. Also refer: https://stackoverflow.com/a/66773839/143475
I'm not sure what specifically you're looking for, but if you click the hyper link on the lines with ">>" it will display all the information for the given feature file being called.
I got the task to front- and backend code a web interface for an overview about all the invoices from a specific customer in our SAP Business One system.
So far so good, but now I also need to call these invoices as a PDF file and display them in a new browser tab, as it gets generated on-the-fly in our system I guess. I found this page from SAP: https://help.sap.com/viewer/284ff5baa45f4057a251ff4266d4fcd1/2011.500/en-US/fae9de62113646cf843291a38210b94e.html
But I doesn't really get the point of it. It's also says "SAP S/4HANA Cloud" but I'm not sure if it's integrated in B1 in some way, or something way different, I'm just looking for a proper REST-API to get invoices as PDF files with a specific identifier.
So I don't know, maybe you guys can help me out. I'm using PHP btw and till now I only used SAP libraries to build CURL calls for our local system like this in the end:
https://sys-sap/b1s/v1/Invoices?$select=DocEntry,DocNum,DocType,CardCode&$filter=CardCode eq 30088
and it returns the desired data of invoices I want. Now I need the PDF's. Thanks in advance!
I have the next structure:
Bug
Dev task
Test Result with the failed test case
Tested by
For retest the bug I have created a RETEST task and link it to the bug. When I rerun the testcase I would like to add the passed test result to the RETEST task. How can I do? Or what is the best workflow?
You don't need to create a retest task for this case.
You could directly customize a workflow using States and Reasons for the Bug work item. Such as adding a state "Ready to Retest" for a Bug. And then assign this work item to the tester or tester group. Suggest you to use the Process Editor, available with the download of TFS Power Tools. The Process Template Editor provides a graphical user interface for customizing work items (field, workflow and the form) and process templates.
More ways for customize the workflow for a process please refer the tutorial from MSDN:
Customize the workflow for a process
Add or modify a work item type
Then you just need to directly link test result to the bug workitem. And in a Bug work item, you can click the HISTORY--ALL CAHNGES to track the history and process.
Jenkins_Selenium- Can some one please explain how to generate reports in jenkins and send it as attachement in email. I tried SelenuimHTML report plugin and added it as post build action. In selenium results location i have given as testng-results. Is this correct?
Thanks,
Deepa
Just use TestNG as your test-runner. I will generate a "emailable report" HTML file, then you can use Jenkins EmailExt plugin to send with the attachment. If you want a more detailed report, some people use the Maven plugin called ReportNG to generate a emailable report but personally I don't think its any better.
In my project we have a web based tool where it collects all the exceptions that occur in log. The list of exceptions will be displayed in table and a icon will be displayed in a column to get the stack trace. Some one needs to check all those exceptions and we need to assign to different teams based on the keywords.
Eg : If the stacktrace contains "DB Connection error" it has to be assigned to DB team, if it contains code error like "classcast exception" in particular file then it has to be assigned to individual owning the module. Currently some one has to open each n every row in the table displayed and open the stack trace and do Ctrl + F and if any of those keywords are found assign it to respective team.
We don't have any access to the tool's database and it's web based. I need some good ideas to automate it. Please suggest me with which technology and idea to automate it.
Sounds like selenium + programming language of your choice is a good fit (even without a selenium).
You need to:
download source code of the page containing exceptions table.
Use any of these: wget, curl, selenium, urllib for python, etc.
put it into variable and extract exceptions list in convenient to you format.
Use any xpath-powered tool, like selenium, lxml for python, etc.
do your thing with the extracted exceptions list: search for keywords, assign tickets, etc.
Use programming language of your choice.
Definitely you can achieve this using selenium.
Following are the steps to follow.
Supply date criteria with type command to the boxes text boxes element.
click search button.
store the required text in variable using storeValue(locator, variableName).
click on image link if you are able to keep track of popup window else you have to use
$second=$sel->getAttribute("//html/body/.../a#href"); and now your $second has link address $sel->openWindow($second,"MyWindow2"); now select that new window $sel->selectWindow("MyWindow2"); and do operation of storing required data from the popup.
Now agian for selection of previous window use `$sel->selectWindow("null"); // hear $sel is object of selenium (i.e. $this).
Select your required option using select(selectLocator, optionLocator).
Use selenium RC for above steps so that you have more manipulation with the data stored and as per requirement operations.
In above steps syntax are of PHPUnit.
Please try the steps may help you.
Regards.