Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / mithuna reddy

Hi Manjunath, done some modifications to your script
please let me know if it is wrong after the first iteration of For loop when the browser object is close the second iteration would throw an error, so I have put SystemUtil in For loop

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

For i=LBound(Arr) to UBound(Arr)
SystemUtil.Run "iexplore.exe","www.google.com"
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 ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the quicktest professional (qtp) automation object model?

1041


How to save your test using quicktest professional?

1130


Explain the concept of object repository & how qtp recognizes objects?

1211


Explain the Different types of QTP test assets and their extensions?

1165


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1939


What are the technologies supported by qtp?

1030


What is qtpro?

1121


What is keyword view?

1049


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1955


How many number of actions possible in qtp?

1101


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

2042


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1939


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

2241


How to get the particular property value?

1129


Brief the process of testing with UFT?

1127