Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search engine testing
02-23-2010, 10:18 AM
Post: #1
search engine testing

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
Find all posts by this user
Quote this message in a reply
02-23-2010, 12:36 PM
Post: #2
RE: search engine testing
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
Find all posts by this user
Quote this message in a reply
03-03-2010, 04:20 PM
Post: #3
Smile RE: search engine testing
You can use regular expression like ".*QTP.*" to search the QTP String.
Find all posts by this user
Quote this message in a reply
02-25-2011, 01:14 PM
Post: #4
RE: search engine testing
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
Find all posts by this user
Quote this message in a reply
02-25-2011, 03:43 PM
Post: #5
RE: search engine testing
(02-25-2011 01:14 PM)priya999 Wrote:  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

Yes, one of the possible solutions.

Basanth
QTP On Unix- Java Way - Without Putty or Terminal Emulation
You have no idea how high I can fly...
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)