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
Where you get the run time data table?
What are the methods of the TextStream object that are used for reading from a text file?
How do you perform Regreession Testing?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
Explain quicktest professional testing process?
Why qtp the best testing tool?
explain abt dyanamic changing object with example?
What is CMMP and CMMH?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script
What test you perform mostly? Regression or retesting in your testing process?