How to write step name and playback time to an output file?
In OpenScript for Functional Test, I want to create a csv file with just the step name and the playback time for the step. I don't care to carry all the details in my report file. I see that in the Session folder, there is a csv file with all the playback results. How can I either customize this csv file or create another csv file to report only the step name and the play back time for each iteration?
Hi
That line of code should do the trick:
utilities.getFileService().appendStringToFile("pathToFile", getStepResult().getStepName()+ "," +getStepResult().getFinishTime() +"\n");Hope this helps
Alex
Similar Messages
-
How to pass tag name and value dynamically in the output of PCo notification?
Hi,
I have a requirement to develop such a scenario where there can be multiple no of tags in PCo (Say 10) but there will be single notification to push the tag name when the value got changed and the changed value to MII. for any value change for any of the tag, the notification will be trigger. So As per my knowledge I have to pass the tag name and value dynamically in the "output" tab of the notification. But need your support to find out how to pass them dynamically.
Thanks in advance.
Regards,
SumanHi Suman/Jeedesh,
As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
For above issue, My suggestion
1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
4. And in the mean time, send those Tag details vie mail trigger or as per requirement
Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
Hope it might solve your problem
Regards,
Praveen Reddy -
How to find sheet names and number of sheets in excel file
Hello friend
I am reading and writing excel sheet with jdbc -odbc .
But i am not getting excel sheets name and how many sheets in any
excel file .
I don't want to use third party tool such as apache or jxl .
please give suggestion .
Regards,
Nitin Kumar jainI think you can find them via Connection.getMetaData(). There's a call in the metadata block which lists tables - tables approximately corespond to sheets in a workbook (I think there's a $ prepended to the names).
-
SIU - Apply Computer Name and Local Hostname settings from a file
I am setting up a workflow to image corporate computers and wanting to know how the "Apply Computer Name and Local Hostname settings from a file" works in the Apply System Configuration Settings task.
We bind the computer to AD and OD and we have a specific naming convention for certain departments and trying to automate the entire imaging process.
Would this be something that can be done with SIU?Well, maybe there's a bug in the latest version (10.5.3) of SIU as this is not what is happening.
It doesn't seem to matter what I specify for the name parameters I end up with a Bonjour name of ".local".
I put in a line of the form <Mac Address><TAB>tom<TAB>dick<TAB>harry into the text file used by the Apply System Configuration Settings Action.
and end up with hostname = tom, Computer Name = dick and Bonjour Name = .local
I'm building the NetInstall image on a new iMac running 10.5.3 booted out of a second partition and create the image from the main boot partition (also 10.5.3). I then copy the image to my server (10.5.3) and make a second iMac boot up from the NetInstall image.
For what it is worth the Workflow Actions I am using are:
Define Image Source
+ NetInstall
Source: Macintosh HD
Filter Clients by MAC Address
+ Allow
<List of MAC Addresses>
Enable Automated Installation
+ On Volume Named: Macintosh HD
+ Erase before installing
+ Primary Language: English
Apply System Configuration Settings
+ Apply Computer Name and Local Hostname settings from a file: <FILE>
Add Packages and Post-Install Scripts
+ Shell Script [Doesn't work - we're discussing in it in another thread]
Create Image
In: Public
Named: NetInstall Classroom
Volume Name: Classroom iMacs
Index: 1 -
I am a teacher of mathematics and i have a windows pc, but i want to do the next step. I want to buy an iMac. I want to learn how to write mathematical equations and how to do geometrical schema in my documents with iMac. Help me please!!! Thank you very much!!!
Bonjour VAGRAI
1) To write math expressions in a text :
— Microsoft Office 2011 etc. for Mac use its included Equation Editor.
— OpenOffice.org (OOo) and NeoOffice : download free Dmath 3.3.
— iWork (Pages, Numbers, Keynote), download free MathType 6.7, fully functional for 30 days, then becomes « Lite » for life as good as the Microsoft equation editor ; it’s better than using Grapher’s equation editor (Applications > Utilities) because MathType can be called from Pages and allows editing equations by clicking the math expressions your text (details on MathType website) .
— Graph.app 2.3 in Mountain Lion is built to draw curves and surfaces from equations, so it uses an equation editor less powerful than mathType, but it’s easier typing expressions. You may get 2D 3D geometrical drawings from clever equations. Suggest a glance at http://y.barois.free.fr/grapher/ to know all about Grapher (83 pages Instructions for Use - Grapher) and some examples
2) Geometrical schema :
— GeoGebra is very popular and used by math teachers.
— Google SketchUp 8 was not built for mathematics but for architecture, but it’s very easy using it to draw 2D 3D surfaces and solid figures.
— ShapeOnYou.app allows simples geometrical figures http://pierre.chachatelier.fr/programmation/shapeonyou_en.php
3) Some useful websites for screen shots of geometrical schema :
http://www.mathcurve.com/
http://perso.orange.fr/roger.assouly/
Drawings files PDF, TIFF, JPG … can be inserted in an iWork window (Pages).
I hate LaTex : not necessary to write math books !
Au revoir VAGRAI,
YB24
Attachment : lines and curves were made with Google SketchUp 8, screen copied (Command-Shift-4), inserted on a Pages sheet to add letters figures rectangles title.
SketchUp allows drawing precisely an arc of circle 325 mm radius 22,5° angle for instance. -
How to show company name and contact name on the incoming calls of iPhone 4
Kindly provide me with a useful solution of how to show company name and contact name on the incoming calls of iPhone4.
even with an application or from the setting of the iPhone itself, but without telling me a solution like writting the company name in the contact name field.
This is a very important option, i think it is a must, not an option and apple should fix this problem fastly. because it is already available in the older models of iPhone like iPhone 3G and 3GS.
How an important feature like this could be available in old models, but in the later models is not available?Currently not possible without putting the company name in the contact name's field. AFAIK, it's never been available on any iOS version.
You might check the App Store for an app that can do this although I'm pretty sure you won't find one.
http://www.apple.com/feedback/iphone.html -
How to pass column name at run time in function.
how to pass column name at run time in function as parameter.
thank in advance
pramod patelHello,
Using dynamic sql you can pass column name to function. well I am not getting what you really want to do ? Please write in more detail. By the way I am providing one example here. see it uses dynamic sql.
Create or replace function fun_updtest (p_columnname_varchar2 in varchar2,
p_value_number in number)
return number is
v_stmt varchar2(500);
begin
v_stmt := 'update emp
set '||p_columnname_varchar2||' = '||to_char(p_value_number)||'
where empno = 7369';
execute immediate v_stmt;
return 0;
commit;
end;
call to this function can be like this..
declare
v_number number;
begin
v_number := fun_updtest('SAL',5000);
end;
Adinath Kamode -
How can I change name and password of my local network
I have just changed to the new AirPort Time Capsule. In setting up teh network and have unsed new names and now some of the HW is not working correct. How can I change name and change the passwords
Use Airport Utility and change them in the same way you set them up in the first place.
-
How to change of NAME and IP after RAC installation.
Hi Friends,
I have a challenge here...Would appreciate if anyone can help me..
I have to install 10.2.0.3 Oracle RAC on windows 2003 server 64 bit.
My issue is now the server names and ips are set and I am going to install the RAC.
But the client need is that after one month, they need to change the names and ips of the servers (a one time change).
Because according to their server naming standards, current production servers are having the acceptable names and ips.
The installation was on a 32 bit OS, so they are facing out of process memory errors. Thats why they are going to 64 bit OS on new servers.
After the new servers are ready, the data will be migrated to new server. After a month, they need to change the names of new servers to that of the old (current production) servers.
Could anybody help me by giving me information about how to change the NAME and IP after a RAC installation ?
Any metalink notes or commands as it is........
Thank you,
Mahesh.Hi,
You can change the IP later but you can not change the hostname of the system.
You have to install CRS freah if you want to change the hostname of the system.
Please let us know which IP you want to change.
You can see the metalink Note.276434.1 for VIP or VIP hostname change.
Regards,
KK -
How to change the name and description of a wim using DISM
With Imagex we could update the name and description of the wim with on easy command:
imagex /info img_file [img_number or
img_name] [new_name] [new_desc]
e.g.
imagex /info Win7Combined.WIM 1 "Win7(x86)" "Windows 7 x86"
Since the ImageX tool is deprecated in Windows 8 and has been replaced with DISM, can someone explain how to update the name and description with one easy command using DISM like we could with Imagex?It looks like this person had the same issue. Have you seen this
link
It talks about exporting an Index into a new WIM. Which, in a way, would be renaming it. It's really recreating it and you have to give it a name. But it seems to work.
Dustin Estes - MCP | www.dustinestes.com -
How to pass user name and password in openConnection method ?
Hi, Exports,
I am trying to post data from applet to another application which is
protected by network password.
How to pass user name and password when I use openConnection method? In java
doc, this method looks like do not accept these two parameters.
Thanks
----- my code in applet ---------
URL url = new URL("http://127.0.0.1/xml/index.cfm");
URLConnection connection = url.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(false);
connection.setAllowUserInteraction(false);
DataOutputStream dos = new DataOutputStream(connection.getOutputStream());
dos.writeBytes("POST " + path + " HTTP/1.0\r\n");
dos.writeBytes("Referer: http://127.0.0.1/XML/index.cfm\r\n");
dos.writeBytes("Content-Type:
multipart/form-data;boundary=---------------------------7d0b414b04\r\n");
dos.writeBytes("Host: "+host+":"+port+"\r\n");
dos.writeBytes("Content-Length:" + buff.length()+"\r\n");
dos.writeBytes("Connection: Keep-Alive\r\n\n");
dos.writeBytes("-----------------------------7d0b414b04\r\nContent-Dispositi
on: form-data;name=\"xmlDoc\"\r\n\r\n");
dos.writeBytes(buff.toString());
dos.writeBytes("\r\n-----------------------------7d0b414b04--\r\n");
dos.close();
you need to negotiate Authentication in ur applet code...
For example:
If u r using Form based auth u need to send Post a request with j_user_name &
j_password to the action j_security_check. and when server returns back the
cookie
u need to hold it and pass that cookie to the each and every request made to the
protected application.
Basically u need to imitate the browser.
regards
aseem
David wrote:
> Hi, Exports,
>
> I am trying to post data from applet to another application which is
> protected by network password.
> How to pass user name and password when I use openConnection method? In java
> doc, this method looks like do not accept these two parameters.
>
> Thanks
>
> ----- my code in applet ---------
> URL url = new URL("http://127.0.0.1/xml/index.cfm");
> URLConnection connection = url.openConnection();
> connection.setDoInput(true);
> connection.setDoOutput(true);
> connection.setUseCaches(false);
> connection.setAllowUserInteraction(false);
> DataOutputStream dos = new DataOutputStream(connection.getOutputStream());
> dos.writeBytes("POST " + path + " HTTP/1.0\r\n");
> dos.writeBytes("Referer: http://127.0.0.1/XML/index.cfm\r\n");
> dos.writeBytes("Content-Type:
> multipart/form-data;boundary=---------------------------7d0b414b04\r\n");
> dos.writeBytes("Host: "+host+":"+port+"\r\n");
> dos.writeBytes("Content-Length:" + buff.length()+"\r\n");
> dos.writeBytes("Connection: Keep-Alive\r\n\n");
> dos.writeBytes("-----------------------------7d0b414b04\r\nContent-Dispositi
> on: form-data;name=\"xmlDoc\"\r\n\r\n");
> dos.writeBytes(buff.toString());
> dos.writeBytes("\r\n-----------------------------7d0b414b04--\r\n");
> dos.close();
>
> ------------------------------------------
-
How to fetch APPROVER NAME and approval date dynamically for an user
Hi all..
How to fetch approver name and approval date dynamicall for an user in an email template..
can any help me to sort out this pbm,i am new to IDM..
Thanks in advance..Access policies get a static value. You can't populate a field with an adapter. If you must do this, leave the field blank, and put an adapter on the process form for your field that must be populated using code or logic.
-Kevin -
How to validate user name and password in webdynpro.
Dear All,
Actually i have created login name and password in view, webdynpro and want to validate the user name and password but i am not finding proper code to how to validate user name and password.
Pl do the needful help.
Regards.
Tazeer.
Moderator Message: There is a seperate forum for WebDynpro. Please ask your question there.
Edited by: kishan P on Oct 5, 2010 1:08 PMHello, I don´t get you question. User authentication is ready out of the box in webdypro...
Regards Otto -
how do remap drive names and not lose project clip links to Event names...?
You will need an extra external drive. All moves must be done within iMovie to preserve your links to the projects.
First Move (command-drag) the event to the extra drive. Make sure the project still works.
Then rename, reformat, or repartition your drive as needed. Then, if you want, move the Event back to the newly named drive, again via Command-Drag within iMovie. -
How to Concatenate Table name and Where condition at runtime
I am passing parameter as User and Zone to Stored Procedure.How to concatenate Table Name
and WHERE CONDITION in SQL Statement.i have different type of users and zones.Hi !
declare
cur sys_refcursor;
r emp%rowtype;
v_sql varchar2(512);
begin
-- do your logic here
v_sql := 'select * from emp';
open cur for v_sql;
loop
fetch cur into r;
exit when cur%notfound;
dbms_output.put_line(r.ename);
end loop;
close cur;
end;In this example you can see how can be done this with cursor vars .. You should concatenate v_sql string according to your requirements.
But as in further posts has already been mentioned , be carefull at publishing such kind of procedures and think on security.
Also when you want dynamicaly change from clause , you should consider using different records to accept data ? Maybe all your tables has the same structure and then this problem will be smaller.
T
T
Maybe you are looking for
-
i have a gorp and i need help importing my hd videos that i know i shoot in hd, to imovie 11. it wont let me click on them, there transparent and it wont allow it. can someone help me figure this problem out?
-
Recording & Playback - frequent error
I am getting the following error once in every two days. The application is in TEST now. What should I do to increase the number of recordings/limits? 2010-03-29 08:06:46,250 ERROR [STDERR] Mar 29, 2010 8:06:46 AM com.adobe.idp.auditworkflow.dsc.serv
-
How can i get the name of a symbol and pass to a variable?
Hello! Is posible to get the name of a symbol and pass to a variable?? Thanks Sonia
-
Newbie: Java/JDBC best approach
Hello, i am having trouble understanding the best approach to develop java/jdbc programs. I was told that the i could best load resultset data in to value objects loaded into a vector and handled by data access objects instead of using the resultset
-
Photoshop CS5 freezes for several seconds in Windows 7
I am using Photoshop CS5.1 Extended with Windows 7 Professional 64 bit with 6GB of RAM. Everything worked good until about a week ago. Now when I am working in the program all of the sudden everything freezes - the window, menus, everything. The o