how to write vbscript on web applications in qtp. explian
with one example?

Answer Posted / ajreddy

Hi
Using Vb script language u can write scripts in Descriptive
programing

Example u want to open Gmail acoount for that script is

systemutil.run "www.google.com"

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain measuring transaction.

577


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2778


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1536


What is the parameterization? Give one example?

582


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1423






hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1307


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1358


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1336


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

536


What is recovery scenario in qtp?

572


What is the default add-ins in qtp?

548


Is it possible to use two instances of UFT on the same machine? If not why?

586


What the differences are and best practical application of Object Repository?

579


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1511


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

2303