Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search engine testing
#1
Solved: 10 Years, 9 Months ago
Hi,

How to test the search engine using QTP for functonal testing?

ex: flow is like below...
1) google.com
2) search value "QTP"
3) got results in n number of pages
Reply
#2
Solved: 10 Years, 9 Months ago
the intension is all the search results are having
1.QTP as substring or text in all the links
2. If no. of pages are more than one clk on each page link to check QTP string in all links
Reply
#3
Solved: 10 Years, 9 Months ago Smile 
You can use regular expression like ".*QTP.*" to search the QTP String.
Reply
#4
Solved: 10 Years, 9 Months ago
plz let me know right or wrong

get the count of the links on the result page
and for each link get the inner text value by using getroproperty

then compare the innertext with qtp by using instr function which ifnd wheather qtp stringis in the link or not

is this the right solution


Reply
#5
Solved: 10 Years, 9 Months ago
Yes, one of the possible solutions.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)