Last browser response for a web functional code
Hi
I am doin a functional testing where i want to playback my recorded data .....but at the same tym i need to get the last browser response for the same and store the same in some variable so that as per the response i can take a suitable action to make the automation ......go through all errors or exceptions ....pls help
Thanks and Regards
kate
where ever do you think error may occur there please add 'Capture Screen' in your script so that you will have error description with the screenshot in the result report.
or do some validation and export the results to the output result report using the below methods,
info("Data");
warn("Data");
fail("Data);
and how can you get the html source code from the script? we can get the html source code from Result Report.
please reply me if this answer satisfy your Question.
Regards,
Ramesh
Similar Messages
-
The save for the web function has stopped working in my copy of photoshop elements 12. I get this message, “ The operation could not be completed. The system cannot find the path specified” Resetting preferences did not fix.
my os is windows 7. elements 12 worked fine for many months then save for the web stopped working
-
Last Modified Layout For the Standard T-code
Hi,
Please let me know last layout modified for any standard T-Code by which user & Layout Name . . .
Regards
ASHOK KHi Ravi,
I have checked it by creating a transaction variant.
My requirement is all fields other than storage bin field should be display only.
if u have any document transaction varient plz send me.
Thank u
Nani -
401 HTTP Response for remote web service portlet
Hi, I am trying to configure IIS web page in ALUI as a remote web service portlet. I have used one of the help HTML pages of IIS server to configure portlet.
http://localhost/IISHelp/iis/htm/core/iiwltop.htm
However, I am getting 401 http response error (You are not authorized to view this page) when i view the portlet. The same URL above works fine if I open in a stand alone browser. Could any one of you help in resolving this please?
Thanks
SampathHi, thanks a lot for your help. I am using windows XP professional. When I set my directory security & grant anonymous access to IUSER the default help site also not coming up, i am geting 401 error.
When I checked the option Integrated Windows Authentication, then in Internet Explorer the help pages are coming up with out asking for user name and password. I installed firefox and checked. In Firefox, a prompt was coming to fill user name and password. I filled in my local windows authentication details and the page was working.
I provided the windows login details for the remote server in Administrator's basic acuthentication information. I was still getting the same error (401 error). Then I went to IIS, drectory security settings and checked Basic Authentication(password is sent in clear text) & unchecked Integrated Windows Authentication, the website pages in IIS were showing up in ALUI. WIth this, my problem is half solved.
The next problem is, I have siebel analytics web application running on IIS. This website requires user name and password if i have to access any report (say). It automatically redirects to my login page. Now I do not want portal user to enter the login details again for accessing siebel reports. But since I have two authentications (now) one for IIS and one for Siebel reporting website, any one know how to configure this?
I was trying to configure different authentication in web service that i was creating in ALUI, but siebel website authentication information I am providing in web service is overriding the IIS authentication and I am getting 401 error (initial problem). I appreciate any auggestions.
Thanks a lot in advance.
-sampath -
"Add To Browser Favorites" for ABAP Web Dynpro
Hi All,
In the Portal Environment, the end user has an option to "Add To Browser Favorites". This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed. Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal?
Thanks in advance for your help.
JohnJohn Breen wrote:
Hi All,
>
> In the Portal Environment, the end user has an option to "Add To Browser Favorites". This will trigger the "Add a Favorite" window in the Internet Explorer and the user can save the favorite as needed. Do we have a similar cabapility in ABAP Web Dynpro if the Web Dynpro is not delivered through an SAP Portal?
>
> Thanks in advance for your help.
>
> John
No. There is no similiar option in the Web Dynpro framework, nor can you access JavaScript in order to interact with the web browser and supply this feature. Browser Favorites can be maintained by the NetWeaver Portal Framework or in the NetWeaver Business Client by the surrounding frame. In the case of the NWBC, it isn't actually browser favorites but a separate set of favorites merged with Easy Access Menu favorites. -
Payload reponse for a web code
Hi
I am working on an application where is am doing the recording and playback in web and not web/http .
Now i need to get the last browser response ( payload) response .......for the same similar to the response we get for the http code.
As for the http based testing i am able to get the last browser response in a xml format which is quite useful in getting the complete information.
But for the web based testing the payload we get if any is stored somewhere which we dont know , first of all i want to know if there are any functions to get the response straight away or if we are getting any response from the browser where is that loaded or saved ...
please help.
Thanks & Regards
KateHi
I am working on an application where is am doing the recording and playback in web and not web/http .
Now i need to get the last browser response ( payload) response .......for the same similar to the response we get for the http code.
As for the http based testing i am able to get the last browser response in a xml format which is quite useful in getting the complete information.
But for the web based testing the payload we get if any is stored somewhere which we dont know , first of all i want to know if there are any functions to get the response straight away or if we are getting any response from the browser where is that loaded or saved ...
please help.
Thanks & Regards
Kate -
Dynamic determination of function text for function code
Hi there,
i have coding that logs all the function codes pressed in a report, that function codes are defined in the GUI Status or dynamic created in a toolbar.
In my log i have now all the function codes, but it would be better if i also have the function text of theese function codes. Is there any chance to get the function text for a given function code?
E.G. user pressed Button "Refresh" , i log the function code "REFR", but i also want to have the text "Refresh". Is that possible?
Thanks
SteffenHi steffen,
try
CALL FUNCTION 'RS_CUA_INTERNAL_FETCH'
EXPORTING
PROGRAM = PV_NAME
LANGUAGE = FS_LANGU
IMPORTING
ADM = FS_ADM
TABLES
STA = T_STA
FUN = T_FUN
MEN = T_MEN
MTX = T_MTX
ACT = T_ACT
BUT = T_BUT
PFK = T_PFK
SET = T_SET
DOC = T_ATRT
TIT = T_TIT
BIV = T_BIV
EXCEPTIONS
NOT_FOUND = 1
UNKNOWN_VERSION = 2
OTHERS = 3.
Regards
Clemens -
ALV-Grid: Is it possible to catch "LOCAL Function Codes" in any Event ??
Hi,
is it possible that i can catch a "Local Function Code" in ALV Grid with an Event??
For example if you click to an Grid Button on the toolbar than it must call an Event!
..........BUTTON: Local APPEND (existing in ALV Toolbar)
Function Code: '&LOCAL&APPEND'
My Idea is:
--- IF i click to the Button "Local APPEND" in the ALV toolbar, than it must after this command give me an Message( "It was Successfull" ).
But the "Local Function Codes" dont called the Event "User_command" OR "After_user_command" is there any other Event for this "Local Function Codes"???
Have anyone an idea?
Thanks in forward.
ErsinHi,
See following thread.
http://scn.sap.com/thread/715996
Thanks
Santosh -
CS3 crashes when using Save For The Web
I recently installed CS4, but because of the slow performance problems with it, I've gone back to using CS3. I'm finding that every time I use CS3's Save For The Web function, CS3 crashes. I tried re-installing CS3 but the problem persists. Save For The Web on CS4 is OK.
Anyone got any suggestions?Try resetting the SFW preferences.
LenHewitt, "How to delete/reset Photoshop preferences" #1, 23 Jun 2004 12:05 am -
Elements 12 save for the web not working
The save for the web function has stopped working in my copy of photoshop elements 12. I get this message, “ The operation could not be completed. The system cannot find the path specified” Resetting preferences did not fix. Windows 7 64 bit is the os
my os is windows 7. elements 12 worked fine for many months then save for the web stopped working
-
IM Mvt Type Reversal - any info on Function Codes?
Hi, can anyone point me in the direction of some documentation that explains the usage of function codes in IM Movement Type Reversal customization? Thanks in advance.
OK, when you customise a Movment Type in Inventory Management and Physical Inventory the Mvt Type has a number of linked movements for reversals i.e. a reversal of a 101 is a 102 for function Code ST and 101 for Function Code SN: -
Mvt FCode Description Mvt Type of Posting
101 RL Return Delivery 122 1
101 SN 101
101 SS Reversal (Detail) 102 2
101 SSR Return Del. (Detail) 122 1
101 ST Reversal 102 2
101 WERE Returns Item 161
I cannot find any help with regards to what the useage is for the different function codes as seen in the table above......can anyone help? -
Issue in creating web service for a ABAP Function Module
Hi,
now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
1. select the Function Module, named "zws_test".
2. in the context menu, select "create->proxy object". so we enter into wizard.
3. in the wizard, press the radio button "Service Provider".
4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
8. Save in the local package.
9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
15. I use t-code SM59 to test connection and get the following info.
Status HTTP Response 200
Status Text OK
Duration Test Call 328 ms.
who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
Thanks in advance
Johnneyhave you seen this weblog
/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices -
Error ! No field defined for function Code in MENU EXIT
Hello All,
I've created a project in CMOD for the MENU EXIT for handling one menu item in the SAP Standard Menu Bar .
i.e under the HELP MENU Item I've included one more sub menu item.
I've activated the project and I'm able to se the newly added Sub-Menu Item in the activated mode.
But when I press the newly created Sub Menu Item I'm getting a Message in the Status Bar saying :
No field defined for the function code
The Help of it says :
Message no. 00125
Diagnosis
The function code field (OK code field) has not been defined on this screen. If the user selects an application function (not a system function), the system usually provides it in the function code field (OK code field) as well as in SY-UCOMM. This is no longer possible.
System Response
The system is unable to inform the application of the current function code. The application should not use field SY_COMM. This field always contains the code of the last function chosen, which is not always identical to the application-relevant code.
Procedure
You should always define a field for the function code on every screen. The Screen Painter always proposes such a field (OK category), you only need to assign a name and include the definition in the ABAP program.
Please let me know what shud be done ?
Regards,
Deepu.KDon't use this scanrio ! Instead got Access Key and chamged the Std. Program.
-
Hi,
I am using Javascript serializer to send server side code to javascript.
This works in IE 9, Mozilla, chrome. But fails with error in Safari as "request failed. unexpected response from server. the status code of response is '0' . status text of the response is ". null
My code is as below:
<asp:UpdatePanel ID="panLayout" runat="server">
<ContentTemplate>
<div id="divloadingImage" >
<br />
<asp:Image ID="imgLoading" runat="server" ImageUrl="/images/rotate.gif" ImageAlign="Middle" />
<br />
</div>
<div id="banner-fade" >
<ul id="carousel" class="bjqs">
</ul>
</div>
<asp:Timer ID="timerRSS" Interval="1" runat="server" ontick="timerRSS_Tick"></asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
In CS:
protected void timerRSS_Tick(object sender, EventArgs e)
DisplayImages();
divloadingImage.Visible = false;
bannerfade.Visible = true;
timerRSS.Enabled = false;
private void DisplayImages()
List<SharePointListItem> allImages = GetallImages();
JavaScriptSerializer serializer = new JavaScriptSerializer();
string json = serializer.Serialize(allImages);
string script = string.Format("<script type=\"text/javascript\">var allSliderImages={0}</script>", json);
if (!this.Page.ClientScript.IsClientScriptBlockRegistered("clientScripts"))
ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScripts", script, false);
string scriptRegister = string.Format("<script type=\"text/javascript\">FetchData();</script>");
ScriptManager.RegisterClientScriptBlock(panLayout, panLayout.GetType(), "clientScriptData", scriptRegister, false);
In Javascript:
function FetchData() {
if (typeof allSliderImages !== "undefined") {
for (var i = 0; i < allSliderImages.length; i++) {
Imagesuccess(allSliderImages[i].fileleafref, allSliderImages[i].filedirref, allSliderImages[i].caption1);
var rota = $("#bannerfade");
rota.css("display", "block");
function Imagesuccess(fileLeaf, fileDir, UserCaption1) {
var ul = $('#bannerfade > ul');
var li;
var filename = fileLeaf;
var dir = fileDir;
var caption1 = UserCaption1;
var sfils = filename;
filename = dir + '/' + filename;
var imageCaptionData;
if (caption1 != null && caption1 != "") {
imageCaptionData = '<div class="HeadlineDiv">' + caption1 + '</div>';
li = $('<li>' + imageCaptionData + '<div class="SubHeadline" style="color:white;">' + '<br/></div>' + '<img src="' + filename + '"/>' + '</li>');
ul.append(li);
$('#bannerfade').bjqs({
height: 354,
width: 970,
responsive: true
Below is the data I get:
<script type="text/javascript">
var allSliderImages=[{"id":"1","Title":"Scenic","caption1":"scenic","fileleafref":"02.jpg","filedirref":"/s/Test/Library"},
{"id":"2","Title":"nature","caption1":"scenic2","fileleafref":"C034.jpg","filedirref":"/s/Test/Library"},
{"id":"3","Title":"Tiff","caption1":"Tiff","fileleafref":"test_tiff.tif","filedirref":"/s/Test/Library"}]</script>
The data is shown in all browsers except Safari. How to fix this?
Update: I have checked this link: http://sharepoint.sureshc.com/2013/07/unexpected-response-data-from-server-in.html
but that did not help.
ThanksHi,
From
this documentation, though SharePoint 2013 supports several commonly used web browsers including Apple Safari (latest released version), it is not guarantee
that SharePoint 2013 can run perfectly on all these browsers, “certain web browsers could cause some SharePoint 2013 functionality to be downgraded, limited, or available only through alternative steps”.
According to the code provided, it seems more relate to ASP.NET, therefore, a suggestion is that you can open a thread in ASP.NET forum, communities there will be more familiar
with this issue:
http://forums.asp.net/
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
Safari question here... Can I purchase a browser update for my mac book? I have OSX 10.6.8 and the "update software" function won't let me get past Safari 5.1.10. Please tell me I don't need a new computer just yet... Thx!!
You need to upgrade OS X.
Upgrading to Yosemite
You can upgrade to Yosemite from Lion or directly from Snow Leopard. Yosemite can be downloaded from the Mac App Store for FREE.
Upgrading to Yosemite
To upgrade to Yosemite you must have Snow Leopard 10.6.8 or Lion installed. Download Yosemite from the App Store. Sign in using your Apple ID. Yosemite is free. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
OS X Mavericks/Yosemite- System Requirements
Macs that can be upgraded to OS X Yosemite
1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
7. Xserve (Early 2009) - Model Identifier 3,1 or later
To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
Are my applications compatible?
See App Compatibility Table - RoaringApps.
Upgrading to Lion
If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
You can purchase Lion at the Online Apple Store. The cost is $19.99 (as it was before) plus tax. It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
Lion System Requirements
1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
or Xeon processor
2. 2GB of memory
3. OS X v10.6.6 or later (v10.6.8 recommended)
4. 7GB of available space
5. Some features require an Apple ID; terms apply.
Maybe you are looking for
-
Row doesn't format properly in Pages
I'm new to Pages. I've got an issue with a 1-row table (3 columns). The row is half way down the page, but the content in each column is only a few lines! I've tried "fit height to content"...I've made sure there aren't any spaces or other random
-
Reducing Initial Startup time in Flex 1.5
How can we reduce initial startup time of a flex application ? Suppose we have a large application , and we want to reduce application startup time. Is it possible that we are able to devide application into multiple SWF files and (Initially ) only t
-
Safari's Reading List web sites
Safari's Reading List sync'ed with iCloud while behind a web traffic monitor, now links/web pages are not available. Bookmark file has the serverID flag though, how can I reconstruct my reading list?
-
Newbie to Mac - which must-have apps do I need?
I just switched from PC to MacBook Pro. What are the must have apps that I have to have? Do I need virus protection? Antispyware? I want an app to help me keep my Mac cleaned up. Is MacKeeper worth it? Should I stick with Safari or use something els
-
I have a 'panic Kernel' error screen appear after my MacBook Pro restarted after installing updates
Hi, I have just finished installing new updates, and in order to complete, I had to restart my laptop, as I did so, an error screen came up with all types of jargon on it, mainly, 'panic' and 'kernel', I can not do anything with my mac now, any ideas