Getting StatusBar Text using Open Script
Hi!
Does anyone know how to verify the status bar text?
I want to enter a record, safe and then check if the StatusBar-Text is like "FRM-40400%".
Any help would be appreciated.
Thanks in advance!
Best regards,
Thomas
Hi!
But that does not work.
I'd like to have something like "StatusBar Test" in LoadTest in Functional Test.
Something like:
nca.assertStatusBarText(
1673,
"FormsLT AutoValidation: Verify StatusBar text value",
"FRM-40400: Transaktion beendet: 1 Sätze übergeben und gespeichert.",
MatchOption.Exact)
The "Text Matching Test" does not find the Text in the Status bar:
System.out.println(forms.getStatusBarMessage());
web.verifyText("StatusBarText_test", "FRM-40400: Transaktion beendet: 1 Sätze übergeben und gespeichert.",
Source.DisplayContent, TextPresence.PassIfPresent,
MatchOption.Exact);
Do i have to program my own "Status Bar Test" in Functional Tester?
Something like
if (forms.getStatusBarMessage().equals("FRM-40400: Transaktion beendet: 1 Sätze übergeben und gespeichert.")) {
System.out.println("Works fine!");
// My own code
Or is there a possibility to crate a variable and stort the Statusbar text in this variable and then do a "Text Matching Test" on this variable?
Thank you!
Best regards,
Thomas
Similar Messages
-
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
} -
PO for item of service Level short and long text using sap script
Please let me know how to do the PO for item of service Level short and long text using sap script.
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on May 5, 2009 10:25 AMHi ,
In the transaction related to PO select the path goto->header texts and then details of the texts like ID,objectname,language,name.Pass all theses details to 'READ_TEXT ' FM. Then you will get text lines described for a perticular Po ,similarly for item also.
Thanks,
Suma. -
Document Upload in ADF protocol using Open script
Hi ,
My transaction is to upload a document into a portal.
I have recorded this transaction in OPEN SCRIPT using ADF protcol.
When i playback the script, it uploads a document with no contents in it.
if i open the uploaded file it has only "Null". The content is missing.
How do i resolve this?
Thanks,
PradeepOne more observation.
While recording the Contents of the file are getting stored in a resourceFile.
http.postdata(http
.param("{{@resourceFile(2283.postData.rsc, OracleBinary, true)}}")),
But while playing back the script , no content goes
Thanks,
Pradeep -
Open script- how to automate RealTimeDecision center using Open Script
Trying to automate Oracle Real time Decision center, but not able to capture the objects in the page,
please help if Oracle Application Testing Suite supports Real time Decision center or is there any way to automate Real time Decision.
Thanks
NikithaHi,
Thanks for the reply. I know that there is this command which you have specified here this only adds user defined Test comments for a iteration.
What i am actually looking for is to report a pass or a fail. For example if there are no Object level tests in the Script then can we add our results based on a custom test that we built.
Forms.textfield.Value1 matches Variable(From Databank) or not. This might be my test but is there a way to tell Open script that i am reporting a pass or fail based on my validation. If you have worked in QTP we have "Reporter.ReportEvent" i am looking some thing like this. This is for overriding the system generated results.
Anyways i have created my own customized HTML results where i report the pass or fails.
If there are any options available please let me know.
Thanks -
Can we get the label name of the particular oracle field using open script
hi
can we get the label name of the oracle fields like column name ORDER NUMBER instead of ORDER_ORDER_NUMBER_0 when recording using openscript.Good morning
Do you develop functional or load test scripts?
I don't think we can in both cases because this is really the name of the field + the index.
The zero refers to first line normally (then 1 for second line and so on).
"Order number" is maybe the display label which is not enough to recognize and interact with a field.
May I ask why you want this, then it could help me (us) to give you a good solution/workaround.
Cheers
JB -
Problem while recording script using Open script.
Installaled OpenScript 12.4,When I try to record a script getting the following error.
Cannot get a connection from the browser helper after 15 secounds.Do you want to continue
Using the thread available in the portal for the above issue followed the below steps
1). CLOSE OpenScript and all browser instances IE & FireFox
2). Run C:\OracleATS\OpenScript\UninstallBrowserHelpers
- Open Command Prompt, navigate to the OpenScript Install directory
(i.e.) cd C:\OracleATS\OpenScript
-Type: UninstallBrowserHelpers and hit Enter.
3). DELETEd the directory C:\OracleATS\OpenScript\Oracle IE toolBar
4). Run the script C:\OracleATS\OpenScript\InstallBrowserHelpers
Getting the following error
WebDom Browser Helper installation failed
Cannot save multiuser execution setting for Chrome plugin in registry under Key: :HKLM\software\MozillaPlugins\@oracle.com/npOPenscriptPlugin"
Environment: IE8
OATS:-12.4.0.2.129Run the files as "Administrator" did the trick for me. Other wise you don't have the permission to write in the registry.
Kind Regards,
Van Aerschot Christel -
Getting base name using shell script
Im having a few issues using finder and would like to use the shell script "basename" to
do the work as opposed to finder.
How would I rewrite this :
tell application "Finder"
set anItem to FileToOpen
tell (info for anItem) to set {tName, tEx} to {name, name extension}
set baseName to text 1 thru ((get offset of "." & tEx in tName) - 1) of tName
end tell
to be used with this:
set baseName to do shell script "basename " & ???????"
Hope ive supplied enough info
Cheers
Budgieset i to alias (the clipboard) -- Expects full path of file or folder, in HFS+ format. This line is for demonstration purpose only.
set baseName to do shell script ("basename -s ." & (name extension of (info for i)) & " " & (quoted form of (POSIX path of i)))
if (baseName contains return) then -- Process folder or file without an extension].
set {oAStid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set baseName to text item 2 of baseName
set AppleScript's text item delimiters to oAStid
end if
display dialog baseName buttons {"OK"} default button 1 -- Displays the folder name or file name less any extension. This line is for demonstration purpose only. -
Hi All ! earlier I was using Microsoft Excel to upload text in SAP (FM - 'TEXT_CONVERT_XLS_TO_SAP'). It was absolutely fine. but, now I wan't to upload text using Open Office excel. i have saved the fle with .xls extension, but it is giving me error. Please advice how to upload text using Open Office excel.
> I cannot import text without saving as a .doc,
Or as RTF.
Kenneth Benson
Pegasus Type, Inc.
www.pegtype.com -
Open Script Loadtesting for Peoplesoft application
Hi,
I have recorded a Web/HTTP loadtesting script for peoplesoft using Open Script *9.0.0.0 Service Release 1*.
When i replay the script at one of the steps where i provide the user input i receive this message.
Failed to solve variable web.option. using path .//OPTION[text()='=']/@value
oracle.oats.scripting.modules.http.api.exceptions.SolveException: Failed to solve variable web.option. using path .//OPTION[text()='=']/@value
at oracle.oats.scripting.modules.http.api.exceptions.SolveException.createSolveExceptionPath(SolveException.java:94)
at oracle.oats.scripting.modules.http.api.HTTPService.solveXpath(HTTPService.java:578)
at script.run(script.java:268)
at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:268)
at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:645)
at java.lang.Thread.run(Thread.java:619)
It would be great if someone can direct me in the right direction.
-NishantSo the real question is when you playback is the element referenced in the error there on the page sent back by the server. A fail to solve issue is a parsing problem as the script looks for a potentially dynamic value. If that value can not be found then the exception is generated. I generally try to get to the bottom of this type of error by examining the returned page and comparing it to the page seen during the originally recorded. If they are different then I look to the navigation that brought me to the page - perhaps the error is the side effect of a bad navigation, perhaps there is a data dependency, etc .....
So, are the pages the same? -
Open Script how to Retrive Databank record values
Hi,
I am trying get a value from Open script and then assign it to a variable for validation.
Can anyone let me know if either of the below possible using Open script
1) Getting Total column count in a Databank file.
2) Getting a field value and assigning it to a variable.
I know that getDatabank("") has some options but it does not include the above mentioned also this has {{DatabankName.FieldName, Recorded Value}} for setting a value while running. Apart from these options are there any other keywords using which we can retrive a databank field values and assign it to variables.
Also there are utilities through which we can access a csv file. But how to assign the value to a Variable.
Example:
Table table = utilities.loadCSV("Directory with File name");
Row row = table.getRow(0);
getLogger().info(row.get(Field Name));
I am looking to get the value and assign it to a variable example Variable1 = row.get(Field Name).
Thanks
Open Script User
Edited by: Openscript User 100 on Oct 20, 2009 4:03 AMhi,Kate,
Do you resolve this problem?
And here i'm trying to compare two column values in the if () {} condition,for example:
String headerNum1 = eval("{{db.po_tsk_0002b_1.headerNum}}");
String headerNum2 = eval("{{db.po_tsk_0002b_2.headerNum}}");
info(" 2_headernum is :"+ headerNum2);
info(" 1_headernum is :"+ headerNum1);
if(headerNum2 !=headerNum1 ){
fail("The headerNum column is not the same with the header.");
I can see in the result window,it show:
2_headernum is :1
1_headernum is :1
Error in section Run at line (script.java:47). Failure when running child script po_tsk_po0002b. Caused by: The headerNum column is not the same with the header.
Can anyone tell me why?
Thks. -
Transfering the data using OPEN DATASET
Hi all,
I am trying to get the data using OPEN DATASET to down load the data and using TRANSFER i am transfering.
i got strucked while i am downloading.
Please send coding how to use open dataset and transfer.
Thanks in advance
VenkatHi ,
you can try this code frangment.
open the file to be created on application server.
OPEN DATASET app_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE e001(zs) .
ELSE.
get header data
PERFORM get_data_header.
*transfer data to application server file.
TRANSFER v_header TO app_path.
get segment data
PERFORM get_data_segment.
*transfer data to application server file.
TRANSFER v_segment TO app_path.
*clear work areas and local variables.
PERFORM clear_local.
get trailer record.
PERFORM get_data_trailer.
*transfer data to application server file.
TRANSFER v_trailer TO app_path.
ENDIF.
CLOSE DATASET app_path.
regards,
Sumit. -
Oracle Open script - Automation of Oracle CRM with oracle configurator
Hi
I'm facing any issue when recording the Order creation using Open Script (Functional testing)
as per Oracle CRM functionality while creating an order it launches a configurator to chose the relavent features against an order.
I'm getting problem when the configurator is launched , the configurator page is slowing down and no response most of of the time and not able to record single order cretion
Please suggest , is there anything that I need to disable /enable in the Open script or any other place so the configurator works normally
Note, when I create an order manually (without Open script) the configurator behaves absolutely fine and working with its optimum speed.
Regards
Kishore VedamHi Raj,
thank you for your answer.
I can only hope that the new version of OpenScript will support the newest JRE and that it's going to be released soon. -
Dropdownlist getting Value/Text?
hi,
In Dropdownlist we can set two values [Values, Text].
I have created a dropdownlist with these values/text
0/1500
1/2000
3/3000
On change event of dropdownlist i can get the text using
xfa.event.newText (1500,2000,3000)
how can i get the values (0,1,3) of the new selected text?
thanks
FarazHi Faraz,
You can use the following to get the values (0,1,3)
this.boundItem(xfa.event.newText)
Regards
Bruce -
Hi There,
I have created a new Open Script in following way
File-> New-> Functional-> Oracle EBS Forms
I have written some code and tried to link the script with OTM. That time OTM is showing script in Directory while linking. It is properly Linked and working correctly.
Then I have created new script again but Now I have enabled Datatable plugin of script from (Script->Properties->Module->Datatable).
This time when the Script is "NOT Visible" in OTM direcotry when I try to link.
I have wasted my 4 to 5 days to find solution on this .
Please show me some way. Thanks in advance.a8a3425e-7553-42bc-a91a-1e93775a8853 wrote:
Hi There,
I have created a new Open Script in following way
File-> New-> Functional-> Oracle EBS Forms
I have written some code and tried to link the script with OTM. That time OTM is showing script in Directory while linking. It is properly Linked and working correctly.
Then I have created new script again but Now I have enabled Datatable plugin of script from (Script->Properties->Module->Datatable).
This time when the Script is "NOT Visible" in OTM direcotry when I try to link.
I have wasted my 4 to 5 days to find solution on this .
Please show me some way. Thanks in advance.
Better asked in the EBS forum: E-Business Suite
Maybe you are looking for
-
DVD-DL disk won't play on my iMac G5
I am having a problem playing a DVD-DL disk on my iMac G5. I burned it on a Windows computer, and it works there, but then I put it into my iMac G5, and it spits it back out! I also tested it on an older iMac G3 and it works on that as well! WHY WON'
-
Lumia 1020 NFC Tab+Share function doesnt work afte...
I was able to use NFC tab+share function with lumia Cyan. It means, I was able to send files to my NFC enabled PC by tabbing my phone to my PC. But after Lumia Denim update I cannot use this function. Devices are not responding to each other. I see t
-
According to the link here: https://msdn.microsoft.com/en-us/library/Dd756379(v=vs.120).aspx "The list of styles is based on a configurable template." the styles shown by the wizard: I'm looking for where these can be configured. This is for a stra
-
Convert excel document to Appleworks help
I have a 10.6.8 OS. I need to be able to open, read and write to an Excel document a co-worker is sending me. Can't even open it......
-
Not sure how to match color more closely...use Pantone?
HI, I've done everything possible to get a certainly red color I want in my ID manuscript, from setting color profiles, snyching across applications, monitor calibration, soft-proofing etc.etc etc. What I see on my monitor with the publishers profile