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 static analyzer?

0 Answers  


What is test plan and explain its contents?

2 Answers   TCS,


Explain testing?

0 Answers  


How to hack someone's yahoo or gmail account? what can be the test cases for the same.

0 Answers   Zycus Infotech,


Hi can anyone guide me regarding how the interview procedures will be in exterro Inc, Coimbatore

0 Answers  


What is PMRS?

1 Answers  


Which table achieves data from landing table?

3 Answers   CTS,


What is a vertical microinstruction?

0 Answers  


I am searching for job in s/w Testing. I completed the course, and hav 6 months exp as a Trainee Tester. I hv registered in all possible job-portals. But am nt gettin the response for that, instead i'm getting responses for my previous experience.(fyi: this is a shift in career. Earlier i worked in an international call center, which in fact was a diversion from my career). Can u giv me some suggestions as to hw to proceed? i am thinking of trying thru consultancies (i'm from Bangalore). Is there some things which i need to look out for? Plz guide me, in case i miss out on some important things. Thnx for all answers.

0 Answers  


What is api (application programming interface)?

0 Answers  


What is the model which you follow in your project? Explain it.

2 Answers   Cap Gemini,


can anyone tell where can i get coaching for visual studio test tool. post ans either here r send mail to nemsivaramy@gmail.com

2 Answers  


Categories