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 the main objective when reviewing a software deliverable?
Explain how does a test coverage tool work?
What is zoning?
Share 2 high complexity and 2 low complexity test cases for a coke vending (ATM) machine.
0 Answers HPCL, Hughes Systique Corporation,
System testing is the phase where: ______________________. 1. Whole system is tested by testers 2. Whole system is testes by users 3. A particular module is been tested by the testers 4.A particular module is been tested by the users
What is the model which you follow in your project? Explain it.
what is the diff between test strategy & test methodology?
what would be the test plan for agile testing??
What is a database administrator?
What is CDB?
Does anyone have a solution for this?
Which types are testing are important for web testing?