Results 1 to 8 of 8
  1. #1

    Recording Web Based objects

    Hello Guys

    Which is the best method for recording in web based testing and Why?

    Context Sensitive Recording or Analog Recording
    Srikanth Harkara
    Software Engineer - QA

  2. #2
    Join Date
    Oct 2002
    Trichy, Tamil Nadu, India

    Re: Recording Web Based objects

    Better way is Context Sensitive Not only for Web based application for all application.

    But the Best way is Don't use both recording(It should be a partial) for your testing do it by programming. This is the best way of doing automation testing.


    GFT Technologies,

  3. #3

    Re: Recording Web Based objects

    Is this an interview question?

  4. #4

    Re: Recording Web Based objects

    Yup, it was asked in an interview at one of the Inidan company.

    Do anyone has idea of scripting with web based apps? Please guide me with the testing web based apps.
    Srikanth Harkara
    Software Engineer - QA

  5. #5

    Re: Recording Web Based objects

    That's what the WebTest add-in is for, which comes with your basic WinRunner installation.
    web site | [url=http://www.ebookworm.us/[/url]

    [i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.</i] (The Song of Roland)

  6. #6

    Re: Recording Web Based objects

    Well, this may be basic question.I wanted to know how to record the web based testing, I know about the Add-in feature and I used add web, then I don't know how to record the web based application.
    Can anyone guide me through step by step procedure about how to record the web based testing.
    Give me some example, of real site, like Microsoft.com or something for better understanding.
    Your help would be highly appreciated.

  7. #7

    Re: Recording Web Based objects

    For example, let us take a testcase which tests login.
    testcase says:
    Invoke rediffmail.com.
    Enter valid login and password.
    click Go button.
    Click Go To Inbox link
    Expected result:
    Inbox is displayed.

    Automate this test case as follows.

    1. Invoke WinRunner along with WebTest addin.
    2. Select a new test.
    3. open a web site. ex: rediffmail.com
    4. select context sensitive recording in Winrunner and enter login password, click Go button.
    5.Click on the link, Go to Inbox

    script looks like this.

    # Welcome to rediff
    set_window("Welcome to rediff",11);
    edit_set("login","username here");
    password_edit_set("passwd","encrypted password here");
    web_image_click("go_a", 9, 6);

    # Welcome to Rediffmail: Inbox
    set_window("Welcome to Rediffmail: Inbox",1);
    web_link_click("Go to your Inbox");

    # Welcome to Rediffmail:
    set_window("Welcome to Rediffmail:",11);

    stop recording and save GUI in a location .

    close rediffmail and again invoke rediffmail and run this test, this is called play back.
    This method is not used in real time projects.

    we need to use TSL.
    existing script can be modified using TSL>

    1.To make winrunner to invoke the site by itself,
    add the following lines as first two lines in the script.


    For validations, win_exists() can be verified using if else.

    Hope this will help you.

  8. #8

    Re: Recording Web Based objects

    Thanks a lot padmalaya,I think it should work, I understands all the steps, and thanks once again for the details explanation.
    If I should have any question then I will post, let me try this.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:38 PM.

Copyright BetaSoft Inc.