i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script...
i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?

Answer Posted / manjunathareddy

SystemUtil.Run "iexplore.exe","www.google.com"

Arr=Array("ram","raj","san")

For i=LBound(Arr) to UBound(Arr)
Browser("name:=Google").Page("title:=Google").WebEdit("name:=q").Set Arr(i)
Browser("name:=Google").Page("title:=Google").WebButton("name:=Google Search","type:=button").Click
Browser("name:=.*").Close
Next

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is virtual object supported in low level recording mode?

619


How to record application running on the Virtual machine?

636


What is the difference between Keyword Driven test and Data Driven test?

1771


Whether qtp 9.0 supports Test director8.0

2116


explain structured testing? plz guys with exp. do answer

1408






How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

623


What is the XML file architecture ?

1545


Describe how Smart Identification is used

1691


What is text/text area checkpoint?

562


Where can I find and view run-time data table?

522


Explain more about the Test Fusion Report of QTP?

603


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6300


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1574


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1738


What are the benefits of qtp?

550