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 is modular framework?
I want write ISTQB exam . Please inform me where is the centre in this exam in Kerala? Is there any exam centre in Trivandrum.(Fees, Date,Time,Centre)
Can you tell me what was your last/ current project? What exact tasks were you responsible for? Give details in terms of testing done and tools used if any.? I need sample answers to this very major and important question. As detailed as possible. Thanks
What is criticality?
Daily howmany bugs will you find and what types are they?
In which order should tests be run?
Explain 'Software metrics'?
What are the common mistakes which create issues?
What is parameter?
what is trigger? What is stored procedures? What is a cursor?
what are the main bugs which were identified by you and in that how many are considered as real bugs?
What is compliance testing ?