Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

you written some code in qtp for opening google.com browser
and entered some text inthe search text box and clicked
search button. this is ur script..

before running this script i have already opened two
google.com browsers.
now am running the script what will happen?
script will run or what??

Thanks...
Nani

Answer Posted / rajendra prasad reddy

Yes Nani even if u opend google the browser,if run another
script,script will open another web page and performs
wat ever u wrote in that script.

For example i am providing a script for opening a
google.co.in web page and seraching for 'search' on goolge.
Code:

Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://www.google.co.in"
IE.Visible = True
Wscript.Sleep 8000
IE.Document.All.Item("q").Value = "serach"
IE.Document.All.Item("f").submit()

Copy above code in notepad abd save it serach.vbs on desk
top.

then click on file after saving it desk top.

this scripts runs and opens goog.co.in web page.
if u click once again it will open again a web page.

If u have any doubt please mail me

byee
Rajendra Prasad Reddy
rajendra_penumalli@yahoo.com
Test engineer
Hyderabad

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check which add-ins are associated with a test in qtp?

1164


If I change the property value at runtime is it effect is object repository?

1139


How can i check items sorted or not in a weblist ? Give me the script for this...

2070


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

2156


How many add-ins comes by default with quicktest professional (qtp)?

1070


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

2251


Is it possible to split an action? How?

1162


What is recovery scenario in qtp?

1041


Explain building blocks of the bpt framework ?

1184


What is ‘object spy’ and what is the function of object spy in qtp?

1173


When using descriptive programming?

1140


Can anybody post some real time scenario in qtp? please its very urgent.

2329


How to handle the exceptions using the recovery scenario manager in qtp?

1092


How to write business scripts using object repository with different scenarios

1977


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1855