Set a=description.Create
a("name").value="Google"
Set b=description.Create
b("Title").value="Google"
Set c=description.Create
c("micclass").value=" webedit"
'c("name").value="q"
'c("type").value="text"


'Set d=description.Create
'd("name").value="q"
Set e=description.Create
e("micclass").value="webbutton"
e("name").value="Google Search"
Set h=description.Create
h("name").value="qtp - Google Search"
Set desc=description.Create
desc("micclass").value="webelement"
desc("type")="qtp"
Set l=description.Create
l("title").value="qtp - Google Search"

'invokeapplication"C:\Program Files\Internet
Explorer\IEXPLORE.EXE","http://www.google.co.in/"
invokeapplication"C:\Program Files\Internet
Explorer\IEXPLORE.EXE"

Browser(a).Page(b).WebEdit(c).set"qtp"

Browser(a).Page(b).WebButton(e).click


set z=Browser(h).Page(l).childobjects(desc)
i=z.count
print i
'For j=0 to i -1
' m=z(j).getroproperty("text")
' msgbox m
' print m
'
'Next


hi guys this is anil. i am beginner in advance qtp. i am
trying to write script for searching web element (QTP)in
google. i have posted a script plz check it. send me
solution how to write scripting for search and counted no
qtp word in google search . plz tell me the solution ASAP


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Testing AllOther Interview Questions

What is iso - international organisation for standardizationo?

0 Answers  


What documents will you need to create a test case?

0 Answers   Atos Origin,


Hai all plz tell me what is a use case ? As for as me concerned a use case is a technique of capturing functional requirments for the client... from which Test Case will be derieved...Is tht rt if so Then what does the BRS business requirments specification or functional requirment specification documents(FRS) do if use case specifies the functionality of an appli....

3 Answers  


Explain 3 high priority test cases for the performance of MSN search engine.

0 Answers   HPCL, Hughes Systique Corporation,


hai, what is v-model

3 Answers  






What is Functional, Non-Functional, and Regression Testing used for (i.e. the purpose of each)?

0 Answers  


waht are somking types

0 Answers   TCS,


What is intrusive testing?

0 Answers  


What is the maximum length of the test case we can write?

1 Answers   TCS,


which is the best institute for testing in hyd?

5 Answers  


Testing wherein we subject the target of the test, to varying workloads to measure and evaluate the performance behaviors and the ability of the target and the test to continue to function properly under these different workloads?

0 Answers  


hi i m priya i m a new commer to this,this is good life of every one.i m surching job now so,i want project detail for NET BANKING and HELTH CARE pls send me quickly.thanks for every body. i m waiting for...........

0 Answers  


Categories