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
Explain about the quicktest professional (qtp) automation object model?
How to save your test using quicktest professional?
Explain the concept of object repository & how qtp recognizes objects?
Explain the Different types of QTP test assets and their extensions?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What are the technologies supported by qtp?
What is qtpro?
What is keyword view?
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
How many number of actions possible in qtp?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How to get the particular property value?
Brief the process of testing with UFT?