Testing execution of 6i reports from a HTML portlet
How can I execute an Oracle 6i report from a portal30 HTML portlet. The HTML command looks something like this "C:/reports_6i_runtime.exe userid=user_account/password@connect_string H:/report_6i.rep" I get the message "page cannot be displayed".
When I create a shortcut on the desktop and call the shortcut with this command "C:\Desktop\report_6i.rep" it will execute. This is not an option.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Leung ([email protected]):
It looks like you are trying to call a URL on your local machine. If this is the case, you may need to format your URL as:
file://c|/blah/
or something to that effect. I believe it needs to be a proper URL if you are calling it from your local filesystem.
You may get a better response from the Reports forum.
<HR></BLOCKQUOTE>
I did try using "file://" in my HTML, with the same results.
I was able to get the reports runtime to come up when I executed it from the windows run command line, but it did not accept either parameter I passed.
The command did not run at all from the browser.
null
Similar Messages
-
SSRS reports from Lightswitch Html Client
I have created a Lightswitch desktop application that list the available reports that are stored in a table and also provides a button that when clicked launches the web browser to the URL for the report on the SQL server. My problem is now I'm trying to
create the HTML client for the application and have no experience with Java Script. Does anyone know how to accomplish the something that I did on the desktop application on the HTML client?
Below is the code that I used to open the URL in the browser in the desktop application.
Imports Microsoft.LightSwitch.Threading
Imports System.Runtime.InteropServices.Automation
Namespace LightSwitchApplication
Public Class ListReports
Private Sub RunReport_Execute()
' Write your code here.
Dim uri As New Uri(ReportsSet.SelectedItem.ReportAddress) 'website stored in the ReportsSet.ReportAddress field
If (AutomationFactory.IsAvailable) Then
Dim shell = AutomationFactory.CreateObject("Shell.Application")
shell.ShellExecute(uri.ToString)
ElseIf (Not System.Windows.Application.Current.IsRunningOutOfBrowser) Then
System.Windows.Browser.HtmlPage.Window.Navigate(uri, "_blank")
End If
End Sub
End Class
End NamespaceThis may help:
Creating Reports in LightSwitch HTML Client
// Show Loading message
var LoadingDiv = $("<div></div>");
var Loading = $("<h1> Loading Report...</h1>");
Loading.appendTo(LoadingDiv);
LoadingDiv.appendTo($(element));
// Get Report
var HTMLContent = $("<div></div>").html(
"<object width='650px' height='650px' data='../reports/ReportViewer.aspx?SurveyId="
+ contentItem.screen.SurveyId + "'/>"
// Make report appear on top of the Loading message
HTMLContent.css({
"margin-top": "-50px"
HTMLContent.appendTo($(element));
Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
http://LightSwitchHelpWebsite.com -
How to call reports from JSP/HTML application
Hi,
We have a web application developed in JSP, I'd like to use Oracle Reports writer to generate reports (Since our back office application is developed using Oracle forms and Reports - 6i).
I don't know how to place a request to Oracle Reports server and view the output. Can someone please help me with this.
Thanks in advance.
Best Regards,
KarthikHello Karthik,
You have a web application developed in JSP. In that you are calling Reports though URL through your JSP.
User views the source of the HTML page, in browser which is the result of execution of JSP. So Client will see the
HTML output, but not the real JSP.
Still if you donot want to hard code the user/password in file, have a form and ask client to enter user/password.
Or you can combine your JSP with other Java components , like Java bean or Servlets to get user/password at run time.
With Regards
Sachin -
Calling Oracle Reports from JSP/HTML
Hi,
We have a web application developed in JSP, I'd like to use Oracle Reports writer to generate reports (Since our back office application is developed using Oracle forms and Reports - 6i).
I don't know how to place a request to Oracle Reports server and view the output. Can someone please help me with this.
Thanks in advance.
Best Regards,
KarthikKarthik,
You might want to repost this question to the reports forum - you'll be more likely to get a response from a reports expert.
Thanks
Blaise -
Calling a JSP Report From HTML parameter form
Hi,
I m trying to run a JSP Report from a HTML parameter Form. The JSP reports requires a parameter named userid in the URL with a valid value for database connection.
eg. URL "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?userid=sysapps/system@trt1". We have created a variable on the server named "parmformjsp" with a value "sysapps/system@trt1". Now i use this variable in the URL as follows, eg. "http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_crdinf.jsp?parmformjsp".
When i use this URL to call another JSP report from a JSP report it works fine, but the same does not work when calling a JSP report from a HTML form.
the code for HTML parameter form calling a report is as follows,
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Parameter Form</title>
</head>
<body>
<p>Parameter Form</p>
<form name="form1" method="GET"
action="http://win2kdb.oracle9iis.com:7778/repdemo/examples/Tools/fm_custrns.jsp?parmformjsp">
<p>From Date<input type="text" name="p_fmdate" size="20"></p>
<p>To Date<input type="text" name="p_todate" size="20"></p>
<p> </p>
<p><input type="submit" ><input type="reset" value="Reset" name="B2"></p>
</form>
<p> </p>
</body>
</html>
If i create an input parameter named "userid" with a valid database connection value, remove the ?parmformjsp part from the action URL then it works fine. How can i call the JSP report using the parmformjsp variable name instead of using the "userid" clause in the URL.Can anyone suggest any workaround....
Thanks & Best Regards,
Unmeshdo it like this...
DECLARE
pl_id ParamList := Get_Parameter_List('tmpdata');
BEGIN
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id, 'ROUTE_CARD_CONTROL', TEXT_PARAMETER, :ROUTE_CARD.ROUTE_CARD_CONTROL);
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
Run_Product(REPORTS, 'D:\STL_FINAL\CHPREPORTS_FINAL\ROUTE_CARD.REP', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
END; what exactly happens when you call the report. if its showing the blank page... may be you are not passing the right parameter name. cross-check that your parameter name in the report is 'ROUTE_CARD_CONTROL'. -
Calling bi publisher report from apex.
good morning all,
I have a situation at hand, i want to be able to call bi publisher report from a dropdown list in apex. what i did was to create a table in the oracle db with the report name and url as columns, from apex all i did was to create a list item which queries the table a should display the report using the url. but the report is not showing properly, what do you thinl i can do.
i am using the following verion:
bi publisher: 11g (11.1.1)
apex: 4.2.1.00.08
oracle database: 11.2.0.1.0
Thanks.
AbdurRahmanHopefully, that could be helpful for you,
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/apexinst/apexinst_prod.htm
http://dgielis.blogspot.jp/2007/12/call-bi-publisher-report-from-apex.html
https://blogs.oracle.com/xmlpublisher/entry/apex_integration_with_publishe
Edited by: Weibing.Xia on 2013-5-20 下午5:40 -
Hi All,
We are trying to execute coded UI scripts without Visual Studio installed. We are using “Visual Studio Test Agent 2010” for executing coded UI scripts without VS2010 in Windows 7, it is working fine. Also we verified executing the same script with VS2010
Premium, it works fine as well.
Here the challenge we are facing is with the Test execution time.
When we run the coded UI script with IE11-Windows 7 OS-Visual Studio 2010 Premium it takes
3min 36sec to complete the execution whereas with IE11-Windows 7 OS-Visual Studio Test Agent 2010 it takes
6min 40sec for the same script to execute (which is almost double the time it takes while executing using VS2010).
My question is what may be the reason for this difference? and how we can reduce the test execution time when running from Test Agent 2010?
Kindly let us know what is the best practice to execute the coded UI scripts with least test execution time in Windows 7 Operating system using Visual Studio Test Agent 2010 without VS2010
installed.
Looking forward for your positive response.
Thanks in advance..!!Tina-Shi, Thanks for the information.
As you mentioned, we tried to execute the coded UI test using Mstest.exe in command on VS2010 Premium and checked on the execution
time, there was a slight difference.
Please find below execution time.
Using Mstest.exe in command on VS2010 Premium/Win7 – 3.47 minutes
Using VS2010 Premium/Win7 – 3.53 minutes
Using Test Agent/Win7 – 7.3 minutes
Also, I closed all the other processes in Task manager before starting up the execution.
Still , I am facing the same Issue. Could you please suggest any other way to reduce the scripting time of coded UI script execution
through Test agent 2010.
Looking forward for your earliest response. -
Html Portlet links displaying in another portlet on the same page
I have seen similar posts but no detailed explaination of how this is done.
I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html portlet to the inline rendering portlet?
Thanks,
RobynIf your environment is fairly static, you can handle this easily.
The link in your HTML portlet must refer to the page URL of the portal page on which the HTML portlet resides (which changes from portal page to portal page), to which you need to append the parameter that your "inline" portlet (under which I'm not sure what you mean) reads:
<a href="http://<portal_page_url>&my_param=value">click here</a>Is this close to what you're willing to do? -
How can I Generate two different reports from single execution of Test cases in NI teststand
Hi,
My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
Solved!
Go to Solution.Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property.
Also, be aware that step's post-expression is not executed in case of error in the step.
Sergey Kolbunov
CLA, CTD
Attachments:
SequenceFilePostStepRuntimeError_Demo.seq 7 KB -
Generate Test Report from database
Hi
How can i generate a Html Test Report from a UUT Test that i logged about a week ago?
Does Teststand have a pre built sequence for this?
Help share your knowlegdeShako-
I see that you also posted this question in this forum. As Taylor mentioned, there isn't a tool to generate a report from data in a database. You can create a sequence to call into a database and then generate a report. I would look at the example located at C:\Users\Public\Documents\National Instruments\TestStand\Examples\Database for reference.
Thanks,
Sean
Applications Engineering Specialist - Semiconductor Test
National Instruments -
Generate two xml reports from same execution
I need to generate a summary report and detail report from the same execution.
Detail report will record all the steps marked as Record result
Summary report to record only the steps that are of type Pass/Fail, Numeric Limit Test, MultiNumeric Limit Test and String test.
So far I have been able to generate two detail report from same execution and can save each report in separate folder.
How to get the data for summary versus detail report from the running sequence?
CLD,CTD
Solved!
Go to Solution.
Attachments:
ReportFolders.JPG 115 KBThanks for the approach.
I have created a sequence which recursively looks through the Parameters.MainSequenceResults and if StepType is one of the Test Types then displays in summary report.
On the summary report I also wanted to get the name of the subsequcenCall if that subsequence call contained a valid TestType for summary report. For example if subsequenceCall step has a Action and String type. I wanted it to display as shown in Image1.jpg below. Currently it displays as shown in Image2.jpg.
Attached is the recursive sequence that I am using.
CLD,CTD
Attachments:
GenerateSummaryReport.seq 8 KB
Image1.jpg 35 KB
Image2.JPG 140 KB -
Trigger execution of a CR report from SAP BW Process chain
Hi,
we want to trigger execution of a Crystal Report from a BW process chain.
What is the best way to do this?
Our CR reports are not saved to BW.
We are currently investigation the option of using a file event on the BO server and using an ABAP program step in the process chain to create the file using FTP. But we want to know if there is an easier way of doing this?
Thanks and regards
JarleHello Nathan,
your solution with the FTP script and a file being moved to the BO server sounds very interesting!
Actually that's what I would need to implement in my project.
Would it be possible for you to give me some information on how to write such a script and how to call it from the Process Chain? Any hint would be really precious!
Thank you in advance!
Best regards,
Hubert -
Hi All ,
I am trying to call a report from Static view.Now , I know we can call a page or dashboard from the statis view by writing th HTML content.
Can we also call a report from the Static View .
I tried using :
<a
href="/Analytics/saw.dll?Path=/shared/Sample%20store/_portal/DashboardName/Report%20Name">
Here, the report 'Report Name' is in the dashboard 'Dashboard Name' .
The report location is : /shared/Sample store/Report Folder/Report Name
Can we directly call the report without going to Dashboard as I have tried in above HTML statement.
Thanks!hi,
Create a static view with the following code which will directly open report not the dashboard,if u want you can make the input type as button,I guess we will not get the dynamic report name as your
The report location is : /shared/Sample store/Report Folder/Report Name
The alternative if any user click on that "TEXT" it will take you to that report
{p}
Here, the report 'Report Name' is in the dashboard 'Dashboard Name' .
To edit the report
{input type="text" value ="Report Location is :"
onclick="window.location='saw.dll?Answers&ItemName=Bench To Individual - Help&Folder=/shared/Sample Sales/02 History and Benching&LocItemName=Bench To Individual - Help'"}
{P}
Hope this helps you
PS: Replace {} with <> codes
thanks,
Saichand Varanasi -
How to discard skipped test results in XML report generated from TestStand
Hello,
I'm generating XML report from TestStand. I have more than 100 test cases & user has the flexibility to select the test cases to execute or to skip.
Problem statement:
1. In Configure\report options there is filter expression to filter test results to be logged. However, this filter is disabled for XML report.
2. Is there a way to compress XML file using either encryption or any other methods?
I understand that there would be two methods ideally for my problem statement #1 above:
A. To have a workaround in reportgen_xml.seq to pragmatically log only executed test cases and discard skipped test results.
B. Modify stylesheet supplied by NI to discard skipped test results.
For problem statement #2 above:
I am able to encrypt the data before logging it to XML. But I don't know how to modify the stylesheet to decrypt the same using either public/ private encryption keys. Can anyone bring in more ideas here !!!
My preference would be to implement using #A above to reduce the XML file size which is ~4 MB will all test results (skipped + executed). If this is not possible my last option would be to implement using #B above
I would appreciate if someone can help me for my problem statement? I'm using TestStand 2010
Solved!
Go to Solution.I have another solution and that is to actual discard the result before you get to the report stage.
You can do this by use of the Override Callback SequenceFilePostResultList and if Skipped then discard the result from ResultList.
Check out this link.
Regards
Ray Farmer -
i wish to generate reports from the database an out put it
but i need to enter a date from and to ina html input box
in the input box a data of range will be input from a start
to latest
latest being the default as today's date.
any help tips snipplets, concepts , turot=rails.
thankseasycfm.com has tutorials for people who are brand new.
If you don't know much about sql, I have heard good things
about the book, Teach Yourself SQL in 10 Minutes by Ben
Forta.
Maybe you are looking for
-
I am no longer able to purchase songs from iTunes.
When I click on the "buy" icon in iTunes, nothing happens. I don't get a warning, or anything. Just nothing happens. I can click on the arrow to the right of the "buy" icon and get the drop down menu that includes "gift this song, add to wish list" e
-
AirPrint HP OfficeJet 6500A problem
I bought a new HP OfficeJet 6500A. Can print via AirPrint the very first day. Then, subsequently, can't no matter what I did or how I reset the config both the in iPad or HP printer. Downloaded the latest firmware in HP and later iOS in my iPad. What
-
Did anybody know about the OMR(Optical mark reader) tools.
I have to read a image file using OMR(Optical mark reader).Did any third party tools for java r available in market? Plz help me....
-
Dear All, when i do the Debit memo...in J1IH...i select "OTHER ADJ" button....and make the Values as follows...when i click the Button "Determine G/L accounts"...it shows as follows.... 14.00 - Credit - SEC payable on excise duty 1,400.00
-
i have my database in mysql and my field total is declared as decimal to 2 decimal place.....how to i get it to print to two decimal place in my JSP page...i have declared the variable as double but when it is printing it is printing to one decimal p