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
what are the certifications do we have in testing,i hold 2yrs 4months experience in testing..who are offering,how much do they cost..whom to contact .plz give me supporting URLs
What are the maximum no. of devices supported in SCS-1,2 and 3?
What is considered to be a good test?
In the 7 Stages of the SDLC (Planning, System Analysis, System Design, Development, Testing, Implementation, and Maintenance), WHO are the stakeholders of each stage?
What is a technical analyst?
What is Gap Analysis
What is storage virtualization?
while testing a bug has been found and reported but it was not fixed and delivered to the client what will be the effect on it?
What is “FRAG” related to Gaming
What is the major problems you resolved during your testing process?
What is vdd - version description document?
how do u know the defect report is correct or not?