Results 1 to 3 of 3

Thread: how to verify searched results in a web portal

  1. #1
    Junior Member
    Join Date
    May 2007
    Answers
    11

    how to verify searched results in a web portal

    Hi all,

    i am working on a "search engine" with QTP 9.5. During automation i faced few problems.
    1- How to verify all the searched results on page 1 of a web portal in QTP?
    2- how to verify searched results on 2-3 page of the web portal?????

    please give me some solution.

    Thanks and Regards


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

    Re: how to verify searched results in a web portal??????

    1. In the Search Result check the Format of the Search String(e.g Bold, colored).

    2. FOr your Check capture all the search data, if it might be webElement's .

    3. use inStr for the "Searched string".

    4. A counter for 1,2,3 page

    oD = Description.Create()
    oD("micclass").Value = "WebElement"
    oD("html id").Value =

    oDOBJ = Browser(b).Page(p).ChildElements(oD)

    USe Step 1,2,3 for each looping of oDOBJ(count).


    regards,
    Nawab


  3. #3
    Junior Member
    Join Date
    May 2007
    Answers
    11

    Re: how to verify searched results in a web portal??????

    Hi Nawab,

    thanks a lot for ur reply. i m still confused........plz give me a solution with an example of "nauki.com"........i hav tired ur approach on "naukri.com".....but unable to automate it.

    nawab, plz give me solution with example of "naukri.com"

    thank a lot
    vikas goyal


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