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
How to write business scripts using object repository with different scenarios
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Is it possible to call win runner script in qtp?
What is a quick test professional?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
What are the different kinds of test steps?
What is the difference between run time object and test object in QTP?
How will you test a stapler?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
can the activities of test case design be automated?
Hi,All How to create a link in excel sheet using qtp
Why qtp always start action1 and does not start action?
How to check bitmap output value?