GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  LoadRunner
Go To First  |  Previous Question  |  Next Question 
 LoadRunner  |  Question 85 of 125    Print  
How to Corelate Manually?

  
Total Answers and Comments: 4 Last Update: June 05, 2008     Asked by: murali 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 26, 2007 23:01:21   #1  
Amit Shah        

RE: How to Corelate Manually?
Correlation is needed for the value which is dynamicaly generated by the server, and that value is again send by the the client. For doing the correlation we have....... 1st way):-to record same script two time and find the diff between the two recorded script using windiff option, now find out, what is the diff between them, get the value which may dynamically changing by the server eg. Session id, now copy that value from any script and find the same in Generation log of same script, find the left and right boundry of that value, now come to recorded script, goto to insert into step option, and insert correlation step, with specifying the option of left and right boundry(which u can find in generation log).............now where exactly  we can insert thta correlation step....so for that copy the left boundry of the dynamic value, serch that value in the replay log, after searching click that line there only that line will focus automatically on line in the sript ,so at the first of that line we have to insert the step.......this processes is called manual correlation.
 
Is this answer useful? Yes | No
November 27, 2007 03:00:02   #2  
subhashini        

RE: How to Corelate Manually?
We have a function web_reg_save_param , here we define the instance which is generated between the left and right boundaries. this function saves any auto generated instance in this boundaries. This is what we call as manual correlation
 
Is this answer useful? Yes | No
December 18, 2007 23:51:29   #3  
lalithchaganti Member Since: July 2007   Contribution: 4    

RE: How to Corelate Manually?


Here is the Example for correlation.

In the Below Script:
web_reg_save_param("Queries1",
  "LB/IC=src="ElinkTop.asp?querys=",
  "RB/IC=">",
  "NotFound=ERROR",
  "Search=All",
  LAST);


Queries1 is Cor Name
LB/IC=Left Bound and Igonre Case
RB/IC=Left Bound and Igonre Case
Not Found=If the LB,Rb is not found in u r script then throughs Error
Search = All means searchs all the the body... etc
one more thing is Ord is Ordinal if the value is 2 it checks the second found tag.
All the CorName should be Unique.

web_reg_save_param is a registration type function. It registers a request to find and save a text string within the Web page that was retrieved. The operation is performed only after executing the next action function , such as web_url.


Some times the LB, RB is exists and found corectly also throguhs error because of memory. To reduce above problem u should use 
web_set_max_html_param_len("VALUE");
Example Value=50000 as per u r application.

This is very imp function and useful feture in LR..
Thanks and Regards,
--Lalith Kumar Chaganti
 


 
Is this answer useful? Yes | No
February 04, 2008 10:09:16   #4  
prajeshbe Member Since: February 2007   Contribution: 13    

RE: How to Corelate Manually?
Record two scripts for a same scenario with different inputs.
Now compare these two scripts by using WDIFF. You can download it freely in google.
Take the junk values and Find the left boundary and right boundary in "Recording Log"
Substitute the values of LB abd RB using web_reg_save_param function.

You can contact me at prajeshbe@gmail.com to know more about manual correlation

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape