Results 1 to 2 of 2

Thread: How to capture the page contents

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Answers
    2

    How to capture the page contents

    How to capture the web page contents in QTP9?

    in Yahoo, there we see so many lables, images, But how to write the script to divide the page interms of tables and texts with in that. Because a web page contains table->rows->columns. Can any body help in this regard.


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    211

    Re: How to capture the page contents

    in descriptive programming u can capture collections of similar objects.


    Set oDes = Description.create()

    oDes("micclass").value = "WebTable"


    Set oDesCOLL = Browser(a).Page(p).childobjects(oDes)


    oDescCOLL is the collection of all the WebTables present in the webpage 'p'



    Regards,
    Nawab


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact