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

Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

722


banking project description for software tester

7108


What is difference between shared and local object repository?

672


Have you done batch testing in qtp? If yes how you are doing?

594


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3301






how interviews will be on QTP?

1601


How to use checkpoints in qtp ?

666


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

675


What is expert view in qtp?

687


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

687


What is qtpro?

696


How to run a test using quicktest professional?

611


How to start recording using quicktest professional?

704


In qtp, how you can use xpath to identify objects?

704


How do you convert manual test cases to automated test cases?

666