Friday, October 17, 2008

Load runner checkpoints - Text ckeck point



Load runner checkpoints
  • Some time while surfing the internet contents are not downloaded and displayed completely
  • Display of data at client machine is integral part of business process
  • To ensure that all business process have completed end to end while server handles concurrent requests, we need content checks


  • Load runner provides 2 types of check points
o       Text check
o       Image check


  These check points we can add during or after recording the script. These check   point’s stores the expected value. Compare the actual value on the web page to   the expected value during play back and report the comparison results status as   either pass or fail.



For doing text check point i am using already recorded script (Flight reservation)



   Note: Navigation for task pane : view > Tasks


  Click on the content checks link. 










  To insert a text check we need to select particular thumbnail .I will click    on reservations.pl thumbnail.











  To insert text check select Flight departing text in page view and press right  click and choose add a text check(web_reg_find) option.







Most of the times Loadrunner can not allowed to place a checkpoint like this.it will give error message





  Next way is click on the server response tab> click html document> body    node  > flight selection  












  Select Flight departing text and press right click and choose add a text  check(web_reg_find) option. 



Text checkpoint box will appear. And than click ok.










Text point function will be inserted.we can view text check point in tree view. 




And also we can view text check point function in script by sclicking script view icon.




putting Text check point is over.now run the script and we can find out weather the text point succedded or not by verifying replay log.


we can find out "Registering web_reg_find was successful" in the replay log. It means the text check point verified successfully. :)












  In the next artical we will learn about :


     > Image check point
     > various text check pont conditions
     > tips & tricks




Plz post ur valuable Suggestions to testingblog4u@gmail.com :)
















2 comments:

L V Prasad said...

wounderfull thread. thanks for sharing your knowledge dear.

Anonymous said...

I used text check point, and deleted first word of a sentence but it is not showing any error.
Please tell me why??

Performance Testing News:

Loadrunner v12:
- Targeting an April 2012 Development release. Not sure when it will be available for public.
- Customers can participate in the beta program after legal procedures are completed.
- Availability of LR Mobile protocol. Performance testing for mobile (both web browser based as well as native mobile device) – Supports HP Palm Pre, iPhone (3GS, 4), Android, Blackberry phones and many other actual mobile devices.
- Support for Windows7, TruClient IE9.
- VUGen will be completely redesigned and new IDE (called Sharp Develop) will be built.

Performance Testing,Monitoing & Analysis Useful Documents

Download Performance Testing,Monitoing & Analysis Useful Documents


Loadrunner

Design scenario - Download

Record & Replay Issues with VUGen - Download

LR8.1 Protocol Footprint - Download

Monitoring & Analysis

HP Performance monitoring best practice - Download

Others

Load test plan - Download