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

Explain step generator in qtp?

637


If I give some thousand tests to execute in two days what do you do?

572


What is different command used in command Prompt while using QTP?

1735


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

569


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1413






In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

554


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1498


What is the difference between the design-time and run-time data tables?

551


what is the frame work in J-meter?

1588


hou can we use vb script in qtp could u tell me breafly

1728


What is the difference between Keyword Driven test and Data Driven test?

1767


How to find the length of the string in qtp?

572


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

576


How you can delete excel file in qtp?

587


how to explain a claims and insurance project?

1742